PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

22 lines
531 B
Bash
Raw Normal View History

# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
plugrel=1
pkgname=pacman-mirrorlist
2011-08-08 23:06:34 +00:00
pkgver=20110808
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)
2011-08-08 23:06:34 +00:00
md5sums=('202f9c206ceee4ddb8cc7ba571e21d02')
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
}