PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

23 lines
585 B
Bash
Raw Normal View History

2012-01-09 23:04:16 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
plugrel=1
pkgname=pacman-mirrorlist
2012-01-09 23:04:16 +00:00
pkgver=20120109
pkgrel=1
pkgdesc="Arch Linux ARM mirror list for use by pacman"
arch=('arm')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
source=(mirrorlist)
2012-01-09 23:04:16 +00:00
md5sums=('57b3e0388c3983b9d4bb7b6919658029')
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
}