blob: e71a73ddbb21d807813e1472f55d486258f80266 (
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
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=speedtest-cli
pkgver=1.0.1
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="python3"
makedepends="python3-dev"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/sivel/speedtest-cli/archive/v$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$builddir"
python3 setup.py build || return 1
}
package() {
cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir" || return 1
install -Dm755 speedtest_cli.py "$pkgdir"/usr/bin/speedtest-cli
}
md5sums="5ca433057ee5546716fad8a2313e9c99 speedtest-cli-1.0.1.tar.gz"
sha256sums="3ec2e6444e309f03d5f56526e6a66e4d556bd95e470abab605ac9c71d8231bc8 speedtest-cli-1.0.1.tar.gz"
sha512sums="f6e78945f47779dfdadc0328468f3fb20999a011da3c832cca58a4703c083f9d73ea3bd06bc85aba5cce5b63db70a6d3b496ef1037ca377e7699a6cd1e42ed24 speedtest-cli-1.0.1.tar.gz"
|