archlinux/repo/speedtest/PKGBUILD

23 lines
677 B
Bash
Raw Normal View History

2022-08-15 00:32:48 +00:00
#Maintainer: Xiufeng Guo <i@m.ac>
#Maintainer: Dmytro Aleksandrov <alkersan@gmail.com>
pkgname=speedtest
pkgver=1.2.0
pkgrel=1
pkgdesc="Speedtest CLI by Ookla"
depends=("ca-certificates")
conflicts=("speedtest-cli")
arch=("x86_64")
options=(!strip)
url="https://www.speedtest.net/apps/cli"
license=("custom:Ookla EULA")
source_x86_64=("https://install.speedtest.net/app/cli/ookla-speedtest-${pkgver}-linux-x86_64.tgz")
sha256sums_x86_64=('5690596c54ff9bed63fa3732f818a05dbc2db19ad36ed68f21ca5f64d5cfeeb7')
package() {
install -Dm755 "${srcdir}/speedtest" "${pkgdir}/usr/bin/speedtest"
install -Dm644 "${srcdir}/speedtest.5" "${pkgdir}/usr/share/man/man5/speedtest.5"
}