summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/sunvox/sunvox.SlackBuild18
-rw-r--r--audio/sunvox/sunvox.info6
2 files changed, 15 insertions, 9 deletions
diff --git a/audio/sunvox/sunvox.SlackBuild b/audio/sunvox/sunvox.SlackBuild
index c879a60e22..80d8175240 100644
--- a/audio/sunvox/sunvox.SlackBuild
+++ b/audio/sunvox/sunvox.SlackBuild
@@ -23,15 +23,15 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sunvox
-VERSION=${VERSION:-1.7.4b}
+VERSION=${VERSION:-1.7.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
- arm*) ARCH=arm ; exit 1 ;;
- *) ARCH=$( uname -m ) ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
esac
fi
@@ -55,14 +55,18 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
BINDIR="$TMP/$PRGNAM/$PRGNAM/linux_x86/"
[ $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/
+if [ $ARCH == 'arm' ]; then
+ install -Dm755 $BINDIR/${PRGNAM}_lofi $PKG/usr/bin/
+ 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.png $PKG/usr/share/sunvox/icon/
@@ -73,8 +77,10 @@ for dir in instruments examples docs ; do
find . -type f -exec install -Dm644 {,"$PKG/usr/share/$PRGNAM/${dir}/"}{} \;
done
-ln -s ../share/$PRGNAM/docs/ $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
+mv ../docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+rm -rf $PKG/usr/share/$PRGNAM/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/audio/sunvox/sunvox.info b/audio/sunvox/sunvox.info
index 8b42601c36..f62854c79a 100644
--- a/audio/sunvox/sunvox.info
+++ b/audio/sunvox/sunvox.info
@@ -1,8 +1,8 @@
PRGNAM="sunvox"
-VERSION="1.7.4b"
+VERSION="1.7.5"
HOMEPAGE="http://www.warmplace.ru/soft/sunvox/"
-DOWNLOAD="http://www.warmplace.ru/soft/sunvox/sunvox-1.7.4b.zip"
-MD5SUM="69b5138413663ebbe96697942502ceb1"
+DOWNLOAD="http://www.warmplace.ru/soft/sunvox/sunvox-1.7.5.zip"
+MD5SUM="2b22007d9ae86b125360566f9608ddfa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""