summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-24 12:12:34 +0700
committerErik Hanson <erik@slackbuilds.org>2014-04-27 12:18:15 -0500
commit8b743739108aad3d925eccd3c427d755bb9bda6e (patch)
tree3e73ffef7fcbc998f8c2364027d63bccbdb8f382
parentca2e084845aa7cce3492f471bf72733cbc9be730 (diff)
downloadslackbuilds-8b743739108aad3d925eccd3c427d755bb9bda6e.tar.gz
network/speedtest-cli: Updated for version 0.2.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/speedtest-cli/doinst.sh3
-rw-r--r--network/speedtest-cli/speedtest-cli.SlackBuild3
-rw-r--r--network/speedtest-cli/speedtest-cli.info6
3 files changed, 8 insertions, 4 deletions
diff --git a/network/speedtest-cli/doinst.sh b/network/speedtest-cli/doinst.sh
new file mode 100644
index 0000000000..5fb28930db
--- /dev/null
+++ b/network/speedtest-cli/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/network/speedtest-cli/speedtest-cli.SlackBuild b/network/speedtest-cli/speedtest-cli.SlackBuild
index 6b5a9fc118..06b8c4233e 100644
--- a/network/speedtest-cli/speedtest-cli.SlackBuild
+++ b/network/speedtest-cli/speedtest-cli.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=speedtest-cli
-VERSION=${VERSION:-0.2.5}
+VERSION=${VERSION:-0.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,6 +80,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/network/speedtest-cli/speedtest-cli.info b/network/speedtest-cli/speedtest-cli.info
index 42bf9df1dc..8d580c4657 100644
--- a/network/speedtest-cli/speedtest-cli.info
+++ b/network/speedtest-cli/speedtest-cli.info
@@ -1,8 +1,8 @@
PRGNAM="speedtest-cli"
-VERSION="0.2.5"
+VERSION="0.2.7"
HOMEPAGE="https://github.com/sivel/speedtest-cli"
-DOWNLOAD="https://pypi.python.org/packages/source/s/speedtest-cli/speedtest-cli-0.2.5.tar.gz"
-MD5SUM="e38194f405ef04926066923ad6f0f9b7"
+DOWNLOAD="https://pypi.python.org/packages/source/s/speedtest-cli/speedtest-cli-0.2.7.tar.gz"
+MD5SUM="1d36ea0e58a6d3504fac2377a036f6bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pysetuptools"