PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2013-06-03 21:37:51 +00:00

20 lines
562 B
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=pacman-mirrorlist
pkgver=20130603
pkgrel=1
pkgdesc="Arch Linux ARM mirror list for use by pacman"
arch=('arm' 'armv7h')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist)
md5sums=('d3b26242f59377683e7584d6d05f0267')
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
}