diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2013-11-11 23:03:06 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-12 01:24:50 -0600 |
commit | f0ff66705506ea910c88435d89092fc5becb47a0 (patch) | |
tree | a5f051bab268591bdc5b1a80f21587f8eda94735 /games/pingus/pingus.SlackBuild | |
parent | 545781f4135c75b1b022d1f25a3359735e73bb08 (diff) | |
download | slackbuilds-f0ff66705506ea910c88435d89092fc5becb47a0.tar.gz |
games/pingus: Updated for version 0.7.6.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
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 3a810953b0..4a7df12af0 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 |