archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pacman-mirrorlist / trunk / PKGBUILD
blobe0f90057504c3ca0ada5d65893b6e6295c95b03a
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Dan McGee <dan@archlinux.org>
4 pkgname=pacman-mirrorlist
5 pkgver=20230226
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=('8509a072494866a4d5092ff3350cdaf6')
31 sha256sums=('aaa43f97adf0e0a5bbf8f2668237aa1d7aa35fd6e99d639602aabde09756c392')