diff options
-rw-r--r-- | games/trackballs/README | 6 | ||||
-rw-r--r-- | games/trackballs/doinst.sh | 5 | ||||
-rw-r--r-- | games/trackballs/slack-desc | 6 | ||||
-rw-r--r-- | games/trackballs/trackballs.SlackBuild | 9 |
4 files changed, 16 insertions, 10 deletions
diff --git a/games/trackballs/README b/games/trackballs/README index 8eb3de525f511..497414136d078 100644 --- a/games/trackballs/README +++ b/games/trackballs/README @@ -1,10 +1,10 @@ Trackballs is a marble game inspired by the 80s Atari classic Marble Madness. -By steering a marble ball through a labyrinth filled with sharp objecs, -pools of acid, and other obstacles the player collects points. When +By steering a marble ball through a labyrinth filled with sharp objects, +pools of acid, and other obstacles, the player collects points. When the destination is reached you continue on to the next, more difficult -level. - unless the time runs out. +level... unless the time runs out. This Slackware package can include the music and/or extra levels available at the trackballs home page: http://trackballs.sourceforge.net diff --git a/games/trackballs/doinst.sh b/games/trackballs/doinst.sh index 4e8ba7071dea7..3e5691a052b5b 100644 --- a/games/trackballs/doinst.sh +++ b/games/trackballs/doinst.sh @@ -2,3 +2,8 @@ if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 fi +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/games/trackballs/slack-desc b/games/trackballs/slack-desc index 3017f2f93fae5..95df12983afae 100644 --- a/games/trackballs/slack-desc +++ b/games/trackballs/slack-desc @@ -8,12 +8,12 @@ |-----handy-ruler------------------------------------------------------| trackballs: trackballs (marble game) trackballs: -trackballs: Trackballs is a marble game inspired by the 80's Atari classic +trackballs: Trackballs is a marble game inspired by the 80s Atari classic trackballs: Marble Madness. trackballs: trackballs: By steering a marble ball through a labyrinth filled with sharp -trackballs: objects, pools of acid, and other obstacles the player collects +trackballs: objects, pools of acid, and other obstacles, the player collects trackballs: points. When the destination is reached you continue on to the -trackballs: next, more difficult level. - unless the time runs out. +trackballs: next, more difficult level... unless the time runs out. trackballs: trackballs: diff --git a/games/trackballs/trackballs.SlackBuild b/games/trackballs/trackballs.SlackBuild index eee2b17dfd2e4..8ef5025219cb2 100644 --- a/games/trackballs/trackballs.SlackBuild +++ b/games/trackballs/trackballs.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=trackballs VERSION=${VERSION:-1.1.4} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -60,6 +60,9 @@ find -L . \ # another to fix "Esc" behaviour for i in $CWD/patches/* ; do patch -p1 < $i ; done +# Make icons honor DESTDIR (thanks to Johannes for this fix) +sed -i 's/ $(iconsdir)/ $(DESTDIR)$(iconsdir)/g' share/icons/Makefile.in + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -76,9 +79,7 @@ make install-strip DESTDIR=$PKG gzip $PKG/usr/man/man6/$PRGNAM.6 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html -cp -a \ - README AUTHORS COPYING ChangeLog FAQ TODO \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a 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 |