diff options
Diffstat (limited to 'desktop/dwm/dwm.SlackBuild')
-rw-r--r-- | desktop/dwm/dwm.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/desktop/dwm/dwm.SlackBuild b/desktop/dwm/dwm.SlackBuild index 2ebba6fc1b4..deba50d3d32 100644 --- a/desktop/dwm/dwm.SlackBuild +++ b/desktop/dwm/dwm.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for dwm # -# Modofied by Dave Woodfall to use local config.h (2018) +# Modified by Dave Woodfall to use local config.h (2018) # Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org # Erik Falor <ewfalor@gmail.com> # @@ -36,7 +36,7 @@ PRGNAM=dwm VERSION=${VERSION:-6.1} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -66,7 +66,7 @@ else LIBDIRSUFFIX="" fi -set -e +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -76,11 +76,14 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION if [ -e "$CWD/config.h" ]; then - cp -v $CWD/config.h . -else - mv config.def.h config.h + cp -v $CWD/config.h config.def.h fi +SYSTRAY=${SYSTRAY:-no} +[ "$SYSTRAY" = "yes" ] && patch -p1 <$CWD/patches/dwm-6.1-systray.diff + +mv config.def.h config.h + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |