PKGBUILD 650 Bytes
Newer Older
abveritas's avatar
abveritas committed
1
# maintainer : abveritas[at]chakra-project[dot]org>
abveritas's avatar
abveritas committed
2
# maintainer : Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
Phil Miller's avatar
Phil Miller committed
3

Jan Mette's avatar
Jan Mette committed
4
pkgname=pacman-mirrorlist
5
pkgver=20130529
6
pkgrel=1
Phil Miller's avatar
Phil Miller committed
7
pkgdesc="Chakra Linux mirror list for use by pacman"
8
arch=('x86_64')
Jan Mette's avatar
Jan Mette committed
9 10
url="http://www.archlinux.org/pacman/"
license=('GPL')
11
depends=('mirror-check')
Jan Mette's avatar
Jan Mette committed
12 13
groups=('base')
backup=(etc/pacman.d/mirrorlist)
14
source=('mirrorlist')
15
md5sums=('bcbe341e631cc84a987e60175a1126cd')
Jan Mette's avatar
Jan Mette committed
16 17 18 19 20 21 22 23

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
}