summaryrefslogtreecommitdiff
path: root/desktop/xdgmenumaker
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/xdgmenumaker')
-rw-r--r--desktop/xdgmenumaker/xdgmenumaker.SlackBuild11
-rw-r--r--desktop/xdgmenumaker/xdgmenumaker.info6
2 files changed, 8 insertions, 9 deletions
diff --git a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
index 3c7de37d7e..60e248afeb 100644
--- a/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
+++ b/desktop/xdgmenumaker/xdgmenumaker.SlackBuild
@@ -7,6 +7,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/
# for details.
+# 20180917 bkw: updated for v1.5.
+
# 20170301 bkw:
# - Use long-form github URL.
@@ -23,7 +25,7 @@
# instead of install.sh so this script can't build the old version.
PRGNAM=xdgmenumaker
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -44,11 +46,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 {} \+
# install man pages where Slackware wants them:
sed -i 's,share/man,man,' Makefile
diff --git a/desktop/xdgmenumaker/xdgmenumaker.info b/desktop/xdgmenumaker/xdgmenumaker.info
index 59c004e989..530749993e 100644
--- a/desktop/xdgmenumaker/xdgmenumaker.info
+++ b/desktop/xdgmenumaker/xdgmenumaker.info
@@ -1,8 +1,8 @@
PRGNAM="xdgmenumaker"
-VERSION="1.4"
+VERSION="1.5"
HOMEPAGE="https://github.com/gapan/xdgmenumaker"
-DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/1.4/xdgmenumaker-1.4.tar.gz"
-MD5SUM="a63b8fbf14738c1f2e2ab234817f19e0"
+DOWNLOAD="https://github.com/gapan/xdgmenumaker/archive/1.5/xdgmenumaker-1.5.tar.gz"
+MD5SUM="d79547d6c746a54ebe97359e840bcfe4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pyxdg txt2tags"