summaryrefslogtreecommitdiff
path: root/desktop/dwm/dwm.SlackBuild
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-02-09 12:12:38 +0700
committerErik Hanson <erik@slackbuilds.org>2014-02-11 12:15:07 -0600
commitbba614f466830d48904d490b7d9e13a2bba5c9dc (patch)
tree56d0245875d58f504fbf80d12fee24d3fef3f0c4 /desktop/dwm/dwm.SlackBuild
parent6128cf4eb401eacfe7ad4cdd537fb0b2f1236236 (diff)
downloadslackbuilds-bba614f466830d48904d490b7d9e13a2bba5c9dc.tar.gz
desktop/dwm: Added xinitrc.dwm.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/dwm/dwm.SlackBuild')
-rw-r--r--desktop/dwm/dwm.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/dwm/dwm.SlackBuild b/desktop/dwm/dwm.SlackBuild
index aad7302fde..7b8ccd9041 100644
--- a/desktop/dwm/dwm.SlackBuild
+++ b/desktop/dwm/dwm.SlackBuild
@@ -34,7 +34,7 @@
PRGNAM=dwm
VERSION=${VERSION:-6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -96,6 +96,9 @@ make install \
X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 \
DESTDIR=$PKG
+mkdir -p $PKG/etc/X11/xinit
+install -m 0755 $CWD/xinitrc.dwm $PKG/etc/X11/xinit/xinitrc.dwm
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true