diff options
Diffstat (limited to 'system/aha/aha.SlackBuild')
-rw-r--r-- | system/aha/aha.SlackBuild | 10 |
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 |