desktop/jgmenu: Updated for version 4.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Edinaldo P. Silva 2020-01-12 14:47:09 +07:00 committed by Willy Sudiarto Raharjo
parent 72eb9f208b
commit 0ba198fda6
2 changed files with 13 additions and 7 deletions

View file

@ -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

View file

@ -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"