Autogenerated commit at 2023-08-09 10:28:33.106836
This commit is contained in:
32
chaotic-mirrorlist/PKGBUILD
Normal file
32
chaotic-mirrorlist/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Maintainer: dr460nf1r3 <dr460nf1r3 at chaotic dot cx>
|
||||
# Maintainer: Pedro H. Lara Campos <root@pedrohlc.com>
|
||||
# Contributor: Florian Pritz <bluewind@xinu.at>
|
||||
# Contributor: Dan McGee <dan@archlinux.org>
|
||||
|
||||
pkgname=chaotic-mirrorlist
|
||||
pkgver=20230710
|
||||
pkgrel=2
|
||||
pkgdesc="Chaotic-AUR mirrorlist to use with Pacman"
|
||||
arch=('any')
|
||||
url="https://aur.chaotic.cx"
|
||||
license=('GPL')
|
||||
backup=(etc/pacman.d/chaotic-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 "$url/mirrorlist.txt"
|
||||
}
|
||||
|
||||
package() {
|
||||
mkdir -p "$pkgdir/etc/pacman.d"
|
||||
install -m644 "$srcdir/mirrorlist" "$pkgdir/etc/pacman.d/chaotic-mirrorlist"
|
||||
}
|
||||
|
||||
sha256sums=('f1b97512ced45ec717230b74f6171865096238fafa6127467787ae0d50bfaa37')
|
Reference in New Issue
Block a user