diff options
author | Tom Willemse | 2016-10-10 13:18:40 +0200 |
---|---|---|
committer | Tom Willemse | 2016-10-10 13:18:52 +0200 |
commit | 53f14989b8c27d2390fc23490d63a73a3fb81f2c (patch) | |
tree | 380665be330517964118118afac34af709953237 | |
parent | 1a44def35eaaa4b7f583b3376e0321dec485271d (diff) | |
download | update-mirrors-53f14989b8c27d2390fc23490d63a73a3fb81f2c.tar.gz update-mirrors-53f14989b8c27d2390fc23490d63a73a3fb81f2c.zip |
Add PKGBUILD
Installing this package will automatically keep the pacman mirrorlist
updated whenever the pacman-mirrorlist package is updated.
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..296aa85 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +pkgname=update-mirrors +pkgver=0.1.0 +pkgrel=1 +pkgdesc="Automatically update the pacman mirrorlist" +arch=('any') +url="https://github.com/ryuslash/update-mirrors" +license=('GPL3') +depends=('curl') +source=('config.sh' 'update-mirrors' 'update-mirrors.hook') +md5sums=('f346650dfe6e27c04857fe818e164981' + 'bbc657bf2f3305c05a187bfae0340187' + 'da17120353c50b53f7478f72bbac04e8') + +package() { + install -Dm755 config.sh "${pkgdir}/etc/xdg/update-mirrors/config.sh" + install -Dm755 update-mirrors "${pkgdir}/usr/bin/update-mirrors" + install -Dm755 update-mirrors.hook "${pkgdir}/etc/pacman.d/hooks/update-mirrors.hook" +} |