audio/sunvox: Updated for version 2.1c.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fuzzix 2023-04-21 21:40:52 +01:00 committed by Willy Sudiarto Raharjo
parent 051022296b
commit 0a3eede3b9
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 12 additions and 10 deletions

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sunvox PRGNAM=sunvox
VERSION=${VERSION:-1.9.6} VERSION=${VERSION:-2.1c}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then if [ -z "$ARCH" ]; then
case "$( uname -m )" in case "$( uname -m )" in
i?86) ARCH=i586 ;; i?86) ARCH=i586 ;;
arm*) ARCH=arm ;; # arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;; *) ARCH=$( uname -m ) ;;
esac esac
fi fi
@ -58,7 +58,7 @@ install -d ${PKG}/usr/{bin,doc,share/{${PRGNAM}/instruments/,${PRGNAM}/effects/,
cd $TMP cd $TMP
rm -rf $PRGNAM rm -rf $PRGNAM
unzip $CWD/$PRGNAM-${VERSION}c.zip unzip $CWD/$PRGNAM-${VERSION}.zip
cd $PRGNAM cd $PRGNAM
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -72,10 +72,12 @@ BINDIR="$TMP/$PRGNAM/$PRGNAM/linux_x86/"
[ $ARCH == 'arm' ] && BINDIR="$TMP/$PRGNAM/$PRGNAM/raspberry_pi/" [ $ARCH == 'arm' ] && BINDIR="$TMP/$PRGNAM/$PRGNAM/raspberry_pi/"
install -Dm755 $BINDIR/${PRGNAM}* $PKG/usr/bin/ install -Dm755 $BINDIR/${PRGNAM}* $PKG/usr/bin/
if [ $ARCH == 'arm' ]; then
install -dm755 $PKG/lib/ # I think this was a sketchy move to begin with ... but I no longer have Slackware on ARM to test it. Thoughts?
ln -s ld-linux.so.3 $PKG/lib/ld-linux-armhf.so.3 #if [ $ARCH == 'arm' ]; then
fi # install -dm755 $PKG/lib/
# ln -s ld-linux.so.3 $PKG/lib/ld-linux-armhf.so.3
#fi
install -Dm644 $CWD/sunvox.desktop $PKG/usr/share/applications/ install -Dm644 $CWD/sunvox.desktop $PKG/usr/share/applications/
install -Dm644 $CWD/sunvox.png $PKG/usr/share/sunvox/icon/ install -Dm644 $CWD/sunvox.png $PKG/usr/share/sunvox/icon/

View file

@ -1,8 +1,8 @@
PRGNAM="sunvox" PRGNAM="sunvox"
VERSION="1.9.6" VERSION="2.1c"
HOMEPAGE="https://www.warmplace.ru/soft/sunvox/" HOMEPAGE="https://www.warmplace.ru/soft/sunvox/"
DOWNLOAD="https://www.warmplace.ru/soft/sunvox/sunvox-1.9.6c.zip" DOWNLOAD="https://www.warmplace.ru/soft/sunvox/sunvox-2.1c.zip"
MD5SUM="65c67faf242cdaed46e27bf311def60d" MD5SUM="bcba6a600b9f5574004d566a1a5b69d9"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""