PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2011-01-13 17:08:25 -05:00

21 lines
566 B
Bash
Executable file

# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
pkgname=pacman-mirrorlist
pkgver=20110107
pkgrel=1
plugrel=3
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=('1255067c42e064aaf93d8c1a95d5edb7')
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
}