PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

21 lines
571 B
Bash
Raw Normal View History

2012-01-09 23:04:16 +00:00
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
pkgname=pacman-mirrorlist
2013-09-05 13:10:00 +00:00
pkgver=20130905
pkgrel=1
pkgdesc="Arch Linux ARM mirror list for use by pacman"
2013-07-25 16:52:41 +00:00
arch=('arm' 'armv6h' 'armv7h')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist)
2013-09-05 13:10:00 +00:00
md5sums=('1c7fdc1e00344b2ffc6a5fbf4790dab1')
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
}