summaryrefslogtreecommitdiff
path: root/audio/sunvox/sunvox.SlackBuild
diff options
context:
space:
mode:
authorfuzzix <fuzzix@fuzzix.org>2014-11-22 01:03:15 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-11-22 01:03:15 +0700
commita2a9c17e860b084e95d6b66e04e60357bb635fca (patch)
treed3b2b217e079b496f5d14215a5efa13e32c0ed1b /audio/sunvox/sunvox.SlackBuild
parentbe407b9e4d7953878309b6a58c66f0fcddc98f6e (diff)
downloadslackbuilds-a2a9c17e860b084e95d6b66e04e60357bb635fca.tar.gz
audio/sunvox: Updated for version 1.8.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/sunvox/sunvox.SlackBuild')
-rw-r--r--audio/sunvox/sunvox.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/audio/sunvox/sunvox.SlackBuild b/audio/sunvox/sunvox.SlackBuild
index 80d8175240..035fc7a3c8 100644
--- a/audio/sunvox/sunvox.SlackBuild
+++ b/audio/sunvox/sunvox.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sunvox
-VERSION=${VERSION:-1.7.5}
+VERSION=${VERSION:-1.8}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,7 @@ BINDIR="$TMP/$PRGNAM/$PRGNAM/linux_x86/"
install -Dm755 $BINDIR/${PRGNAM} $PKG/usr/bin/
if [ $ARCH == 'arm' ]; then
- install -Dm755 $BINDIR/${PRGNAM}_lofi $PKG/usr/bin/
+ install -Dm755 $BINDIR/${PRGNAM}* $PKG/usr/bin/
install -dm755 $PKG/lib/
ln -s ld-linux.so.3 $PKG/lib/ld-linux-armhf.so.3
fi
@@ -77,10 +77,8 @@ for dir in instruments examples docs ; do
find . -type f -exec install -Dm644 {,"$PKG/usr/share/$PRGNAM/${dir}/"}{} \;
done
-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
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/share/$PRGNAM/docs/$PRGNAM.SlackBuild
+ln -s ../share/$PRGNAM/docs/ $PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc