summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..8b3eee860823
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: zhullyb <zhullyb@outlook.com>
+
+pkgname=pacman-mirrorlist-cn-git
+pkgver=20210216
+pkgrel=1
+pkgdesc="Arch Linux China Mainland mirror list for use by pacman"
+arch=('x86_64')
+url="https://github.com/zhullyb/pacman-mirrorlist-cn"
+conflicts=('pacman-mirrorlist')
+provides=('pacman-mirrorlist')
+license=('custom')
+backup=(etc/pacman.d/mirrorlist)
+source=("git+https://github.com/zhullyb/pacman-mirrorlist-cn.git")
+md5sums=('SKIP')
+
+package() {
+ mkdir -p "$pkgdir/etc/pacman.d"
+ install -m644 "$srcdir/pacman-mirrorlist-cn/mirrorlist" "$pkgdir/etc/pacman.d/"
+}