Add speedtest

This commit is contained in:
Xiufeng Guo 2022-08-15 00:32:48 +00:00
parent 251f4f203c
commit 047ba14710
Signed by: showfom
GPG Key ID: 29A7777777777777
3 changed files with 24 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,3 +12,4 @@
*.gz
*.zip
*.otf
*.tgz

View File

@ -82,6 +82,7 @@ Here is the list:
| vanity_gpg | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vanity_gpg | https://git.m.ac/showfom/archlinux/src/branch/main/repo/vanity_gpg/PKGBUILD | [GitHub](https://github.com/RedL0tus/VanityGPG) |
| otf-openmoji | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=otf-openmoji | https://git.m.ac/showfom/archlinux/src/branch/main/repo/otf-openmoji/PKGBUILD | [GitHub](https://github.com/hfg-gmuend/openmoji) |
| noto-fonts-sc | https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=noto-fonts-sc | https://git.m.ac/showfom/archlinux/src/branch/main/repo/noto-fonts-sc/PKGBUILD | [GitHub](https://github.com/googlefonts/noto-cjk) |
| speedtest | https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ookla-speedtest-bin | https://git.m.ac/showfom/archlinux/src/branch/main/repo/speedtest/PKGBUILD | [Source](https://www.speedtest.net/apps/cli) |
## License

22
repo/speedtest/PKGBUILD Normal file
View File

@ -0,0 +1,22 @@
#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"
}