blob: 65fc932ef1adcd7470ae47668146095590d3edc5 (
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
28
29
30
31
32
33
34
35
36
37
|
# $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 mirror list for use by pacman"
arch=('any')
url="http://repo.parabolagnulinux.org/files/mirrorlist"
license=('GPL')
groups=('base')
#backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist)
conflicts=(pacman-mirrorlist)
replaces=(pacman-mirrorlist)
provides=(pacman-mirrorlist)
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
# NOTE on building this package:
# * Go to the trunk/ directory
# * Run bash -c ". PKGBUILD; updatelist"
# * Update the checksums, update pkgver
# * Build the package
updatelist() {
wget -O mirrorlist http://repo.parabolagnulinux.org/files/mirrorlist
}
build() {
mkdir -p $pkgdir/etc/pacman.d
install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/
}
md5sums=('6440731bd17b4b6da3927e4882783946')
|