aboutsummaryrefslogtreecommitdiff
path: root/games/cosmosmash/cosmosmash.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-08-13 02:50:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-17 18:14:17 +0700
commitb62f95f5868a10264463e0eb09935cb2cbab9372 (patch)
tree0c0e93b07f289918d547f7726de00be2420d6d22 /games/cosmosmash/cosmosmash.SlackBuild
parentc1fa1e6d70be82ec926d33e1a0700574d236cb38 (diff)
games/cosmosmash: Updated for version 1.5.0.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/cosmosmash/cosmosmash.SlackBuild')
-rw-r--r--games/cosmosmash/cosmosmash.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/cosmosmash/cosmosmash.SlackBuild b/games/cosmosmash/cosmosmash.SlackBuild
index c8e12d3d6548b..9562ad3e74e39 100644
--- a/games/cosmosmash/cosmosmash.SlackBuild
+++ b/games/cosmosmash/cosmosmash.SlackBuild
@@ -6,10 +6,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20240813 bkw: update for v1.5.0.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cosmosmash
-VERSION=${VERSION:-1.4.8}
+VERSION=${VERSION:-1.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,10 +72,9 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
# put the docs in the right place
-sed -i '/^docdir/s,datadir,prefix,' Makefile
make
-make install-strip DESTDIR=$PKG
+make install-strip DESTDIR=$PKG docdir=/usr/doc/$PRGNAM-$VERSION
gzip $PKG/usr/man/man?/*.?