PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

22 lines
566 B
Bash
Raw Normal View History

2010-06-08 13:54:28 +00:00
# Maintainer: Mike Staszel <mikestaszel@plugboxlinux.org>
pkgname=pacman-mirrorlist
2011-01-23 21:38:52 +00:00
pkgver=20110123
pkgrel=1
2011-01-13 22:08:25 +00:00
plugrel=3
2010-06-08 13:54:28 +00:00
pkgdesc="Plugbox Linux mirror list for use by pacman"
arch=('arm')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist)
2011-01-23 21:38:52 +00:00
md5sums=('e3163d0db9e498335503c1b26b6a35d2')
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
}