aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/angband/angband.SlackBuild17
-rw-r--r--games/angband/angband.info6
2 files changed, 9 insertions, 14 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild
index 3cba01d890af..8387862ec23a 100644
--- a/games/angband/angband.SlackBuild
+++ b/games/angband/angband.SlackBuild
@@ -6,7 +6,7 @@
# Heavily edited and currently maintained by David Melik (dchmelik@gmail.com)
PRGNAM=angband
-VERSION=v3.3.2
+VERSION=v3.4.1
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
@@ -48,14 +48,13 @@ cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
-# --enable-gtk and setgid are incompatible, so we'll not build the gtk part
CFLAGS="$SLKCFLAGS" \
LDFLAGS="-lSDL" \
./configure \
--prefix=/usr \
- --with-libpath=/usr/share/games/angband \
- --with-configpath=/etc/angband \
- --with-varpath=/var/games/angband \
+ --datarootdir=/usr/share/games \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
--bindir=/usr/games \
--with-setgid=games \
--build=$ARCH-slackware-linux \
@@ -66,16 +65,12 @@ make install DESTDIR=$PKG
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
-# We'll kill the "delete.me" files in the package; probably these are left so
-# that lesser package management tools don't choke on empty directories
find $PKG -name "delete.me" -exec rm -f {} \;
-# Now let's prevent upgrades from clobbering any existing datafiles
-# We'll handle these in doinst.sh
for i in \
artifact ego_item flavor hints limits monster monster_base names object \
object_base p_class p_hist p_race pain pit shop_own spell store terrain \
- vault ;
+ vault ;
do mv $PKG/etc/angband/edit/$i.txt \
$PKG/etc/angband/edit/$i.txt.new ;
done
@@ -90,7 +85,7 @@ cp -a \
$PKG/usr/doc/$PRGNAM-$VERSION
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-rm -f $PKG/usr/doc/$PRGNAM-$VERSION/help/.depend*
+rm -f $PKG/usr/doc/$PRGNAM-$VERSION/help/.dep*
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/games/angband/angband.info b/games/angband/angband.info
index ab24885303d9..471d821fb05f 100644
--- a/games/angband/angband.info
+++ b/games/angband/angband.info
@@ -1,8 +1,8 @@
PRGNAM="angband"
-VERSION="v3.3.2"
+VERSION="v3.4.1"
HOMEPAGE="http://www.rephial.org/"
-DOWNLOAD="http://rephial.org/downloads/3.3/angband-v3.3.2.tar.gz"
-MD5SUM="76bb1cac39e8f3d1146bac5ff561fc3a"
+DOWNLOAD="http://rephial.org/downloads/3.4/angband-v3.4.1.tar.gz"
+MD5SUM="3ea22e5caabc3de7b49bac13ba922a8c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""