summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist/PKGBUILD
blob: 9f708d5fec7f981bdca5257086962dfb12f26a01 (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: Isaac David <isacdaavid@at@isacdaavid@dot@info>
# Contributor: 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')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist-${pkgver}.txt::${url})
sha256sums=('10b116ec9a748d762538616005e10f03db3bfa63d9eb0868b8444725f6b3e363')
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
}