summaryrefslogtreecommitdiffstats
path: root/desktop/vwm
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/vwm')
-rw-r--r--desktop/vwm/vwm.SlackBuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/desktop/vwm/vwm.SlackBuild b/desktop/vwm/vwm.SlackBuild
index 54211f842f..9eb9df1744 100644
--- a/desktop/vwm/vwm.SlackBuild
+++ b/desktop/vwm/vwm.SlackBuild
@@ -27,12 +27,10 @@ VERSION=2.0.2
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -76,7 +74,7 @@ patch -p0 < $CWD/patches/vwm-2.0.2-Makefile.patch
patch -p1 < $CWD/patches/vwm-2.0.2-Makefile-vwmterm2.patch
patch -p0 < $CWD/patches/vwm-2.0.2-Makefile-sysmon.patch
-# hack to fix the hardcoded path in vwm.h. Not the prettiest, but there you
+# hack to fix the hardcoded path in vwm.h. Not the prettiest, but there you
# have it.
if [ $ARCH == "x86_64" ]; then
sed -i '26s|/usr/lib/vwm/modules|/usr/lib64/vwm/modules|' ./vwm.h
@@ -85,17 +83,17 @@ fi
make -j1 CFLAGS="$SLKCFLAGS"
make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
-# build and install the sysmon module (the vmwterm2 one is done with
+# build and install the sysmon module (the vmwterm2 one is done with
# the main installation)
cd modules/sysmon
make -j1 CFLAGS="$SLKCFLAGS -I$PKG/usr/include"
make install prefix=$PKG/usr libdir=$PKG/usr/lib${LIBDIRSUFFIX}
cd -
-# build and install the keycodes tool to determine codes for remapping
+# build and install the keycodes tool to determine codes for remapping
# keystrokes in ~/.vwm/vwmrc
make -j1 keycode_tool
-cp -a keycodes/keycodes $PKG/usr/bin/
+cp -a keycodes/keycodes $PKG/usr/bin/
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true