summaryrefslogtreecommitdiff
path: root/pacman-mirrorlist-ewe
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-07-09 09:11:13 +0200
committerErich Eckner <git@eckner.net>2018-07-09 09:11:13 +0200
commitd1f97e05fea7cec80d1842942ada3e38c96c9c9a (patch)
treea3821209d3d73d918fa149b4b97bce224e497d08 /pacman-mirrorlist-ewe
parent270fe0af972ff62f6447f06bc3b07c4fd49bfafb (diff)
downloadarchlinuxewe-d1f97e05fea7cec80d1842942ada3e38c96c9c9a.tar.xz
pacman-mirrorlist -> pacman-mirrorlist-ewe
Diffstat (limited to 'pacman-mirrorlist-ewe')
-rw-r--r--pacman-mirrorlist-ewe/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pacman-mirrorlist-ewe/PKGBUILD b/pacman-mirrorlist-ewe/PKGBUILD
new file mode 100644
index 000000000..8edadf7b5
--- /dev/null
+++ b/pacman-mirrorlist-ewe/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id$
+# Contributor: Dan McGee <dan@archlinux.org>
+# Maintainer: Erich Eckner <arch at eckner dot net>
+
+pkgname=pacman-mirrorlist-ewe
+provides=(pacman-mirrorlist)
+pkgver=20180524
+pkgrel=1
+pkgdesc="Arch Linux mirror list for use by pacman - ewe's favourites"
+arch=('any')
+url="https://www.archlinux.org/mirrorlist/"
+license=('GPL')
+backup=(etc/pacman.d/mirrorlist)
+source=("https://arch.eckner.net/merged/core/os/$(uname -m)/${pkgname%-ewe}-${pkgver}-${pkgrel%%.*}-any.pkg.tar.xz")
+sha512sums=('1c1066b9a741b7e9d7eb0b6f50653df87c2013962ed8ed20d0b3c6b84bef3132f9dc9cb842e56d24edc3338c2e5505834eb56b05ae43084fd1715311c559b107')
+
+build() {
+ sed -i '
+ 0,/^$/ {
+ /^$/ i Server = https://arch.eckner.net/merged/$repo/os/$arch
+ }
+ ' 'etc/pacman.d/mirrorlist'
+}
+
+package() {
+ mkdir -p "$pkgdir/etc/pacman.d"
+ install -m644 'etc/pacman.d/mirrorlist' "$pkgdir/etc/pacman.d/"
+}