diff options
author | David Melik <dchmelik@gmail.com> | 2012-12-16 17:42:32 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-23 09:16:17 -0500 |
commit | ccd0cf8537d77b54cc757f715ef5cc3c31389eec (patch) | |
tree | 2a1b8593cf24012e2998972f0bcb06f6f43e7bcc /games/angband/angband.SlackBuild | |
parent | 11871423b690b0184925c33b2cb5be7215baccb1 (diff) |
games/angband: Updated for version v3.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'games/angband/angband.SlackBuild')
-rw-r--r-- | games/angband/angband.SlackBuild | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild index 3cba01d890af8..8387862ec23a2 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 |