summaryrefslogtreecommitdiff
path: root/games/angband/angband.SlackBuild
diff options
context:
space:
mode:
authorDavid Melik <dchmelik@gmail.com>2022-03-30 15:16:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:15 +0700
commit4ded72f58588578d719552b321340a4c80aa3e95 (patch)
tree794cc6c3470480380f3af6d19742c2dfe6e57434 /games/angband/angband.SlackBuild
parent7d268e6b5d9fcb541ee3e79016af1da02b719128 (diff)
downloadslackbuilds-4ded72f58588578d719552b321340a4c80aa3e95.tar.gz
games/angband: Updated for version 4.2.4.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \