diff options
Diffstat (limited to 'games/dmagnetic/dmagnetic.SlackBuild')
-rw-r--r-- | games/dmagnetic/dmagnetic.SlackBuild | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/games/dmagnetic/dmagnetic.SlackBuild b/games/dmagnetic/dmagnetic.SlackBuild index 055b2e942a..a3cc5ca2af 100644 --- a/games/dmagnetic/dmagnetic.SlackBuild +++ b/games/dmagnetic/dmagnetic.SlackBuild @@ -17,16 +17,20 @@ # happen. The manual source is available, as TeX source, but I see no # reason to build it instead of using the prebuilt PDF file. +# 20230820 bkw: update for v0.37. +# 20230128 bkw: update for v0.36 (that was quick!) +# 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.37} MANVER=${MANVER:-$VERSION} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -71,9 +75,10 @@ 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 \ + MYPREFIX=$PKG/usr \ INSTALLBIN=$PKG/usr/games \ INSTALLMAN=$PKG/usr/man @@ -94,4 +99,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 |