diff options
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..353805afdb65 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = fetchmirrors + pkgdesc = Fetch new pacman mirrorlist and rank + pkgver = 0.1 + pkgrel = 1 + url = https://github.com/deadhead420/fetchmirrors + arch = any + license = GPL + depends = bash + optdepends = wget: better than curl + source = https://raw.githubusercontent.com/deadhead420/fetchmirrors/master/fetchmirrors.sh + md5sums = 12971aba783b946b07261aa2c9b34dc6 + +pkgname = fetchmirrors + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02c4613eecf2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: deadhead <deadhead3492@gmail.com> +pkgname=fetchmirrors +pkgver=0.1 +pkgrel=1 +pkgdesc="Fetch and rank new pacman mirrorlist" +arch=('any') +url="https://github.com/deadhead420/fetchmirrors" +license=('GPL') +depends=('bash') +optdepends=( + 'wget: better than curl' +) +source=('https://raw.githubusercontent.com/deadhead420/fetchmirrors/master/fetchmirrors.sh') +md5sums=('12971aba783b946b07261aa2c9b34dc6') + +package() { + cd "${srcdir}" + install -Dm755 fetchmirrors.sh $pkgdir/usr/bin/fetchmirrors +} + +# vim:set ts=2 sw=2 et: |