mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
22 lines
564 B
Bash
Executable file
22 lines
564 B
Bash
Executable file
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
plugrel=1
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20110623
|
|
pkgrel=1
|
|
pkgdesc="Arch Linux ARM 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)
|
|
md5sums=('db4766258618be0f881a02908a56d0f3')
|
|
|
|
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
|
|
}
|