diff options
author | B. Watson <yalhcru@gmail.com> | 2021-09-07 18:08:16 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-10-13 00:52:05 +0700 |
commit | a4f3faca3e6890bfbc8fc052ee7d0478f078ba2b (patch) | |
tree | dd409181a260ff70cdea17ff90d5d362daa7126d /desktop/trayer-srg/trayer-srg.SlackBuild | |
parent | bfce5eb112a44b44d0d699631ece29a4cc8e9f98 (diff) | |
download | slackbuilds-a4f3faca3e6890bfbc8fc052ee7d0478f078ba2b.tar.gz |
desktop/trayer-srg: Grammar/spelling fixes.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/trayer-srg/trayer-srg.SlackBuild')
-rw-r--r-- | desktop/trayer-srg/trayer-srg.SlackBuild | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/desktop/trayer-srg/trayer-srg.SlackBuild b/desktop/trayer-srg/trayer-srg.SlackBuild index 6896dd1491..1d29a349ce 100644 --- a/desktop/trayer-srg/trayer-srg.SlackBuild +++ b/desktop/trayer-srg/trayer-srg.SlackBuild @@ -24,8 +24,8 @@ # Now maintained by B. Watson (yalhcru@gmail.com) +# 20210907 bkw: BUILD=2, spelling/grammar fixes in docs. # 20180612 bkw: updated for v1.1.8. - # 20170708 bkw: # - updated for v1.1.7. # - stop installing INSTALL in doc dir. @@ -43,7 +43,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=trayer-srg VERSION=${VERSION:-1.1.8} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -55,9 +55,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -94,12 +91,13 @@ rm -rf $TARNAM-$VERSION tar xvf $CWD/$TARNAM-$VERSION.tar.?z* cd $TARNAM-$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 {} \+ + +patch -p1 < $CWD/spelling_grammar_fixes.diff +# not a real (autotools) configure script, notice non-canonical use +# of --prefix here! ./configure --prefix=/usr/bin CFLAGS="$SLKCFLAGS" make # This will also strip the executable |