summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authordeadhead4202018-07-28 20:12:45 -0400
committerdeadhead4202018-07-28 20:12:45 -0400
commite0a610f6343c48096964dfe8cf136cedad429ea1 (patch)
treeaab3bf663ff45644f2ead837db8c421c2d7d65d3 /PKGBUILD
parentd61c3a84a4cd044272fb3cf229cd49480220dd6e (diff)
downloadaur-e0a610f6343c48096964dfe8cf136cedad429ea1.tar.gz
Update fetchmirrors add rankmirrors
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9fd267b68d09..976ff30211f0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,18 +1,23 @@
# Maintainer: deadhead <deadhead3492@gmail.com>
pkgname=fetchmirrors
pkgver=0.6
-pkgrel=1
+pkgrel=2
pkgdesc="Fetch and rank new pacman mirrorlist"
arch=('any')
url="https://github.com/deadhead420/fetchmirrors"
license=('GPL')
depends=('curl')
-source=('https://raw.githubusercontent.com/deadhead420/fetchmirrors/master/fetchmirrors.sh')
-md5sums=('SKIP')
+source=('https://raw.githubusercontent.com/deadhead420/fetchmirrors/master/fetchmirrors.sh'
+ 'https://raw.githubusercontent.com/deadhead420/fetchmirrors/master/rankmirrors.sh')
+md5sums=('d2996d8b1febfeaaf6d6a8eeaa78f2a8'
+ '7fc2d6bef78c48deb4c5c32726e0ea88')
package() {
cd "${srcdir}"
install -Dm755 fetchmirrors.sh $pkgdir/usr/bin/fetchmirrors
+ if [ ! -f /usr/bin/rankmirrors ]; then
+ install -Dm755 rankmirrors.sh $pkgdir/usr/bin/rankmirrors
+ fi
}
# vim:set ts=2 sw=2 et: