blob: 09e0f4b3eecb7d3b761a0af047010aed514cab9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# $Id: PKGBUILD 120035 2011-04-18 16:49:22Z dan $
# Maintainer: Dan McGee <dan@archlinux.org>
CARCH=x86_64
pkgname=pacman
pkgver=3.5.2
pkgrel=1.1
_pkgrel=1
pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base')
depends=('bash' 'libarchive>=2.8.4' 'libfetch>=2.28' 'pacman-mirrorlist')
optdepends=('fakeroot: for makepkg usage as normal user'
'curl: for rankmirrors usage')
backup=(etc/pacman.conf etc/makepkg.conf)
install=pacman.install
options=(!libtool !strip)
source=(http://repo.parabolagnulinux.org/core/os/$CARCH/$pkgname-$pkgver-$_pkgrel-$CARCH.pkg.tar.gz
pacman.conf
pacman.conf.x86_64
makepkg.conf)
# keep an upgrade path for older installations
PKGEXT='.pkg.tar.gz'
build() {
cd "${srcdir}/"
rm .{INSTALL,PKGINFO} $pkgname-$pkgver-$_pkgrel-$CARCH.pkg.tar.gz
}
package() {
cp -a ./* ${pkgdir}
rm $pkgdir/etc/pacman.conf
case "$CARCH" in
i686)
install -m644 $srcdir/pacman.conf $pkgdir/etc/pacman.conf
;;
x86_64)
install -m644 $srcdir/pacman.conf.x86_64 $pkgdir/etc/pacman.conf
;;
esac
}
# vim: set ts=2 sw=2 et:
|