mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
games/angband: Updated for version v3.4.1.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
11871423b6
commit
ccd0cf8537
2 changed files with 9 additions and 14 deletions
|
@ -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,12 +65,8 @@ 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 \
|
||||
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue