PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

22 lines
563 B
Bash
Executable file

# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
plugrel=1
pkgname=pacman-mirrorlist
pkgver=20110525
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=('947b0f4da658b2e8a90d42bb7f1f1053')
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
}