PKGBUILDs/core/pacman-mirrorlist/PKGBUILD
2012-05-30 14:31:51 -04:00

22 lines
594 B
Bash

# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
plugrel=1
pkgname=pacman-mirrorlist
pkgver=20120530
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=('29582b6338f7f66ca5abde3af0e90967')
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
}