summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorafhpayne <github@komputermatrix.com>2022-08-15 20:53:05 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-08-20 10:06:34 +0700
commit09cef9bec493cfde5e165e28052489b273f5b8fd (patch)
treeb2c03bb0141dc326f61d13aa9e26c71f32a53a05 /desktop
parent1a6e6cfbf21ad497583edc1e19151ca68082a039 (diff)
downloadslackbuilds-09cef9bec493cfde5e165e28052489b273f5b8fd.tar.gz
desktop/rofi: Updated for version 1.7.4.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/rofi/doinst.sh9
-rw-r--r--desktop/rofi/rofi.SlackBuild3
-rw-r--r--desktop/rofi/rofi.info6
3 files changed, 14 insertions, 4 deletions
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"