mirror of
https://github.com/luzifer-aur/librespeed-cli.git
synced 2024-11-09 14:10:02 +00:00
Initial version
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
commit
83006153b2
2 changed files with 37 additions and 0 deletions
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
|
@ -0,0 +1,14 @@
|
|||
pkgbase = librespeed-cli
|
||||
pkgdesc = Command line client for LibreSpeed
|
||||
pkgver = 1.0.7
|
||||
pkgrel = 1
|
||||
url = https://github.com/librespeed/speedtest-cli
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
license = LGPL
|
||||
makedepends = go
|
||||
source = librespeed-cli-1.0.7::git+https://github.com/librespeed/speedtest-cli.git#tag=v1.0.7
|
||||
sha512sums = SKIP
|
||||
|
||||
pkgname = librespeed-cli
|
||||
|
23
PKGBUILD
Normal file
23
PKGBUILD
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Maintainer: Knut Ahlers <knut at ahlers dot me>
|
||||
|
||||
pkgname=librespeed-cli
|
||||
pkgver=1.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="Command line client for LibreSpeed"
|
||||
arch=('i686' 'x86_64')
|
||||
url="https://github.com/librespeed/speedtest-cli"
|
||||
license=(LGPL)
|
||||
makedepends=(go)
|
||||
source=("${pkgname}-${pkgver}::git+${url}.git#tag=v${pkgver}")
|
||||
sha512sums=('SKIP')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
bash build.sh
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
install -Dm755 "out/${pkgname}-$(go env GOOS)-$(go env GOARCH)" "${pkgdir}/usr/bin/${pkgname}"
|
||||
install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
Loading…
Reference in a new issue