diff options
Diffstat (limited to 'games/dmagnetic/dmagnetic.SlackBuild')
-rw-r--r-- | games/dmagnetic/dmagnetic.SlackBuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/games/dmagnetic/dmagnetic.SlackBuild b/games/dmagnetic/dmagnetic.SlackBuild index 055b2e942ac29..fabfd6ec085ac 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 |