From 09cef9bec493cfde5e165e28052489b273f5b8fd Mon Sep 17 00:00:00 2001 From: afhpayne Date: Mon, 15 Aug 2022 20:53:05 -0400 Subject: desktop/rofi: Updated for version 1.7.4. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- desktop/rofi/doinst.sh | 9 +++++++++ desktop/rofi/rofi.SlackBuild | 3 ++- desktop/rofi/rofi.info | 6 +++--- 3 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 desktop/rofi/doinst.sh (limited to 'desktop/rofi') diff --git a/desktop/rofi/doinst.sh b/desktop/rofi/doinst.sh new file mode 100644 index 0000000000..65c7e2eeb9 --- /dev/null +++ b/desktop/rofi/doinst.sh @@ -0,0 +1,9 @@ +if [ -x /usr/bin/update-desktop-database ]; then + /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 +fi + +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/rofi/rofi.SlackBuild b/desktop/rofi/rofi.SlackBuild index 720251a939..575fff08aa 100644 --- a/desktop/rofi/rofi.SlackBuild +++ b/desktop/rofi/rofi.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=rofi -VERSION=${VERSION:-1.7.3} +VERSION=${VERSION:-1.7.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -103,6 +103,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/desktop/rofi/rofi.info b/desktop/rofi/rofi.info index a9d2a9f730..29e71187aa 100644 --- a/desktop/rofi/rofi.info +++ b/desktop/rofi/rofi.info @@ -1,10 +1,10 @@ PRGNAM="rofi" -VERSION="1.7.3" +VERSION="1.7.4" HOMEPAGE="https://github.com/DaveDavenport/rofi/" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://github.com/davatorium/rofi/releases/download/1.7.3/rofi-1.7.3.tar.xz" -MD5SUM_x86_64="47e9e9531646d923e150f868375fcd4f" +DOWNLOAD_x86_64="https://github.com/davatorium/rofi/releases/download/1.7.4/rofi-1.7.4.tar.xz" +MD5SUM_x86_64="5ce7a4baefc923663599e8fa9bf9a611" REQUIRES="xcb-util-xrm" MAINTAINER="Andrew Payne" EMAIL="phalange@komputermatrix.com" -- cgit v1.2.3