summaryrefslogtreecommitdiff
path: root/games/trackballs/trackballs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/trackballs/trackballs.SlackBuild')
-rw-r--r--games/trackballs/trackballs.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild
index a116cc9c16..2f846b94ef 100644
--- a/games/trackballs/trackballs.SlackBuild
+++ b/games/trackballs/trackballs.SlackBuild
@@ -5,7 +5,7 @@
# Written by B. Watson (yalhcru@gmail.com)
PRGNAM=trackballs
-VERSION=${VERSION:-1.1.2}
+VERSION=${VERSION:-1.1.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,10 +71,11 @@ make install-strip DESTDIR=$PKG
gzip $PKG/usr/man/man6/$PRGNAM.6
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html
cp -a \
- README README.html AUTHORS COPYING ChangeLog FAQ TODO *.jpg \
+ README AUTHORS COPYING ChangeLog FAQ TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
+cp -a docs/*.html $PKG/usr/doc/$PRGNAM-$VERSION/html
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/usr/share/applications
@@ -88,7 +89,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
# Include the music, if we find the music tarball
-MUSICFILE=$CWD/$PRGNAM-music-${MUSICVER}.tar.${MUSICEXT}
+MUSICFILE=$CWD/$PRGNAM-music-${MUSICVER}.tar.${MUSICEXT}
if [ -e "$MUSICFILE" ]; then
tar xvf "$MUSICFILE"
chown root:root $PRGNAM-music/*.ogg