summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 182585a9d5bfbfa9904a0a10fa569fcca20b4bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Maddie Zhan <maddie at zzz dot cat>
pkgname=librespeed-cli-bin
pkgver=1.0.7
pkgrel=1
pkgdesc="Command line interface for LibreSpeed speed test backends"
arch=('x86_64' 'aarch64' 'armv7h')
url="https://github.com/librespeed/speedtest-cli"
license=('LGPL3')
provides=('librespeed-cli')
conflicts=('librespeed-cli')

source_x86_64=("https://github.com/librespeed/speedtest-cli/releases/download/v${pkgver}/${pkgname/-bin/}_${pkgver}_linux_amd64.tar.gz")
source_aarch64=("https://github.com/librespeed/speedtest-cli/releases/download/v${pkgver}/${pkgname/-bin/}_${pkgver}_linux_arm64.tar.gz")
source_armv7h=("https://github.com/librespeed/speedtest-cli/releases/download/v${pkgver}/${pkgname/-bin/}_${pkgver}_linux_armv7.tar.gz")

sha256sums_x86_64=('a2f539c5bd0f7cd85d1fa822bd222aa5a2dcb854ae862f9a1153ff63c23e49ea')
sha256sums_aarch64=('aaa8a066114cbd87548cc7b0324f83f1f92d9a02632c4b89273bec96d620f5b4')
sha256sums_armv7h=('efb18134b10564fa40bba0591fa3a6a8c2c5e4852ccf37b690b7d0c2a5d5e4f8')

package() {
  install -Dm755 "${srcdir}/${pkgname/-bin}" "${pkgdir}/usr/bin/${pkgname/-bin}"
}