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