aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2018-10-27 00:38:37 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-10-27 00:38:37 +0100
commit0d9422c59760b559e860f2b6956b25aa40f92673 (patch)
treeaa54c91d3fdd70c23265832fa445352c1886a55f
parent066bf51cccd322fb7c00aa4e5090ee51d452c278 (diff)
libraries/libsigrok: Updated for version 0.5.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--libraries/libsigrok/doinst.sh5
-rw-r--r--libraries/libsigrok/libsigrok.SlackBuild5
-rw-r--r--libraries/libsigrok/libsigrok.info6
3 files changed, 11 insertions, 5 deletions
diff --git a/libraries/libsigrok/doinst.sh b/libraries/libsigrok/doinst.sh
new file mode 100644
index 0000000000000..4110f5514d7ca
--- /dev/null
+++ b/libraries/libsigrok/doinst.sh
@@ -0,0 +1,5 @@
+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/libraries/libsigrok/libsigrok.SlackBuild b/libraries/libsigrok/libsigrok.SlackBuild
index 561d0643eabcd..80f53cc40ffa3 100644
--- a/libraries/libsigrok/libsigrok.SlackBuild
+++ b/libraries/libsigrok/libsigrok.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libsigrok
-# 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=libsigrok
-VERSION=${VERSION:-0.5.0}
+VERSION=${VERSION:-0.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -91,6 +91,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/libraries/libsigrok/libsigrok.info b/libraries/libsigrok/libsigrok.info
index 9ff5cf6a12c37..62b7f324d6ab4 100644
--- a/libraries/libsigrok/libsigrok.info
+++ b/libraries/libsigrok/libsigrok.info
@@ -1,8 +1,8 @@
PRGNAM="libsigrok"
-VERSION="0.5.0"
+VERSION="0.5.1"
HOMEPAGE="https://sigrok.org/wiki/Libsigrok"
-DOWNLOAD="https://sigrok.org/download/source/libsigrok/libsigrok-0.5.0.tar.gz"
-MD5SUM="0e27c89b6b7374fa9a571d6227f6a54a"
+DOWNLOAD="https://sigrok.org/download/source/libsigrok/libsigrok-0.5.1.tar.gz"
+MD5SUM="a3de9e52a660e51d27a6aca025d204a7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""