From 047ba147102b637673ba36cf27961f3f954273ae Mon Sep 17 00:00:00 2001 From: Xiufeng Guo Date: Mon, 15 Aug 2022 00:32:48 +0000 Subject: [PATCH] Add speedtest --- .gitignore | 1 + README.md | 1 + repo/speedtest/PKGBUILD | 22 ++++++++++++++++++++++ 3 files changed, 24 insertions(+) create mode 100644 repo/speedtest/PKGBUILD diff --git a/.gitignore b/.gitignore index 0d4d1b2..214c984 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ *.gz *.zip *.otf +*.tgz diff --git a/README.md b/README.md index 557d4d2..8fdbe50 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/repo/speedtest/PKGBUILD b/repo/speedtest/PKGBUILD new file mode 100644 index 0000000..c932c47 --- /dev/null +++ b/repo/speedtest/PKGBUILD @@ -0,0 +1,22 @@ +#Maintainer: Xiufeng Guo +#Maintainer: Dmytro Aleksandrov + +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" +}