audio/sunvox: Updated for version 1.7.4b.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fuzzix 2014-02-20 12:05:45 +07:00 committed by Erik Hanson
parent bebff13a71
commit d712c1cd56
3 changed files with 14 additions and 13 deletions

View file

@ -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/

View file

@ -6,4 +6,4 @@ Comment=A small, fast and powerful modular synthesizer with pattern based sequen
Exec=sunvox
Icon=/usr/share/sunvox/icon/sunvox.png
Terminal=false
Categories=AudioVideo;Player;
Categories=SDL;AudioVideo;Player;

View file

@ -1,10 +1,10 @@
PRGNAM="sunvox"
VERSION="1.7.3c"
VERSION="1.7.4b"
HOMEPAGE="http://www.warmplace.ru/soft/sunvox/"
DOWNLOAD="http://www.warmplace.ru/soft/sunvox/sunvox-1.7.3c.zip"
MD5SUM="fbe9c17a3a90e208a656b642883645f4"
DOWNLOAD="http://www.warmplace.ru/soft/sunvox/sunvox-1.7.4b.zip"
MD5SUM="11e4ae928b4c999cb8c5b22df9df6f5c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="fuzzix"
EMAIL="fuzzix@gmail.com"
EMAIL="fuzzix@fuzzix.org"