PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2013-12-10 05:12:08 +00:00

20 lines
580 B
Bash

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