summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist/PKGBUILD
blob: 26b46c74cf46b3a5259c4d32d2126b089b9ea731 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer (Arch): Dan McGee <dan@archlinux.org>
# Maintainer: André Silva <emulatorman@parabola.nu>
# Contributor: Esteban Carnevale <alfplayer@mailoo.org>

pkgname=pacman-mirrorlist
pkgver=$(LC_ALL=C date -u +%Y%m%d)
pkgrel=1.parabola1
pkgdesc="Parabola GNU/Linux-libre mirror list for use by pacman"
arch=('any')
url="https://repo.parabola.nu/mirrorlist.txt"
license=('GPL')
groups=('base' 'base-openrc')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist-${pkgver}.txt::${url})
sha512sums=('d666c20a5f07faecdfca2a02825c05d48e4315a4e57a0cbfc5ce2387c8259214129698342409100ce464818614b62873520e5867fa66b0dd90ab148bd61b62d4')
conflicts=(pacman-mirrorlist-libre pacman-mirrorlist-parabola)
replaces=(pacman-mirrorlist-libre pacman-mirrorlist-parabola)

package() {
  mkdir -p $pkgdir/etc/pacman.d
  install -m644 $srcdir/mirrorlist-${pkgver}.txt $pkgdir/etc/pacman.d/mirrorlist
}