[arch-commits] Commit in (4 files)

Levente Polyak anthraxx at archlinux.org
Sun Sep 13 02:46:36 UTC 2015


    Date: Sunday, September 13, 2015 @ 04:46:35
  Author: anthraxx
Revision: 140019

addpkg: speedtest-cli 0.3.2

Added:
  speedtest-cli/
  speedtest-cli/repos/
  speedtest-cli/trunk/
  speedtest-cli/trunk/PKGBUILD

----------+
 PKGBUILD |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

Added: speedtest-cli/trunk/PKGBUILD
===================================================================
--- speedtest-cli/trunk/PKGBUILD	                        (rev 0)
+++ speedtest-cli/trunk/PKGBUILD	2015-09-13 02:46:35 UTC (rev 140019)
@@ -0,0 +1,25 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: William Grieshaber <me at zee.li>
+# Contributor: Victor Aurélio <victoraur dot santos at gmail dot com>
+
+pkgname=speedtest-cli
+pkgver=0.3.2
+pkgrel=2
+pkgdesc='Command line interface for testing internet bandwidth using speedtest.net'
+url='https://github.com/sivel/speedtest-cli'
+arch=('any')
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/sivel/speedtest-cli/archive/v${pkgver}.tar.gz)
+sha512sums=('c98a10772f81b4db503483eb675cbdeacac7803c02a6554ee6d075143e93cfed0834ebda2f6ead5f75a169a5840d0789537dc06e1a8829d52ae112d0fc7eba6c')
+
+package(){
+  cd ${pkgname}-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README"
+  install -Dm 644 ${pkgname}.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list