2.42.9-1
[arch-packages.git] / pacman-mirrorlist / trunk / PKGBUILD
blobce98dc2b8e473b00f28472979905658f04837f8d
1 # Maintainer: Florian Pritz <bluewind@xinu.at>
2 # Contributor: Dan McGee <dan@archlinux.org>
4 pkgname=pacman-mirrorlist
5 pkgver=20220724
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=('414ac013b01bb6aa49a66f8eb51971b6')
31 sha256sums=('3bb6bea7409d92edee2854014bf1a467fddb744075dd18b05bf233ec5772367c')