diff options
author | Erich Eckner <git@eckner.net> | 2017-10-22 15:33:44 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-10-22 15:33:44 +0200 |
commit | 45eb9523b3fa95e5880b28a4d6ebb8425302a084 (patch) | |
tree | 270c7eacb9695eccb96d706264cbd4c60a3f8dfe | |
parent | f37a90f3a405a63b97ddc1b263e2db09c48865fa (diff) | |
download | archlinuxewe.git.save-45eb9523b3fa95e5880b28a4d6ebb8425302a084.tar.xz |
pacman-mirrorlist: an neues mirror-layout angepasst
-rw-r--r-- | pacman-mirrorlist/PKGBUILD | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/pacman-mirrorlist/PKGBUILD b/pacman-mirrorlist/PKGBUILD index 134f0c39..e88e4a26 100644 --- a/pacman-mirrorlist/PKGBUILD +++ b/pacman-mirrorlist/PKGBUILD @@ -4,30 +4,30 @@ pkgname=pacman-mirrorlist pkgver=20171017 -pkgrel=1 +pkgrel=1.1 pkgdesc="Arch Linux mirror list for use by pacman" arch=('any') url="https://www.archlinux.org/mirrorlist/" license=('GPL') backup=(etc/pacman.d/mirrorlist) -source=("${pkgname}-${pkgver}-${pkgrel}-any-original.tar.xz::https://arch.eckner.net/core/os/$(uname -m)/${pkgname}-${pkgver}-${pkgrel}-any.pkg.tar.xz") +source=("${pkgname}-${pkgver}-${pkgrel%%.*}-any-original.tar.xz::https://arch.eckner.net/core/os/$(uname -m)/${pkgname}-${pkgver}-${pkgrel%%.*}-any.pkg.tar.xz") sha512sums=('81bb41b9ce497c64914fc349a0d20965bbd2055bbdd546d27c6c55b387f5f1ae8231d46d3d3ade568ba6c179b133eeaac90045c0c9962ac279bdbc138320da0b') build() { - cat etc/pacman.d/mirrorlist | \ - ( - while read s - do - echo "${s}" - if [ -z "${s}" ] - then - echo 'Server = https://arch.eckner.net/$repo/os/$arch' - echo '' - break - fi - done - cat - ) \ + { + while read s + do + echo "${s}" + if [ -z "${s}" ] + then + echo 'Server = https://arch.eckner.net/merged/$repo/os/$arch' + echo '' + break + fi + done + cat + } \ + < etc/pacman.d/mirrorlist \ > mirrorlist } |