diff options
Diffstat (limited to 'desktop/jgmenu/jgmenu.SlackBuild')
-rw-r--r-- | desktop/jgmenu/jgmenu.SlackBuild | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/desktop/jgmenu/jgmenu.SlackBuild b/desktop/jgmenu/jgmenu.SlackBuild index a38c2f1253b1b..b3b49a0e7d6c8 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 |