diff options
Diffstat (limited to 'desktop/xdgmenumaker/xdgmenumaker.SlackBuild')
-rw-r--r-- | desktop/xdgmenumaker/xdgmenumaker.SlackBuild | 11 |
1 files changed, 5 insertions, 6 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 |