PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2010-06-08 08:54:28 -05:00

20 lines
556 B
Bash
Executable file

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
pkgname=pacman-mirrorlist
pkgver=20100608
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)
md5sums=('05805348362eccadee901862e9d287b6')
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
}