summaryrefslogtreecommitdiff
path: root/network/uget/uget.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/uget/uget.SlackBuild')
-rw-r--r--network/uget/uget.SlackBuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/network/uget/uget.SlackBuild b/network/uget/uget.SlackBuild
index cda99f41d8..b5d46070bf 100644
--- a/network/uget/uget.SlackBuild
+++ b/network/uget/uget.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191130 bkw: update for 2.2.2
# 20180612 bkw: update for 2.2.1
# 20180109 bkw:
@@ -15,15 +16,13 @@
# Slackware these days. Add GSTREAMER variable to disable it.
# - update README and slack-desc
-# 20170827 bkw:
-# - update for 2.0.10
+# 20170827 bkw: update for 2.0.10
# 20170324 bkw:
# - update for 2.0.9
# - AUTHORS no longer empty, include in package
-# 20160727 bkw:
-# - upgrade to 2.0.8
+# 20160727 bkw: upgrade to 2.0.8
# 20150910 bkw:
# - upgrade to 2.0.1
@@ -36,7 +35,7 @@
# - don't install empty AUTHORS and ChangeLog
PRGNAM=uget
-VERSION=${VERSION:-2.2.1}
+VERSION=${VERSION:-2.2.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -76,11 +75,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 {} \+
LIBNOTIFY="${LIBNOTIFY:-yes}"
GSTREAMER="${GSTREAMER:-yes}"