diff options
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 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 |