31 lines
821 B
Text
31 lines
821 B
Text
# Maintainer: Florian Pritz <bluewind@xinu.at>
|
|
# Contributor: Dan McGee <dan@archlinux.org>
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20220227
|
|
pkgrel=1
|
|
pkgdesc="Arch Linux mirror list for use by pacman"
|
|
arch=('any')
|
|
url="https://www.archlinux.org/mirrorlist/"
|
|
license=('GPL')
|
|
backup=(etc/pacman.d/mirrorlist)
|
|
source=(mirrorlist)
|
|
|
|
# NOTE on building this package:
|
|
# * Go to the trunk/ directory
|
|
# * Run bash -c ". PKGBUILD; updatelist"
|
|
# * Update the checksums, update pkgver
|
|
# * Build the package
|
|
|
|
updatelist() {
|
|
rm -f mirrorlist
|
|
curl -o mirrorlist https://archlinux.org/mirrorlist/all/
|
|
}
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir/etc/pacman.d"
|
|
install -m644 "$srcdir/mirrorlist" "$pkgdir/etc/pacman.d/"
|
|
}
|
|
|
|
md5sums=('4d128b619e8a091c03bf4d9afc98ce82')
|
|
sha256sums=('09192974301b9bc282a39be1a0e5f5abbb24724e11d18a7fe0737f07b198e12d')
|