summaryrefslogtreecommitdiff
path: root/audio/flake
diff options
context:
space:
mode:
authorSebastien BALLET <slacker6896@gmail.com>2017-07-15 07:06:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-15 07:06:29 +0700
commitbaa7198bd9aed3cf84599edae81a4546f47c6bb4 (patch)
treed4324f613243e2a2fc41ac3779bc53f0013f861e /audio/flake
parent9ab7a55f97deff860f93be994ed5c63605a6a218 (diff)
downloadslackbuilds-baa7198bd9aed3cf84599edae81a4546f47c6bb4.tar.gz
audio/flake: Fix ownership.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/flake')
-rw-r--r--audio/flake/flake.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/flake/flake.SlackBuild b/audio/flake/flake.SlackBuild
index 7fde646799..3ab56c525c 100644
--- a/audio/flake/flake.SlackBuild
+++ b/audio/flake/flake.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,7 +40,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -84,7 +84,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/man/man1
-cp -a $CWD/flake.1 $PKG/usr/man/man1
+cp $CWD/flake.1 $PKG/usr/man/man1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done