diff options
Diffstat (limited to 'games/pingus/pingus.SlackBuild')
-rw-r--r-- | games/pingus/pingus.SlackBuild | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/games/pingus/pingus.SlackBuild b/games/pingus/pingus.SlackBuild index 3a810953b041..4a7df12af04d 100644 --- a/games/pingus/pingus.SlackBuild +++ b/games/pingus/pingus.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for pingus -# Copyright 2007-2010 Heinz Wiesinger, Amsterdam, The Netherlands +# Copyright 2007-2013 Heinz Wiesinger, Amsterdam, The Netherlands # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pingus -VERSION=0.7.3 +VERSION=0.7.6 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -65,15 +65,24 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . +mkdir -p build + scons \ CCFLAGS="$SLKCFLAGS" \ - CPPFLAGS="$SLKCFLAGS" \ + src + +scons \ + CCFLAGS="$SLKCFLAGS" -./install.sh $PKG/usr +make \ + PREFIX=/usr \ + DATADIR=/usr/share/pingus \ + MANDIR=/usr/man/ \ + DESTDIR=$PKG \ + install -mkdir -p $PKG/usr/share/{applications,pixmaps} $PKG/usr/man/man6 -install -p -m 0644 doc/pingus.6 $PKG/usr/man/man6/ -install -m 0644 $CWD/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png +mkdir -p $PKG/usr/share/{applications,pixmaps} +install -m 0644 data/images/icons/pingus.svg $PKG/usr/share/pixmaps/ install -m 0644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ @@ -82,7 +91,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG/usr/man -type f -exec gzip -9 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog COPYING INSTALL.unix NEWS README TODO \ +cp -a AUTHORS COPYING INSTALL.unix NEWS README TODO VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |