blob: ccd14db3d1a989813672a691f179708e83841e8a (
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
|
# Maintainer: Stephan Springer <buzo+arch@Lini.de>
# Contributor: Knut Ahlers <knut at ahlers dot me>
pkgname=librespeed-cli
_pkgname=speedtest-cli
pkgver=1.0.11
pkgrel=1
pkgdesc="Command line client for LibreSpeed"
arch=(i686 x86_64)
url="https://github.com/librespeed/speedtest-cli"
license=(LGPL-3.0-only)
makedepends=(git go)
depends=(glibc)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('ad32c2379a7d1fc4160a27dbd81f681ad40c3d6d555010bb943528074ee982df')
build() {
cd "$_pkgname-$pkgver"
bash build.sh
}
package() {
cd "$_pkgname-$pkgver"
install -Dm755 "out/$pkgname-$(go env GOOS)-$(go env GOARCH)" "$pkgdir/usr/bin/$pkgname"
}
|