mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
2db04692fc
People can have their own settings, if they don't want to use the GeoIP-decided servers. Don't just lose those, but back up properly if need.
21 lines
616 B
Bash
21 lines
616 B
Bash
# Maintainer: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20130102
|
|
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')
|
|
backup=(etc/pacman.d/mirrorlist)
|
|
source=(mirrorlist)
|
|
md5sums=('9c41e9500145567e64db78a77abbee43')
|
|
|
|
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
|
|
}
|