aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@slackbuilds.org>2013-11-11 23:03:06 +0100
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:24:50 -0600
commitf0ff66705506ea910c88435d89092fc5becb47a0 (patch)
treea5f051bab268591bdc5b1a80f21587f8eda94735
parent545781f4135c75b1b022d1f25a3359735e73bb08 (diff)
games/pingus: Updated for version 0.7.6.
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
-rw-r--r--games/pingus/pingus.SlackBuild25
-rw-r--r--games/pingus/pingus.desktop2
-rw-r--r--games/pingus/pingus.info8
-rw-r--r--games/pingus/pingus.pngbin887 -> 0 bytes
4 files changed, 22 insertions, 13 deletions
diff --git a/games/pingus/pingus.SlackBuild b/games/pingus/pingus.SlackBuild
index 3a810953b041c..4a7df12af04dc 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
diff --git a/games/pingus/pingus.desktop b/games/pingus/pingus.desktop
index 918f7c23aed46..62af46fb71470 100644
--- a/games/pingus/pingus.desktop
+++ b/games/pingus/pingus.desktop
@@ -3,7 +3,7 @@ Encoding=UTF-8
Name=Pingus
Comment=Guide the penguins safely home before they drop of the cliff
Exec=pingus -f
-Icon=pingus.png
+Icon=pingus.svg
Terminal=false
StartupNotify=false
Type=Application
diff --git a/games/pingus/pingus.info b/games/pingus/pingus.info
index 0adc45bfdd3c5..d9b65dfcc5665 100644
--- a/games/pingus/pingus.info
+++ b/games/pingus/pingus.info
@@ -1,10 +1,10 @@
PRGNAM="pingus"
-VERSION="0.7.3"
+VERSION="0.7.6"
HOMEPAGE="http://pingus.seul.org/"
-DOWNLOAD="http://pingus.seul.org/files/pingus-0.7.3.tar.bz2"
-MD5SUM="7d1a0b0d658cc46dd09d6274f39acc7d"
+DOWNLOAD="http://pingus.googlecode.com/files/pingus-0.7.6.tar.bz2"
+MD5SUM="561798686f34d3fa4e69135d655f47ac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="physfs scons"
+REQUIRES="scons"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
diff --git a/games/pingus/pingus.png b/games/pingus/pingus.png
deleted file mode 100644
index 4dbcefab964ba..0000000000000
--- a/games/pingus/pingus.png
+++ /dev/null
Binary files differ