2010-06-08 13:54:28 +00:00
|
|
|
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
|
2010-02-05 15:34:49 +00:00
|
|
|
|
|
|
|
pkgname=pacman-mirrorlist
|
2010-06-08 13:54:28 +00:00
|
|
|
pkgver=20100608
|
2010-02-05 15:34:49 +00:00
|
|
|
pkgrel=1
|
2010-06-08 13:54:28 +00:00
|
|
|
pkgdesc="Plugbox Linux mirror list for use by pacman"
|
2010-02-05 15:34:49 +00:00
|
|
|
arch=('arm')
|
|
|
|
url="http://www.archlinux.org/pacman/"
|
|
|
|
license=('GPL')
|
|
|
|
groups=('base')
|
|
|
|
backup=(etc/pacman.d/mirrorlist)
|
|
|
|
source=(mirrorlist)
|
2010-06-08 13:54:28 +00:00
|
|
|
md5sums=('05805348362eccadee901862e9d287b6')
|
2010-02-05 15:34:49 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|