games/wesnoth: Fixed binary location, Updated for version 1.16.5

Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edward W. Koenig 2022-08-11 18:10:51 -07:00 committed by Willy Sudiarto Raharjo
parent 5c0dad387a
commit 69aa9443a5
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 7 additions and 12 deletions

View file

@ -26,17 +26,11 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20220430 bkw: Modified by SlackBuilds.org, BUILD=2:
# - strip binaries.
# - remove useless INSTALL.md.
# Note to maintainer: The man pages are section 6, so please consider
# moving the binaries to /usr/games.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wesnoth
VERSION=${VERSION:-1.16.2}
BUILD=${BUILD:-2}
VERSION=${VERSION:-1.16.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -97,6 +91,7 @@ scons \
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \
prefix=/usr \
bindir=/usr/games \
libdir=/usr/lib${LIBDIRSUFFIX} \
datadir=/usr/share/wesnoth \
docdir=/usr/doc/$PRGNAM-$VERSION \
@ -108,7 +103,7 @@ scons \
wesnoth wesnothd campaignd
scons install destdir=$PKG
strip $PKG/usr/bin/*
strip $PKG/usr/games/*
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done

View file

@ -1,8 +1,8 @@
PRGNAM="wesnoth"
VERSION="1.16.2"
VERSION="1.16.5"
HOMEPAGE="http://www.wesnoth.org"
DOWNLOAD="http://downloads.sourceforge.net/wesnoth/wesnoth-1.16.2.tar.bz2"
MD5SUM="b7fc032a6a69a451bb9095f87d70014f"
DOWNLOAD="http://downloads.sourceforge.net/wesnoth/wesnoth-1.16.5.tar.bz2"
MD5SUM="d2b556dfb7d543d520510ba32c0e347d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""