aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-09-17 14:16:50 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-21 23:52:42 +0100
commit3ec56e85873151eb1c571a783b73206fa2fd692c (patch)
treeb7296169964364db71ad101516077d0de765c3e3
parentaf3d874f76c6f32e6518ae0e361b50620a7a58d2 (diff)
desktop/xdgmenumaker: Updated for version 1.5.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-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 3c7de37d7e87..60e248afebee 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 59c004e98975..530749993e63 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"