mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
New pacman PKGBUILDs with pacman-mirrorlist
This commit is contained in:
parent
82ded5974f
commit
f3dbdc004e
4 changed files with 42 additions and 7 deletions
28
core/pacman-mirrorlist/PKGBUILD
Executable file
28
core/pacman-mirrorlist/PKGBUILD
Executable file
|
@ -0,0 +1,28 @@
|
|||
# $Id: PKGBUILD 66563 2010-01-31 21:48:51Z dan $
|
||||
# Maintainer: Dan McGee <dan@archlinux.org>
|
||||
|
||||
pkgname=pacman-mirrorlist
|
||||
pkgver=20100131
|
||||
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=('958304eb7a6ff087e086ede79246048c')
|
7
core/pacman-mirrorlist/mirrorlist
Executable file
7
core/pacman-mirrorlist/mirrorlist
Executable file
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# PlugBox Linux repository mirrorlist
|
||||
# Generated on 2010-02-04
|
||||
#
|
||||
|
||||
# Main Server
|
||||
Server = http://plugapps.com/@arch@/$repo
|
|
@ -3,23 +3,23 @@
|
|||
|
||||
pkgname=pacman
|
||||
pkgver=3.3.3
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A library-based package manager with dependency support"
|
||||
arch=('arm')
|
||||
url="http://www.archlinux.org/pacman/"
|
||||
license=('GPL')
|
||||
groups=('base')
|
||||
depends=('bash' 'libarchive>=2.7.1' 'libfetch>=2.25')
|
||||
depends=('bash' 'libarchive>=2.7.1' 'libfetch>=2.25' 'pacman-mirrorlist')
|
||||
optdepends=('fakeroot: for makepkg usage as normal user'
|
||||
'python: for rankmirrors script usage')
|
||||
backup=(etc/pacman.conf etc/makepkg.conf)
|
||||
backup=(etc/makepkg.conf)
|
||||
install=pacman.install
|
||||
options=(!libtool)
|
||||
source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
|
||||
pacman.conf
|
||||
makepkg.conf)
|
||||
md5sums=('a8cef73d68e2a4c3a46fb46c33210719'
|
||||
'98cfef5a0c41a987ba9ee5672345026b'
|
||||
'8a1eea46c9af940a8812dfb4bbbd159d'
|
||||
'ce00f190714c02ef26117ecfdf5fa296')
|
||||
|
||||
build() {
|
||||
|
|
|
@ -38,10 +38,10 @@ SyncFirst = pacman
|
|||
#
|
||||
|
||||
[core]
|
||||
Server = http://plugapps.com/arm/core/
|
||||
Include=/etc/pacman.d/mirrorlist
|
||||
|
||||
[extra]
|
||||
Server = http://plugapps.com/arm/extra/
|
||||
Include=/etc/pacman.d/mirrorlist
|
||||
|
||||
[community]
|
||||
Server = http://plugapps.com/arm/community/
|
||||
Include=/etc/pacman.d/mirrorlist
|
||||
|
|
Loading…
Reference in a new issue