mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
28 lines
760 B
Bash
Executable file
28 lines
760 B
Bash
Executable file
# $Id: PKGBUILD 66563 2010-01-31 21:48:51Z dan $
|
|
# Maintainer: Dan McGee <dan@archlinux.org>
|
|
|
|
pkgname=pacman-mirrorlist
|
|
pkgver=20100204
|
|
pkgrel=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)
|
|
|
|
# NOTE on building this package:
|
|
# * Go to the trunk/ directory
|
|
# * Run bash -c ". PKGBUILD; updatelist"
|
|
# * Update the checksums, update pkgver
|
|
# * Build the package
|
|
|
|
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
|
|
}
|
|
|
|
md5sums=('c270b54437c49077b181babf2d843956')
|