summaryrefslogtreecommitdiff
path: root/libre/pacman-mirrorlist-libre/PKGBUILD
blob: 9117277a7fed57dfecb96c931ede7bbd07e52cbd (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
26
27
# $Id: PKGBUILD 88892 2010-08-26 04:28:34Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
# Maintainer Parabola GNU/Linux: Joshua Ismael <hahj87@gmail.com>

pkgname=pacman-mirrorlist-libre
pkgver=$(date +%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::${url})
conflicts=(pacman-mirrorlist)
replaces=(pacman-mirrorlist)
provides=(pacman-mirrorlist)
md5sums=('83cc258f57e6e9501246270bf776849e')

# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'

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