summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author Erik Hanson <erik@slackbuilds.org>2010-05-11 19:44:43 +0200
committer Erik Hanson <erik@slackbuilds.org>2010-05-11 19:44:43 +0200
commit9ddf6c87b982b78edd2c3413d685ab31305e7bee (patch)
treefe498929d2109a2e867c97b2dde30dd2c0cd7ead /games
parente3986f187e454d93409fa3cf2b2f8f7e0be4747d (diff)
downloadslackbuilds-9ddf6c87b982b78edd2c3413d685ab31305e7bee.tar.gz
slackbuilds-9ddf6c87b982b78edd2c3413d685ab31305e7bee.tar.xz
games/tuxpuck: Updated for version 0.8.2
Diffstat (limited to 'games')
-rw-r--r--games/tuxpuck/README1
-rw-r--r--games/tuxpuck/slack-desc10
-rw-r--r--games/tuxpuck/tuxpuck.SlackBuild8
-rw-r--r--games/tuxpuck/tuxpuck.info2
4 files changed, 15 insertions, 6 deletions
diff --git a/games/tuxpuck/README b/games/tuxpuck/README
index 147e92e6eb..ab7db8c856 100644
--- a/games/tuxpuck/README
+++ b/games/tuxpuck/README
@@ -4,4 +4,3 @@ Tuxpuck is a clone of the Amiga/AtariST game "Shufflepuck Cafe"
It is written in C and uses SDL. The player moves a pad around
a board and tries to shoot down the puck through the opponents
defense.
-
diff --git a/games/tuxpuck/slack-desc b/games/tuxpuck/slack-desc
index 7a329ca6a7..7488999349 100644
--- a/games/tuxpuck/slack-desc
+++ b/games/tuxpuck/slack-desc
@@ -1,4 +1,12 @@
-tuxpuck: Tuxpuck - Airhockey with a Twist
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+tuxpuck: Tuxpuck (Airhockey with a Twist)
tuxpuck:
tuxpuck: Tuxpuck is a clone of the Amiga/AtariST game "Shufflepuck Cafe"
tuxpuck: It is written in C and uses SDL. The player moves a pad around
diff --git a/games/tuxpuck/tuxpuck.SlackBuild b/games/tuxpuck/tuxpuck.SlackBuild
index 6a8b739199..3493bcd53b 100644
--- a/games/tuxpuck/tuxpuck.SlackBuild
+++ b/games/tuxpuck/tuxpuck.SlackBuild
@@ -10,7 +10,7 @@ VERSION=0.8.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-CWD=`pwd`
+CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -33,8 +33,10 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" make || exit 1
make install DESTDIR=$PKG || exit 1
-find $PKG | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-find $PKG | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp COPYING readme.txt $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/games/tuxpuck/tuxpuck.info b/games/tuxpuck/tuxpuck.info
index c6ae510ad1..f2f0682bf3 100644
--- a/games/tuxpuck/tuxpuck.info
+++ b/games/tuxpuck/tuxpuck.info
@@ -5,4 +5,4 @@ DOWNLOAD="http://home.no.net/munsuun/tuxpuck/files/tuxpuck-0.8.2.tar.gz"
MD5SUM="fc839abc2b1f3eafae397e1ed6487079"
MAINTAINER="Erik Hanson"
EMAIL="erik@slackbuilds.org"
-APPROVED="elohim,robw810"
+APPROVED="elohim,rworkman"