From d1f97e05fea7cec80d1842942ada3e38c96c9c9a Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 9 Jul 2018 09:11:13 +0200 Subject: pacman-mirrorlist -> pacman-mirrorlist-ewe --- pacman-mirrorlist-ewe/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pacman-mirrorlist-ewe/PKGBUILD (limited to 'pacman-mirrorlist-ewe') 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 +# Maintainer: Erich Eckner + +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/" +} -- cgit v1.2.3-70-g09d2