summaryrefslogtreecommitdiff
path: root/system/aha/aha.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/aha/aha.SlackBuild')
-rw-r--r--system/aha/aha.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/system/aha/aha.SlackBuild b/system/aha/aha.SlackBuild
index 2b7df54bf5..c8d8d5d5cb 100644
--- a/system/aha/aha.SlackBuild
+++ b/system/aha/aha.SlackBuild
@@ -7,11 +7,12 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
-# 20170301 bkw: update for 0.4.10.5, use long-forn github URL
+# 20170328 bkw: update for 0.4.10.6, use 'make install' instead of manually
+# 20170301 bkw: update for 0.4.10.5, use long-form github URL
# 20170122 bkw: update for 0.4.10.3
PRGNAM=aha
-VERSION=${VERSION:-0.4.10.5}
+VERSION=${VERSION:-0.4.10.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,10 +58,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make CFLAGS="$SLKCFLAGS" PREFIX=/usr DESTDIR=$PKG all
-mkdir -p $PKG/usr/bin $PKG/usr/man/man1
-install -s -m0755 $PRGNAM $PKG/usr/bin
-gzip -9c < $PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
+make CFLAGS="$SLKCFLAGS" LDFLAGS="-s"
+make PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG install
+gzip -9 $PKG/usr/man/man1/$PRGNAM.1
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CHANGELOG README* $PKG/usr/doc/$PRGNAM-$VERSION