aboutsummaryrefslogtreecommitdiff
path: root/system/aha/aha.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-12-01 03:43:23 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-09 13:17:25 +0700
commitea2d49566db67bd9d10c3ae6e188dd2b1b107597 (patch)
tree467a2167d0ccdbe33f4b7299b9baa847cc2e345d /system/aha/aha.SlackBuild
parent6ce86694e5c67991e0472a455f79baf0f4a764cb (diff)
system/aha: Updated for version 0.5.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/aha/aha.SlackBuild')
-rw-r--r--system/aha/aha.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/aha/aha.SlackBuild b/system/aha/aha.SlackBuild
index c8d8d5d5cb2aa..3650feb9c55bc 100644
--- a/system/aha/aha.SlackBuild
+++ b/system/aha/aha.SlackBuild
@@ -7,12 +7,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20181201 bkw: update for 0.5
# 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.6}
+VERSION=${VERSION:-0.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -52,11 +53,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
make CFLAGS="$SLKCFLAGS" LDFLAGS="-s"
make PREFIX=/usr MANDIR=/usr/man DESTDIR=$PKG install