diff options
author | Nikita Almakov | 2021-06-24 13:01:48 +0300 |
---|---|---|
committer | Nikita Almakov | 2021-06-24 13:01:48 +0300 |
commit | 174c682d94fce095dc2312b31cf9db0e4ddacf0e (patch) | |
tree | 43cd1fc2ccaf8fee36cb143894d7b6bf1f7c07e5 | |
download | aur-174c682d94fce095dc2312b31cf9db0e4ddacf0e.tar.gz |
v0.4.0
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | PKGBUILD | 27 |
4 files changed, 46 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..67b2167aea5b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = rate-mirrors-bin + pkgdesc = Everyday-use client-side map-aware mirror ranking tool (arch, manjaro, custom) - pre-built with musl + pkgver = 0.4.0 + pkgrel = 1 + url = https://github.com/westandskif/rate-mirrors + arch = x86_64 + license = custom + conflicts = rate-mirrors + source = rate-mirrors-bin-0.4.0.tar.gz::https://github.com/westandskif/rate-mirrors/releases/download/v0.4.0/rate-mirrors-v0.4.0-x86_64-unknown-linux-musl.tar.gz + sha512sums = a472119407bb3a1121e63df3defcb97497bbe3eedd2c803c1bbdb84deecea2e22213437c07c16b5f9af286597b72c7ad0789fe99912b38efe52339bca68178b6 + +pkgname = rate-mirrors-bin diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..582c8bbdcf30 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +tags +pkg/ +src/ +*.zst +*.gz diff --git a/Makefile b/Makefile new file mode 100644 index 000000000000..743c0e4a5a35 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +srcinfo: + makepkg --printsrcinfo > .SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2f289f7f2a9d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Nikita Almakov <nikita.almakov@gmail.com> + +pkgname=rate-mirrors-bin +pkgver=0.4.0 +pkgrel=1 +pkgdesc="Everyday-use client-side map-aware mirror ranking tool (arch, manjaro, custom) - pre-built with musl" +url="https://github.com/westandskif/rate-mirrors" +license=('custom') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/westandskif/rate-mirrors/releases/download/v${pkgver}/rate-mirrors-v${pkgver}-x86_64-unknown-linux-musl.tar.gz") +arch=('x86_64') +depends=() +makedepends=() +conflicts=('rate-mirrors') +sha512sums=('a472119407bb3a1121e63df3defcb97497bbe3eedd2c803c1bbdb84deecea2e22213437c07c16b5f9af286597b72c7ad0789fe99912b38efe52339bca68178b6') + +build() { + tar xzf "${pkgname}-${pkgver}.tar.gz" +} + +package() { + cd "rate-mirrors-v${pkgver}-x86_64-unknown-linux-musl" + + install -Dm755 "rate_mirrors" "$pkgdir/usr/bin/rate-mirrors" + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" +} + +#vim: syntax=sh |