From 60de9e893c0928be5936e1cacd8f3c34491f9374 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 2 Oct 2016 16:05:44 -0400 Subject: games/trackballs: Install icons correctly. --- games/trackballs/trackballs.SlackBuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'games/trackballs/trackballs.SlackBuild') 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 -- cgit v1.2.3