# $Id: PKGBUILD 88892 2010-08-26 04:28:34Z dan $ # Maintainer: Dan McGee # Maintainer Parabola GNU/Linux: Joshua Ismael 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')