diff options
author | B. Watson <yalhcru@gmail.com> | 2019-11-28 15:54:33 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 17:06:18 +0700 |
commit | ef7227b34dbd2ece5c986a0a914a5c77a0e95ded (patch) | |
tree | c43b44562d6733799a67336689b35fdc72e0d8db /desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild | |
parent | 4204aa2c2c6cbbba6dc21a6adf74d0ee2b809392 (diff) |
desktop/j4-dmenu-desktop: Updated for version 2.17.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild')
-rw-r--r-- | desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild | 33 |
1 files changed, 14 insertions, 19 deletions
diff --git a/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild b/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild index 5f8d5e70c2205..db6a6483b8e2c 100644 --- a/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild +++ b/desktop/j4-dmenu-desktop/j4-dmenu-desktop.SlackBuild @@ -6,18 +6,16 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -# 20180112 bkw: -# - Update for 2.16 release. +# 20191128 bkw: +# - Update for 2.17 release. +# - Upstream now includes the man page in the tarball, use that +# instead the old one that used to be here. Means this script can't +# build older versions. -# 20170301 bkw: -# - Update for 2.15 release. -# - Use github long-form URL. - -# 20160726 bkw: -# - Update for 2.14 release. - -# 20150914 bkw: -# - Update for 2.13 release. +# 20180112 bkw: Update for 2.16 release. +# 20170301 bkw: Update for 2.15 release, use github long-form URL. +# 20160726 bkw: Update for 2.14 release. +# 20150914 bkw: Update for 2.13 release. # 20150512 bkw: # - Update for 2.12 release. @@ -37,7 +35,7 @@ # - Added default terminal selection PRGNAM=j4-dmenu-desktop -VERSION=${VERSION:-2.16} +VERSION=${VERSION:-2.17} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -77,11 +75,8 @@ rm -rf $PRGNAM-r$VERSION tar xvf $CWD/$PRGNAM-r$VERSION.tar.gz cd $PRGNAM-r$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 {} \+ # For some reason, j4-dmenu-desktop uses "bash -i -c <command>" to execute # the user's choice. bash -i means interactive shell... which causes it to @@ -120,9 +115,9 @@ cd build install -m0755 -s $PRGNAM $PKG/usr/bin/$PRGNAM cd .. -# man page taken from upstream git. +# Tell the user what the default terminal is, in the man page. mkdir -p $PKG/usr/man/man1 -sed "s,_TERMINAL_,$MANTERM,g" < $CWD/$PRGNAM.1 | \ +sed "s,to start terminal apps *\$,& (default: $MANTERM)," < $PRGNAM.1 | \ gzip -9c > $PKG/usr/man/man1/$PRGNAM.1.gz mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION |