aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-01-12 14:25:10 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-01-14 08:50:32 +0700
commit9e2f172367e0162060b59da976abec5fb6aef682 (patch)
tree21ce345317c044548de0ab8785611c01a3a89924
parent644b0e3fa844fcfeeaa030cbb56abe3fcada591f (diff)
games/dmagnetic: Updated for version 0.34.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/dmagnetic/dmagnetic.SlackBuild11
-rw-r--r--games/dmagnetic/dmagnetic.info10
2 files changed, 12 insertions, 9 deletions
diff --git a/games/dmagnetic/dmagnetic.SlackBuild b/games/dmagnetic/dmagnetic.SlackBuild
index 055b2e942ac2..fabfd6ec085a 100644
--- a/games/dmagnetic/dmagnetic.SlackBuild
+++ b/games/dmagnetic/dmagnetic.SlackBuild
@@ -17,16 +17,18 @@
# happen. The manual source is available, as TeX source, but I see no
# reason to build it instead of using the prebuilt PDF file.
+# 20230112 bkw: update for v0.34.
# 20220316 bkw: BUILD=2, derp, gzip the man pages.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=dmagnetic
SRCNAM=dMagnetic
-VERSION=${VERSION:-0.32}
+VERSION=${VERSION:-0.34}
MANVER=${MANVER:-$VERSION}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,7 +73,8 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
-make CFLAGS="$SLKCFLAGS -Wl,-s"
+make CFLAGS="$SLKCFLAGS"
+strip $SRCNAM
make install \
PREFIX=$PKG/usr \
INSTALLBIN=$PKG/usr/games \
@@ -94,4 +97,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/games/dmagnetic/dmagnetic.info b/games/dmagnetic/dmagnetic.info
index b4be5893844c..36b05283178c 100644
--- a/games/dmagnetic/dmagnetic.info
+++ b/games/dmagnetic/dmagnetic.info
@@ -1,10 +1,10 @@
PRGNAM="dmagnetic"
-VERSION="0.32"
+VERSION="0.34"
HOMEPAGE="https://www.dettus.net/dMagnetic/"
-DOWNLOAD="https://www.dettus.net/dMagnetic/dMagnetic_0.32.tar.bz2 \
- https://www.dettus.net/dMagnetic/dMagnetic_032.pdf"
-MD5SUM="c153195e0ed5dab4ff4595f0eba103a8 \
- 03044f7ac6efad7cf77af78c92817c7b"
+DOWNLOAD="https://www.dettus.net/dMagnetic/dMagnetic_0.34.tar.bz2 \
+ https://www.dettus.net/dMagnetic/dMagnetic_034.pdf"
+MD5SUM="ff56efac6aa7afb71dc7bb8940a04c89 \
+ 0712dbbb7414e6c491b484a32a766962"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""