archlinux/repo/speedtest/PKGBUILD
2022-12-22 17:43:30 +00:00

23 lines
677 B
Bash

#Maintainer: Xiufeng Guo <i@m.ac>
#Maintainer: Dmytro Aleksandrov <alkersan@gmail.com>
pkgname=speedtest
pkgver=1.2.0
pkgrel=2
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"
}