diff options
Diffstat (limited to 'audio/sunvox/sunvox.SlackBuild')
-rw-r--r-- | audio/sunvox/sunvox.SlackBuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/audio/sunvox/sunvox.SlackBuild b/audio/sunvox/sunvox.SlackBuild index b38b5bcfa3..c879a60e22 100644 --- a/audio/sunvox/sunvox.SlackBuild +++ b/audio/sunvox/sunvox.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for Sunvox -# Copyright 2013 fuzzix <fuzzix@gmail.com> +# Copyright 2014 fuzzix <fuzzix@fuzzix.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,14 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sunvox -VERSION=${VERSION:-1.7.3c} +VERSION=${VERSION:-1.7.4b} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; - arm*) echo "No ARM build available, sorry" ; exit 1 ;; + arm*) ARCH=arm ; exit 1 ;; *) ARCH=$( uname -m ) ;; esac fi @@ -52,16 +52,17 @@ unzip $CWD/$PRGNAM-$VERSION.zip cd $PRGNAM chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; BINDIR="$TMP/$PRGNAM/$PRGNAM/linux_x86/" -install -Dm755 $BINDIR/${PRGNAM}_lofi $PKG/usr/bin/ [ $ARCH == 'x86_64' ] && BINDIR="$TMP/$PRGNAM/$PRGNAM/linux_x86_64/" +[ $ARCH == 'arm' ] && BINDIR="$TMP/$PRGNAM/$PRGNAM/raspberry_pi/" install -Dm755 $BINDIR/${PRGNAM} $PKG/usr/bin/ +[ $ARCH == 'arm' ] && install -Dm755 $BINDIR/${PRGNAM}_lofi $PKG/usr/bin/ install -Dm644 $CWD/sunvox.desktop $PKG/usr/share/applications/ install -Dm644 $CWD/sunvox.png $PKG/usr/share/sunvox/icon/ |