summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist-parabola/PKGBUILD
blob: 6d2d9b2f9d223aa2611d85538c5f933380f50d85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 193769 2013-08-30 15:44:51Z dan $
# Maintainer (Arch): Dan McGee <dan@archlinux.org>
# Maintainer: Esteban Carnevale <alfplayer@mailoo.org>
# Maintainer: André Silva <emulatorman@parabola.nu>

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

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

md5sums=('31c810b4eb182ee2d96243d65c8915df')