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.PKGBUILD10
1 files changed, 4 insertions, 6 deletions
diff --git a/config-pacman-mirrorlist-repo.PKGBUILD b/config-pacman-mirrorlist-repo.PKGBUILD
index 875a888..d395dc3 100644
--- a/config-pacman-mirrorlist-repo.PKGBUILD
+++ b/config-pacman-mirrorlist-repo.PKGBUILD
@@ -1,16 +1,14 @@
-pkgver=1
-pkgrel=1
-arch=(any)
+. ${BUILDFILE%/*}/common.sh
+pkgver=20160712.1
-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
+add-file etc/pacman.d/mirrorlist <<EOF
+Server = https://repo.parabola.nu/\$repo/os/\$arch
EOF
}