aboutsummaryrefslogtreecommitdiff
path: root/desktop/dmenu/dmenu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/dmenu/dmenu.SlackBuild')
-rw-r--r--desktop/dmenu/dmenu.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/desktop/dmenu/dmenu.SlackBuild b/desktop/dmenu/dmenu.SlackBuild
index d80cce71a636..6d545e0df928 100644
--- a/desktop/dmenu/dmenu.SlackBuild
+++ b/desktop/dmenu/dmenu.SlackBuild
@@ -25,15 +25,13 @@
PRGNAM=dmenu
VERSION=4.3.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -84,6 +82,10 @@ make install \
X11LIB=/usr/lib${LIBDIRSUFFIX}/X11 \
DESTDIR=$PKG
+# Use older (version 4.1.1) dmenu_path that actually works properly
+# Shouldn't be needed after upstream fixes this
+cat $CWD/dmenu_path > $PKG/usr/bin/dmenu_path
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true