diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2013-11-22 02:34:22 -0500 |
commit | 687c78d5604ce299d5164ffd69de88f2dd10fefc (patch) | |
tree | 2c3b4dd9491198917e0178dd5a0cf0fa3e6715c8 /desktop/vwm/vwm.SlackBuild | |
parent | 610e8461bb9b201adbd4bd9257a9bf48be71f62b (diff) |
various: Fix SlackBuild formatting and comment nit picks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/vwm/vwm.SlackBuild')
-rw-r--r-- | desktop/vwm/vwm.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/desktop/vwm/vwm.SlackBuild b/desktop/vwm/vwm.SlackBuild index 54211f842f1e..9eb9df174468 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 |