summaryrefslogtreecommitdiffstats
path: root/games/angband/angband.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/angband/angband.SlackBuild')
-rw-r--r--games/angband/angband.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild
index f8eff2c5ca..0887524053 100644
--- a/games/angband/angband.SlackBuild
+++ b/games/angband/angband.SlackBuild
@@ -32,7 +32,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=angband
-VERSION=${VERSION:-4.2.1}
+VERSION=${VERSION:-4.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,8 +74,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$VERSION
+tar xvf $CWD/Angband-$VERSION.tar.gz
+cd Angband-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -83,11 +83,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
-./autogen.sh
-
CFLAGS="$SLKCFLAGS" \
./configure \
- --enable-sdl \
+ --enable-sdl2 \
--prefix=/usr \
--datarootdir=/usr/share/games \
--sysconfdir=/etc \