PKGBUILDs/core/pacman-mirrorlist/PKGBUILD

29 lines
760 B
Bash
Executable file

# $Id: PKGBUILD 66563 2010-01-31 21:48:51Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=pacman-mirrorlist
pkgver=20100131
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
}
md5sums=('958304eb7a6ff087e086ede79246048c')