From 0ba198fda6472c66dac1d5379796b23767e0f40b Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sun, 12 Jan 2020 14:47:09 +0700 Subject: desktop/jgmenu: Updated for version 4.0. Signed-off-by: Willy Sudiarto Raharjo --- desktop/jgmenu/jgmenu.SlackBuild | 14 ++++++++++---- desktop/jgmenu/jgmenu.info | 6 +++--- 2 files changed, 13 insertions(+), 7 deletions(-) (limited to 'desktop') 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" -- cgit v1.2.3