summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist/PKGBUILD
blob: 59fa1d7a3097e12694adb10f67d8d874d1df2c42 (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@hyperbola.info>
# 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})
sha256sums=('09d331dac77621d587f67a97806d6f9fa341b11e5678ec76ce13cc29bcd0b566')
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
}