summaryrefslogtreecommitdiff
path: root/config-pacman-mirrorlist-repo.PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'config-pacman-mirrorlist-repo.PKGBUILD')
-rw-r--r--config-pacman-mirrorlist-repo.PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/config-pacman-mirrorlist-repo.PKGBUILD b/config-pacman-mirrorlist-repo.PKGBUILD
new file mode 100644
index 0000000..875a888
--- /dev/null
+++ b/config-pacman-mirrorlist-repo.PKGBUILD
@@ -0,0 +1,16 @@
+pkgver=1
+pkgrel=1
+arch=(any)
+
+pkgname=config-pacman-mirrorlist-repo
+provides=(pacman-mirrorlist)
+conflicts=(pacman-mirrorlist)
+
+package() {
+cd "$pkgdir"
+
+install -Dm644 /dev/stdin etc/pacman.d/mirrorlist <<EOF
+Server = https://repo.parabola.nu/$repo/os/$arch
+EOF
+
+}