core/pacman-mirrorlist/PKGBUILD
2011-02-21 19:15:49 +00:00

29 lines
869 B
Bash

#
# Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=pacman-mirrorlist
pkgver=20110221
pkgrel=1
pkgdesc="Chakra Linux mirror list for use by pacman"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
backup=(etc/pacman.d/mirrorlist)
source=(mirrorlist)
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=('1d1727007e3f46fd57c941a985e97ea8')
sha256sums=('1eb104e986ff129dac8684ed8b035650cf4a9908ea4ab1358683957dee1209f0')