archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pacman-mirrorlist / repos / core-any / PKGBUILD
blob767b5576706d67acf8c6f8386cc8c6397c1927d3
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Dan McGee <dan@archlinux.org>
4 pkgname=pacman-mirrorlist
5 pkgver=20230410
6 pkgrel=1
7 pkgdesc="Arch Linux mirror list for use by pacman"
8 arch=('any')
9 url="https://www.archlinux.org/mirrorlist/"
10 license=('GPL')
11 backup=(etc/pacman.d/mirrorlist)
12 source=(mirrorlist)
14 # NOTE on building this package:
15 # * Go to the trunk/ directory
16 # * Run bash -c ". PKGBUILD; updatelist"
17 # * Update the checksums, update pkgver
18 # * Build the package
20 updatelist() {
21   rm -f mirrorlist
22   curl -o mirrorlist https://archlinux.org/mirrorlist/all/
25 package() {
26   mkdir -p "$pkgdir/etc/pacman.d"
27   install -m644 "$srcdir/mirrorlist" "$pkgdir/etc/pacman.d/"
30 md5sums=('806d60f94bbc50103337ad82e63c6ab2')
31 sha256sums=('8daf30bdc9390cc58ae42c1d82f91a735ad985727f223720652c4bd3ed5a0ca6')