archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pacman-mirrorlist / repos / core-any / PKGBUILD
blob70bf99029a651fa47bcbb7fb4051a37be3148daa
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Dan McGee <dan@archlinux.org>
4 pkgname=pacman-mirrorlist
5 pkgver=20220605
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=('36acb97b145e3b04af627330785183d2')
31 sha256sums=('c2b04786f88e3266a16db97c808eb79b73c9d1223fec72825e2ac8bf79d138a6')