summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..e413db6d4156
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+# Maintainer: Denton Liu <liu.denton@gmail.com>
+
+pkgname=reflector-mirrorlist-update
+pkgver=1.0
+pkgrel=1
+pkgdesc="Use reflector to update mirrorlist when pacman-mirrorlist is updated"
+arch=('any')
+license=('GPL')
+depends=('sh' 'systemd' 'reflector')
+source=("${pkgname}.hook")
+sha256sums=('86c37645da78cfd7fe29cfe9e4fbe798dc0d9b0c3aa306364178d0f7d5b3c7f1')
+
+package() {
+ cd "$srcdir"
+ install -Dm 644 "${pkgname}.hook" "${pkgdir}/usr/share/libalpm/hooks/${pkgname}.hook"
+}