summaryrefslogtreecommitdiff
path: root/games/dgen/dgen.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/dgen/dgen.SlackBuild')
-rw-r--r--games/dgen/dgen.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/games/dgen/dgen.SlackBuild b/games/dgen/dgen.SlackBuild
index f977afc2e1..edd1071b79 100644
--- a/games/dgen/dgen.SlackBuild
+++ b/games/dgen/dgen.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for dgen
-# Copyright 2012 Carlos Corbacho <carlos@strangeworlds.co.uk>
+# Copyright 2012, 2014 Carlos Corbacho <carlos@strangeworlds.co.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=dgen
SRCNAM=dgen-sdl
-VERSION=${VERSION:-1.31}
+VERSION=${VERSION:-1.33}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,10 +65,10 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -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 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -94,9 +94,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
# Copy program documentation into the package
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS BUGS COPYING ChangeLog NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS BUGS COPYING ChangeLog README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install