summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-11-16 22:34:56 +0100
committerMatteo Bernardini <ponce@slackbuilds.org>2013-11-16 22:34:56 +0100
commit76888c89d82d91212b6a5f86d4c828b7861ff90a (patch)
treed36e57e0179e554c2d8886d35d15b310a52955a4 /games
parent0b1e0656f46748c57718d3a597c4ac6840547a53 (diff)
downloadslackbuilds-76888c89d82d91212b6a5f86d4c828b7861ff90a.tar.gz
games/puzzles: Updated for subversion revision 10060.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/puzzles/puzzles.SlackBuild20
-rw-r--r--games/puzzles/puzzles.info6
2 files changed, 16 insertions, 10 deletions
diff --git a/games/puzzles/puzzles.SlackBuild b/games/puzzles/puzzles.SlackBuild
index 49dbd8f6a9..0ed22e8ab8 100644
--- a/games/puzzles/puzzles.SlackBuild
+++ b/games/puzzles/puzzles.SlackBuild
@@ -4,7 +4,7 @@
# Written by Steve Pledger <spledger91@yahoo.com>
PRGNAM=puzzles
-VERSION=${VERSION:-r9660}
+VERSION=${VERSION:-r10060}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +44,13 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
-find . \
- \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+ln -s Makefile.gtk Makefile
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -57,12 +59,16 @@ make
mkdir -p $PKG/usr/games
make install prefix=/usr DESTDIR=$PKG
+# Rename binaries overlapping with other stuff
+( cd $PKG/usr/games
+ for i in blackbox net untangle; do mv $i $i.puzzle ; done )
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- HACKING LICENCE README \
+ CHECKLST.txt LICENCE README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/games/puzzles/puzzles.info b/games/puzzles/puzzles.info
index fa0fde9383..e076fd9ce2 100644
--- a/games/puzzles/puzzles.info
+++ b/games/puzzles/puzzles.info
@@ -1,8 +1,8 @@
PRGNAM="puzzles"
-VERSION="r9660"
+VERSION="r10060"
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/puzzles-r9660.tar.xz"
-MD5SUM="9622a7284496914473cf708899abf87e"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/puzzles-r10060.tar.xz"
+MD5SUM="10f83ca6989521b67cff56756805a5aa"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""