diff options
author | Tomas Matejicek <tomas@slax.org> | 2022-07-16 10:15:17 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-16 10:39:08 +0700 |
commit | a2e498b3874992345f8030d4bc65b78bb8e2e7b8 (patch) | |
tree | 73a8b40a87d9f4015e1f342a9528b82b7fca08f7 /desktop/xlunch | |
parent | 2378b0f4cc79372039a03f2fea11065c0f635ba3 (diff) |
desktop/xlunch: Updated for version 4.7.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/xlunch')
-rw-r--r-- | desktop/xlunch/doinst.sh | 8 | ||||
-rw-r--r-- | desktop/xlunch/xlunch.SlackBuild | 9 | ||||
-rw-r--r-- | desktop/xlunch/xlunch.info | 6 |
3 files changed, 14 insertions, 9 deletions
diff --git a/desktop/xlunch/doinst.sh b/desktop/xlunch/doinst.sh index 1ef9a17a1081a..8298aa30bf7c4 100644 --- a/desktop/xlunch/doinst.sh +++ b/desktop/xlunch/doinst.sh @@ -11,4 +11,10 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -config etc/xlunch/icons.conf.new +config etc/xlunch/default.conf.new + +if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then + if [ -x /usr/bin/gtk-update-icon-cache ]; then + /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1 + fi +fi diff --git a/desktop/xlunch/xlunch.SlackBuild b/desktop/xlunch/xlunch.SlackBuild index a4f034e18f6b6..db90664c4cd24 100644 --- a/desktop/xlunch/xlunch.SlackBuild +++ b/desktop/xlunch/xlunch.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=xlunch -VERSION=${VERSION:-2.3.2} +VERSION=${VERSION:-4.7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -79,13 +76,15 @@ 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 '17d;18d;19d;20d;22d;23d;48d' Makefile + CFLAGS="$SLKCFLAGS" \ make mkdir -p $PKG/usr/bin make install DESTDIR=$PKG -mv $PKG/etc/xlunch/icons.conf $PKG/etc/xlunch/icons.conf.new +cp extra/gentriesquick $PKG/usr/bin/xlunch_genquick 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/xlunch/xlunch.info b/desktop/xlunch/xlunch.info index fdc3f9c399f9c..d5692616225ae 100644 --- a/desktop/xlunch/xlunch.info +++ b/desktop/xlunch/xlunch.info @@ -1,8 +1,8 @@ PRGNAM="xlunch" -VERSION="2.3.2" +VERSION="4.7.3" HOMEPAGE="http://www.xlunch.org/" -DOWNLOAD="https://github.com/Tomas-M/xlunch/archive/v2.3.2/xlunch-2.3.2.tar.gz" -MD5SUM="7c4f15a90be101b7e7a8a2e543a9cfc0" +DOWNLOAD="https://github.com/Tomas-M/xlunch/archive/v4.7.3/xlunch-4.7.3.tar.gz" +MD5SUM="366e25b887d381d4a39a8361ecd1442b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="imlib2" |