games/angband: Updated for version v3.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
11871423b6
commit
ccd0cf8537
|
@ -6,7 +6,7 @@
|
||||||
# Heavily edited and currently maintained by David Melik (dchmelik@gmail.com)
|
# Heavily edited and currently maintained by David Melik (dchmelik@gmail.com)
|
||||||
|
|
||||||
PRGNAM=angband
|
PRGNAM=angband
|
||||||
VERSION=v3.3.2
|
VERSION=v3.4.1
|
||||||
BUILD=${BUILD:-3}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -48,14 +48,13 @@ cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R u+w,go+r-w,a-s .
|
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" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
LDFLAGS="-lSDL" \
|
LDFLAGS="-lSDL" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--with-libpath=/usr/share/games/angband \
|
--datarootdir=/usr/share/games \
|
||||||
--with-configpath=/etc/angband \
|
--sysconfdir=/etc \
|
||||||
--with-varpath=/var/games/angband \
|
--localstatedir=/var \
|
||||||
--bindir=/usr/games \
|
--bindir=/usr/games \
|
||||||
--with-setgid=games \
|
--with-setgid=games \
|
||||||
--build=$ARCH-slackware-linux \
|
--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 \
|
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
|
| 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 {} \;
|
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 \
|
for i in \
|
||||||
artifact ego_item flavor hints limits monster monster_base names object \
|
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 \
|
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 \
|
do mv $PKG/etc/angband/edit/$i.txt \
|
||||||
$PKG/etc/angband/edit/$i.txt.new ;
|
$PKG/etc/angband/edit/$i.txt.new ;
|
||||||
done
|
done
|
||||||
|
@ -90,7 +85,7 @@ cp -a \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
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
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="angband"
|
PRGNAM="angband"
|
||||||
VERSION="v3.3.2"
|
VERSION="v3.4.1"
|
||||||
HOMEPAGE="http://www.rephial.org/"
|
HOMEPAGE="http://www.rephial.org/"
|
||||||
DOWNLOAD="http://rephial.org/downloads/3.3/angband-v3.3.2.tar.gz"
|
DOWNLOAD="http://rephial.org/downloads/3.4/angband-v3.4.1.tar.gz"
|
||||||
MD5SUM="76bb1cac39e8f3d1146bac5ff561fc3a"
|
MD5SUM="3ea22e5caabc3de7b49bac13ba922a8c"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
|
|
Loading…
Reference in New Issue