mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
5c0dad387a
commit
69aa9443a5
2 changed files with 7 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue