mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
21 lines
562 B
Bash
Executable file
21 lines
562 B
Bash
Executable file
# Maintainer: Mike Staszel <mikestaszel@plugapps.com>
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20110328
|
|
pkgrel=1
|
|
plugrel=1
|
|
pkgdesc="Plugbox Linux 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=('8b06c0025578cdf008f99d79d7470218')
|
|
|
|
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
|
|
}
|