diff options
Diffstat (limited to 'libre/pacman-mirrorlist-libre/PKGBUILD')
-rw-r--r-- | libre/pacman-mirrorlist-libre/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/pacman-mirrorlist-libre/PKGBUILD b/libre/pacman-mirrorlist-libre/PKGBUILD new file mode 100644 index 000000000..0c30f7591 --- /dev/null +++ b/libre/pacman-mirrorlist-libre/PKGBUILD @@ -0,0 +1,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') +group=('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') |