summaryrefslogtreecommitdiffstats
path: root/games/angband
diff options
context:
space:
mode:
author David Melik <dchmelik@gmail.com>2022-03-30 15:16:24 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-02 18:19:15 +0700
commit4ded72f58588578d719552b321340a4c80aa3e95 (patch)
tree794cc6c3470480380f3af6d19742c2dfe6e57434 /games/angband
parent7d268e6b5d9fcb541ee3e79016af1da02b719128 (diff)
downloadslackbuilds-4ded72f58588578d719552b321340a4c80aa3e95.tar.gz
slackbuilds-4ded72f58588578d719552b321340a4c80aa3e95.tar.xz
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')
-rw-r--r--games/angband/angband.SlackBuild10
-rw-r--r--games/angband/angband.info6
2 files changed, 7 insertions, 9 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 \
diff --git a/games/angband/angband.info b/games/angband/angband.info
index 6779019cbe..eac138e869 100644
--- a/games/angband/angband.info
+++ b/games/angband/angband.info
@@ -1,8 +1,8 @@
PRGNAM="angband"
-VERSION="4.2.1"
+VERSION="4.2.4"
HOMEPAGE="http://www.rephial.org/"
-DOWNLOAD="http://distfiles.macports.org/angband/angband-4.2.1.tar.gz"
-MD5SUM="4538a8e34673cef9da1f11b6abda3f5e"
+DOWNLOAD="https://github.com/angband/angband/releases/download/4.2.4/Angband-4.2.4.tar.gz"
+MD5SUM="ce3a6777a4c62e2fc3ad9c3d4f96468c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""