Browse Source

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>
pull/186/head
Edward W. Koenig 3 years ago
committed by Willy Sudiarto Raharjo
parent
commit
69aa9443a5
No known key found for this signature in database GPG Key ID: 3F617144D7238786
  1. 13
      games/wesnoth/wesnoth.SlackBuild
  2. 6
      games/wesnoth/wesnoth.info

13
games/wesnoth/wesnoth.SlackBuild

@ -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

6
games/wesnoth/wesnoth.info

@ -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=""

Loading…
Cancel
Save