summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/pacman
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/pacman')
-rw-r--r--abs/core/pacman/PKGBUILD38
-rw-r--r--abs/core/pacman/pacman.conf1
2 files changed, 18 insertions, 21 deletions
diff --git a/abs/core/pacman/PKGBUILD b/abs/core/pacman/PKGBUILD
index ccd1857..ecb96c7 100644
--- a/abs/core/pacman/PKGBUILD
+++ b/abs/core/pacman/PKGBUILD
@@ -1,46 +1,42 @@
-# $Id: PKGBUILD 10342 2008-08-27 01:24:22Z dan $
+# $Id: PKGBUILD 23245 2009-01-07 02:10:32Z dan $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Maintainer: Dan McGee <dan@archlinux.org>
pkgname=pacman
-pkgver=3.2.1
-pkgrel=10
+pkgver=3.2.2
+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.5.5' 'libdownload>=1.3')
+depends=('bash' 'libarchive>=2.6.0' 'libdownload>=1.3' 'pacman-mirrorlist')
+optdepends=('fakeroot: for makepkg usage as normal user'
+ 'python: for rankmirrors script usage')
backup=(etc/pacman.conf etc/makepkg.conf etc/pacman.d/mirrorlist)
install=pacman.install
options=(!libtool)
source=(ftp://ftp.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
- pacman.conf
- mirrorlist)
-md5sums=('5b133613cebd74aa8c199de049e25cc4'
- '49b799e923933a30cdefcac06f530fb0'
- 'a16981c0fef957a95999550f68cdb0f8')
+ pacman.conf)
+md5sums=('8404fc38566bb52f8eee2ea483a41051'
+ '27271a59b9c9f748547ef4feae90bc5c')
build() {
- cd $startdir/src/$pkgname-$pkgver
+ cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make || return 1
- make DESTDIR=$startdir/pkg install || return 1
+ make DESTDIR=$pkgdir install || return 1
# install arch specific stuff
- mkdir -p ${startdir}/pkg/etc/pacman.d
- install -m644 ${startdir}/src/pacman.conf ${startdir}/pkg/etc/
- install -m644 ${startdir}/src/mirrorlist ${startdir}/pkg/etc/pacman.d/
-
- # customize mirrorlist to architecture
- sed -i -e "s/@carch@/${CARCH}/g" ${startdir}/pkg/etc/pacman.d/mirrorlist
+ mkdir -p $pkgdir/etc
+ install -m644 $srcdir/pacman.conf $pkgdir/etc/
# install completion files
- mkdir -p $startdir/pkg/etc/bash_completion.d/
- install -m644 contrib/bash_completion $startdir/pkg/etc/bash_completion.d/pacman
- mkdir -p $startdir/pkg/usr/share/zsh/site-functions/
- install -m644 contrib/zsh_completion $startdir/pkg/usr/share/zsh/site-functions/_pacman
+ mkdir -p $pkgdir/etc/bash_completion.d/
+ install -m644 contrib/bash_completion $pkgdir/etc/bash_completion.d/pacman
+ mkdir -p $pkgdir/usr/share/zsh/site-functions/
+ install -m644 contrib/zsh_completion $pkgdir/usr/share/zsh/site-functions/_pacman
}
# vim: set ts=2 sw=2 et:
diff --git a/abs/core/pacman/pacman.conf b/abs/core/pacman/pacman.conf
index 6a7bd54..6fe3d29 100644
--- a/abs/core/pacman/pacman.conf
+++ b/abs/core/pacman/pacman.conf
@@ -18,6 +18,7 @@ HoldPkg = pacman glibc
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
+#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =