diff options
author | Erich Eckner <git@eckner.net> | 2025-01-20 20:36:32 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2025-01-20 20:36:32 +0100 |
commit | b9d05e6ed5c33a24d98cc0747a33e56c4ef2e6f1 (patch) | |
tree | 569b0db66cb2a8b0eebbc594147d6f4a8050bd9b | |
parent | 4e6a13682ab5803ca98078bf920b2ad8dbf30667 (diff) | |
download | archlinuxewe-b9d05e6ed5c33a24d98cc0747a33e56c4ef2e6f1.tar.xz |
pacman-mirrorlist32 20220318 -> 20241114
-rw-r--r-- | pacman-mirrorlist32/PKGBUILD | 30 |
1 files changed, 10 insertions, 20 deletions
diff --git a/pacman-mirrorlist32/PKGBUILD b/pacman-mirrorlist32/PKGBUILD index cb6d9a8f8..c78c40e90 100644 --- a/pacman-mirrorlist32/PKGBUILD +++ b/pacman-mirrorlist32/PKGBUILD @@ -3,36 +3,26 @@ # repo: releng pkgname=pacman-mirrorlist32 -pkgver=20220318 +pkgver=20241114 pkgrel=1 pkgdesc=$(printf '%s' 'Arch Linux mirror list for use by pacman for i68' '6 packages on an x86' '_64 host') arch=('any') url="https://www.archlinux32.org/" license=('GPL') backup=(etc/pacman.d/mirrorlist32) -source=(archlinux32-packages::git+ssh://gitolite@git.archlinux32.org/packages.git) -sha512sums=('SKIP') -makedepends=('git') +source=("mirrorlist-${pkgver}::https://git.archlinux32.org/packages/tree/core/pacman-mirrorlist/mirrorlist") +sha512sums=('e4426035c26de421d8689af61410ba0346e21f9b34fd0f9b3c67cfecb5cc71cbf1013fc11af9e2b45e37299cd527d23ec36bbfdb47de11bcfc3fa2d85716f2ee') pkgver() { - { - git -C "$srcdir/archlinux32-packages" archive HEAD -- 'core/pacman-mirrorlist/PKGBUILD' | \ - tar -Ox | \ - grep '^pkgver=' || \ - { - pacman -Ss '^pacman-mirrorlist$' | \ - sed -n ' - s,^core/pacman-mirrorlist ,, - T - s/-.*$// - p - ' - } - } | \ - cut -d= -f2 + curl -LSs https://mirror.archlinux32.org/pentium4/core/ \ + | grep -ow 'pacman-mirrorlist-[0-9]\+-[0-9.]\+-any\.pkg\.tar' \ + | grep -ow '[0-9]\+-[0-9.]\+' \ + | cut -d- -f1 \ + | sort -V \ + | tail -n1 } package() { mkdir -p "$pkgdir/etc/pacman.d" - install -m644 "$srcdir/archlinux32-packages/core/pacman-mirrorlist/mirrorlist" "$pkgdir/etc/pacman.d/mirrorlist32" + install -m644 "$srcdir/mirrorlist-${pkgver}" "$pkgdir/etc/pacman.d/mirrorlist32" } |