summaryrefslogtreecommitdiffstats
path: root/desktop/jgmenu/jgmenu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/jgmenu/jgmenu.SlackBuild')
-rw-r--r--desktop/jgmenu/jgmenu.SlackBuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/jgmenu/jgmenu.SlackBuild b/desktop/jgmenu/jgmenu.SlackBuild
index 3e263a270e..a4ddd4678d 100644
--- a/desktop/jgmenu/jgmenu.SlackBuild
+++ b/desktop/jgmenu/jgmenu.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for jgmenu.
#
-# Copyright 2017-2019 Edinaldo P. Silva, Rio de Janeiro, Brazil.
+# Copyright 2017-2021 Edinaldo P. Silva, Rio de Janeiro, Brazil.
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=jgmenu
-VERSION=${VERSION:-3.0}
+VERSION=${VERSION:-4.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,10 +69,16 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i -i "s|/lib/|/lib$LIBDIRSUFFIX/|" Makefile
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --with-gtktheme \
+ --with-lx \
+ --with-pmenu
make
-make DESTDIR=$PKG prefix=/usr install
+make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true