summaryrefslogtreecommitdiff
path: root/academic/sigrok-cli
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2018-12-16 16:24:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-16 16:24:13 +0700
commit2cc91f78d37c9b19c4e191fa437ece5ea8a2225a (patch)
tree140e8b6ff42ef783f91309005f36e63c0e7b42f7 /academic/sigrok-cli
parent1f30600fe8848813a83578ef26802a642ad16776 (diff)
downloadslackbuilds-2cc91f78d37c9b19c4e191fa437ece5ea8a2225a.tar.gz
academic/sigrok-cli: Updated for version 0.7.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sigrok-cli')
-rw-r--r--academic/sigrok-cli/doinst.sh9
-rw-r--r--academic/sigrok-cli/sigrok-cli.SlackBuild5
-rw-r--r--academic/sigrok-cli/sigrok-cli.info6
3 files changed, 15 insertions, 5 deletions
diff --git a/academic/sigrok-cli/doinst.sh b/academic/sigrok-cli/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/academic/sigrok-cli/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/academic/sigrok-cli/sigrok-cli.SlackBuild b/academic/sigrok-cli/sigrok-cli.SlackBuild
index a54846b8b1..2409d136e3 100644
--- a/academic/sigrok-cli/sigrok-cli.SlackBuild
+++ b/academic/sigrok-cli/sigrok-cli.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for sigrok-cli
-# Copyright 2017 Andrzej Telszewski, Banie
+# Copyright 2018 Andrzej Telszewski, Szczecin
# 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=sigrok-cli
-VERSION=${VERSION:-0.7.0}
+VERSION=${VERSION:-0.7.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -94,6 +94,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
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:-tgz}
diff --git a/academic/sigrok-cli/sigrok-cli.info b/academic/sigrok-cli/sigrok-cli.info
index 0225486a61..513cb7e46c 100644
--- a/academic/sigrok-cli/sigrok-cli.info
+++ b/academic/sigrok-cli/sigrok-cli.info
@@ -1,8 +1,8 @@
PRGNAM="sigrok-cli"
-VERSION="0.7.0"
+VERSION="0.7.1"
HOMEPAGE="https://sigrok.org/wiki/Sigrok-cli"
-DOWNLOAD="https://sigrok.org/download/source/sigrok-cli/sigrok-cli-0.7.0.tar.gz"
-MD5SUM="77cb745e2fa239c7bd1ea81e2d67ede9"
+DOWNLOAD="https://sigrok.org/download/source/sigrok-cli/sigrok-cli-0.7.1.tar.gz"
+MD5SUM="3f45ce664bad529d8b3f78a61b017d75"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libsigrok"