summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdinaldo P. Silva <edps.mundognu@gmail.com>2020-01-12 14:47:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 14:47:09 +0700
commit0ba198fda6472c66dac1d5379796b23767e0f40b (patch)
tree61ec049cd3e731c7709e10031d102b663b30307f
parent72eb9f208b4f2e7f076b2eacb1dde89e26e824e2 (diff)
downloadslackbuilds-0ba198fda6472c66dac1d5379796b23767e0f40b.tar.gz
desktop/jgmenu: Updated for version 4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/jgmenu/jgmenu.SlackBuild14
-rw-r--r--desktop/jgmenu/jgmenu.info6
2 files changed, 13 insertions, 7 deletions
diff --git a/desktop/jgmenu/jgmenu.SlackBuild b/desktop/jgmenu/jgmenu.SlackBuild
index a38c2f1253..b3b49a0e7d 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-2020 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.5}
+VERSION=${VERSION:-4.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
diff --git a/desktop/jgmenu/jgmenu.info b/desktop/jgmenu/jgmenu.info
index 37ad005af6..0ec00e1d5a 100644
--- a/desktop/jgmenu/jgmenu.info
+++ b/desktop/jgmenu/jgmenu.info
@@ -1,8 +1,8 @@
PRGNAM="jgmenu"
-VERSION="3.5"
+VERSION="4.0"
HOMEPAGE="https://www.github.com/johanmalm/jgmenu/"
-DOWNLOAD="https://github.com/johanmalm/jgmenu/archive/v3.5/jgmenu-3.5.tar.gz"
-MD5SUM="219d4080065602f8e98684c3420572b5"
+DOWNLOAD="https://github.com/johanmalm/jgmenu/archive/v4.0/jgmenu-4.0.tar.gz"
+MD5SUM="ff70652d27bfc4eefd0f0b8d17c04523"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3 menu-cache"