diff options
Diffstat (limited to 'games/angband')
-rw-r--r-- | games/angband/README | 6 | ||||
-rw-r--r-- | games/angband/angband.SlackBuild | 34 | ||||
-rw-r--r-- | games/angband/angband.info | 10 |
3 files changed, 22 insertions, 28 deletions
diff --git a/games/angband/README b/games/angband/README index 50e6524589..3eeb14f375 100644 --- a/games/angband/README +++ b/games/angband/README @@ -10,4 +10,8 @@ Angband (at least text version) needs UTF-8, listed by: locale -a. Edit /etc/profile.d/lang.sh or export $LANG, or run such as (for USA): LANG=en_US.UTF-8 angband. -Run the graphics/tiles version by: angband -msdl. +Run the graphics/tiles version by: angband -msdl2 + +To restore old class definitions, backup class.txt and replace it +with the contents of the old_class.txt file. Note that this will +break existing save files. diff --git a/games/angband/angband.SlackBuild b/games/angband/angband.SlackBuild index 0887524053..1601a24c8b 100644 --- a/games/angband/angband.SlackBuild +++ b/games/angband/angband.SlackBuild @@ -2,26 +2,9 @@ # Slackware build script for Angband -# Copyright 2020 Marshall Scott, SlackBuilds.org Project, David Melik, Spokane, -# WA, USA. -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# Written by Marshall Scott, David Melik, and Ben Collver. + +# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. # 20220219 bkw: Modified by SlackBuilds.org: # - update download URL to one that exists. @@ -29,11 +12,16 @@ # - use full path to icon in .desktop (since it's not in /usr/share/icons). # - remove an empty file from the doc dir. +# 20240203 +# - install old_class.txt +# See also: +# https://angband.live/forums/forum/angband/vanilla/248199-can-t-get-most-spells-as-ranger + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=angband -VERSION=${VERSION:-4.2.4} -BUILD=${BUILD:-1} +VERSION=${VERSION:-4.2.5} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -97,6 +85,7 @@ CFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG strip $PKG/usr/games/$PRGNAM +cp lib/gamedata/old_class.txt $PKG/etc/angband/gamedata/ find $PKG -name "delete.me" -exec rm -f {} \+ @@ -112,6 +101,7 @@ cp $CWD/angband.desktop $PKG/usr/share/applications mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a changes.txt README.md docs/ lib/help/ \ $PKG/usr/doc/$PRGNAM-$VERSION +cp $CWD/README $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/{doc,help}/.dep* diff --git a/games/angband/angband.info b/games/angband/angband.info index eac138e869..096e0aa8f6 100644 --- a/games/angband/angband.info +++ b/games/angband/angband.info @@ -1,10 +1,10 @@ PRGNAM="angband" -VERSION="4.2.4" +VERSION="4.2.5" HOMEPAGE="http://www.rephial.org/" -DOWNLOAD="https://github.com/angband/angband/releases/download/4.2.4/Angband-4.2.4.tar.gz" -MD5SUM="ce3a6777a4c62e2fc3ad9c3d4f96468c" +DOWNLOAD="https://github.com/angband/angband/releases/download/4.2.5/Angband-4.2.5.tar.gz" +MD5SUM="b4566c75eb69f4ffee816faf51b7e22b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Melik" -EMAIL="dchmelik@gmail.com" +MAINTAINER="Ben Collver" +EMAIL="bencollver@riseup.net" |