aboutsummaryrefslogtreecommitdiff
path: root/audio/sunvox/sunvox.SlackBuild
diff options
context:
space:
mode:
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 80d81752404b..035fc7a3c895 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