mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
20 lines
583 B
Bash
20 lines
583 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20120826
|
|
pkgrel=1
|
|
pkgdesc="Arch Linux ARM mirror list for use by pacman"
|
|
arch=('arm' 'armv7h')
|
|
url="http://www.archlinux.org/pacman/"
|
|
license=('GPL')
|
|
groups=('base')
|
|
source=(mirrorlist)
|
|
md5sums=('789ea78a774a4bf7919d23e51dc4c211')
|
|
|
|
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
|
|
}
|