aboutsummaryrefslogtreecommitdiff
path: root/audio/chuck/chuck.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 16:13:49 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2016-01-07 16:13:49 +0000
commited07e52e7dc856efd0e0bb552bbe1c6625ae8233 (patch)
tree4916efb9fa28a7f81c0ac6d891e3a64d0ac0b58f /audio/chuck/chuck.SlackBuild
parent48ac60b625dcef431516b5abf14445d0a2d3611f (diff)
audio/chuck: Fix file ownership.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'audio/chuck/chuck.SlackBuild')
-rw-r--r--audio/chuck/chuck.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/chuck/chuck.SlackBuild b/audio/chuck/chuck.SlackBuild
index fb05b8d2732d..2263d8b32754 100644
--- a/audio/chuck/chuck.SlackBuild
+++ b/audio/chuck/chuck.SlackBuild
@@ -44,7 +44,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
-cd $PRGNAM-$VERSION/src
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,6 +52,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+cd src
+
# Set our CFLAGS
sed -i "s|-O3|$SLKCFLAGS|" makefile*