PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2012-09-17 01:37:33 +00:00

20 lines
583 B
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
pkgname=pacman-mirrorlist
pkgver=20120916
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')
source=(mirrorlist)
md5sums=('5588fc7f02e39b83b4f175c8fd165cf0')
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
}