summaryrefslogtreecommitdiff
path: root/games/trackballs/trackballs.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-10-02 16:05:44 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-08 08:07:39 +0700
commit60de9e893c0928be5936e1cacd8f3c34491f9374 (patch)
tree08d3a50bd068577604089b6941e8c00bb3cebdf8 /games/trackballs/trackballs.SlackBuild
parent3d675542259b7125f0adf5caecbea3a07fdd65db (diff)
downloadslackbuilds-60de9e893c0928be5936e1cacd8f3c34491f9374.tar.gz
games/trackballs: Install icons correctly.
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 eee2b17dfd..8ef5025219 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