blob: 48fa1bedae12dd6ad5f65ad00bda010df0509c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=speedtest-cli
pkgver=0.3.2
pkgrel=0
pkgdesc="Command line interface for testing internet bandwidth using speedtest.net"
url="https://github.com/sivel/speedtest-cli"
arch="noarch"
license="ASL 2.0"
depends="python"
depends_dev="python-dev py-setuptools"
makedepends="$depends_dev"
install=""
subpackages=""
source="https://github.com/sivel/$pkgname/archive/v$pkgver.zip"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
python setup.py build || return 1
}
package() {
cd "$_builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm755 speedtest_cli.py "$pkgdir"/usr/bin/speedtest-cli
}
md5sums="6c01ebfaf12e246dea5cc38ae0fa2080 v0.3.2.zip"
sha256sums="65ff8b792660f5c30734de5e7b04fd5abd2aa9223f25fdfdc39e039594448f12 v0.3.2.zip"
sha512sums="1fe8d8c5a45abc5d3a631ae1c894cfcdadeeb60a4ce98d99763af452dc715b8d057a584eda8c326dab13b461625280a4d865f1c0556a065ecabdfbe114ba18c1 v0.3.2.zip"
|