PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

29 lines
760 B
Bash
Raw Normal View History

# $Id: PKGBUILD 66563 2010-01-31 21:48:51Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=pacman-mirrorlist
2010-02-06 07:53:30 +00:00
pkgver=20100204
pkgrel=1
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)
# NOTE on building this package:
# * Go to the trunk/ directory
# * Run bash -c ". PKGBUILD; updatelist"
# * Update the checksums, update pkgver
# * Build the package
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
}
2010-02-06 07:53:30 +00:00
md5sums=('c270b54437c49077b181babf2d843956')