aboutsummaryrefslogtreecommitdiff
path: root/audio/chuck/chuck.SlackBuild
diff options
context:
space:
mode:
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 fb05b8d2732d8..2263d8b327547 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*