summaryrefslogtreecommitdiff
path: root/system/agedu/agedu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/agedu/agedu.SlackBuild')
-rw-r--r--system/agedu/agedu.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/system/agedu/agedu.SlackBuild b/system/agedu/agedu.SlackBuild
index b19e8fb6dd..86fb1bc893 100644
--- a/system/agedu/agedu.SlackBuild
+++ b/system/agedu/agedu.SlackBuild
@@ -6,13 +6,14 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180918 bkw: Update for v20180918.80c7beb.
# 20180612 bkw: Update for v20180522.5b12791.
# 20171219 bkw: Update for v20171202.8a8299e.
# 20170921 bkw: Update for v20170831.fc6b2b5. Switch to self-hosted source
# as upstream deletes the old version as soon as a new one is released.
PRGNAM=agedu
-VERSION=${VERSION:-20180522.5b12791}
+VERSION=${VERSION:-20180918.80c7beb}
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 {} \+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \