From 8b743739108aad3d925eccd3c427d755bb9bda6e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 24 Apr 2014 12:12:34 +0700 Subject: [PATCH] network/speedtest-cli: Updated for version 0.2.7. Signed-off-by: Willy Sudiarto Raharjo --- network/speedtest-cli/doinst.sh | 3 +++ network/speedtest-cli/speedtest-cli.SlackBuild | 3 ++- network/speedtest-cli/speedtest-cli.info | 6 +++--- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 network/speedtest-cli/doinst.sh 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"