2010-02-05 15:34:49 +00:00
|
|
|
# $Id: PKGBUILD 66563 2010-01-31 21:48:51Z dan $
|
|
|
|
# Maintainer: Dan McGee <dan@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=pacman-mirrorlist
|
2010-02-06 07:53:30 +00:00
|
|
|
pkgver=20100204
|
2010-02-05 15:34:49 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="PlugBox Linux mirror list for use by pacman"
|
|
|
|
arch=('arm')
|
|
|
|
url="http://www.archlinux.org/pacman/"
|
|
|
|
license=('GPL')
|
|
|
|
groups=('base')
|
|
|
|
backup=(etc/pacman.d/mirrorlist)
|
|
|
|
source=(mirrorlist)
|
|
|
|
|
|
|
|
# NOTE on building this package:
|
|
|
|
# * Go to the trunk/ directory
|
|
|
|
# * Run bash -c ". PKGBUILD; updatelist"
|
|
|
|
# * Update the checksums, update pkgver
|
|
|
|
# * Build the package
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p $pkgdir/etc/pacman.d
|
|
|
|
install -m644 $srcdir/mirrorlist $pkgdir/etc/pacman.d/
|
|
|
|
# customize mirrorlist to architecture
|
|
|
|
sed -i -e "s/@carch@/${CARCH}/g" $pkgdir/etc/pacman.d/mirrorlist
|
|
|
|
}
|
|
|
|
|
2010-02-06 07:53:30 +00:00
|
|
|
md5sums=('c270b54437c49077b181babf2d843956')
|