diff options
author | Edward W. Koenig <kingbeowulf@linuxgalaxy.org> | 2022-08-11 18:10:51 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-13 10:40:41 +0700 |
commit | 69aa9443a58cb041cfe431d67186d97fb4f8bebf (patch) | |
tree | 78c99c6c9b320e98ca3c9663b1c899d970b61bb0 /games/wesnoth/wesnoth.SlackBuild | |
parent | 5c0dad387acae3d330336e3850b8e98fb1862b78 (diff) |
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>
Diffstat (limited to 'games/wesnoth/wesnoth.SlackBuild')
-rw-r--r-- | games/wesnoth/wesnoth.SlackBuild | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild index 6fd4dae4532a4..1f7b8dcb8bfa9 100644 --- a/games/wesnoth/wesnoth.SlackBuild +++ b/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 |