summaryrefslogtreecommitdiffstats
path: root/abs/core/pacman/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/pacman/PKGBUILD')
-rw-r--r--abs/core/pacman/PKGBUILD38
1 files changed, 24 insertions, 14 deletions
diff --git a/abs/core/pacman/PKGBUILD b/abs/core/pacman/PKGBUILD
index c7f2af8..877dc11 100644
--- a/abs/core/pacman/PKGBUILD
+++ b/abs/core/pacman/PKGBUILD
@@ -4,14 +4,14 @@
# Maintainer: Dave Reisner <dreisner@archlinux.org>
pkgname=pacman
-pkgver=4.2.1
-pkgrel=5
+pkgver=5.0.1
+pkgrel=2
pkgdesc="A library-based package manager with dependency support"
arch=('i686' 'x86_64')
url="http://www.archlinux.org/pacman/"
license=('GPL')
groups=('base' 'base-devel')
-depends=('bash' 'glibc' 'libarchive>=3.1.2' 'curl>=7.39.0'
+depends=('bash' 'glibc' 'libarchive' 'curl'
'gpgme' 'pacman-mirrorlist' 'archlinux-keyring')
makedepends=('asciidoc') # roundup patch alters docs
checkdepends=('python2' 'fakechroot')
@@ -21,14 +21,22 @@ replaces=('pacman-contrib')
backup=(etc/pacman.conf etc/makepkg.conf)
install=pacman.install
options=('strip' 'debug')
-source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz
+source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig}
+ 0001-libmakepkg-fix-is_array-function.patch
pacman.conf.i686
pacman.conf.x86_64
- makepkg.conf
makepkg-asroot.patch
- pacman.cron)
+ pacman.cron
+ makepkg.conf)
validpgpkeys=('6645B0A8C7005E78DB1D7864F99FFE0FEAE999BD') # Allan McRae <allan@archlinux.org>
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ patch -p1 -i $srcdir/0001-libmakepkg-fix-is_array-function.patch
+}
+
build() {
cd "$pkgname-$pkgver"
@@ -36,8 +44,8 @@ build() {
--localstatedir=/var --enable-doc \
--with-scriptlet-shell=/usr/bin/bash \
--with-ldconfig=/usr/bin/ldconfig
- make
- make -C contrib
+ make V=1
+ make -C contrib
}
check() {
@@ -93,9 +101,11 @@ package() {
mkdir -p "$pkgdir/usr/MythVantage/bin"
install -m 0644 "$srcdir/pacman.cron" "$pkgdir/usr/MythVantage/bin/pacman.cron"
}
-md5sums=('2a596fc8f723e99660c0869a74afcf47'
- '2db6c94709bb30cc614a176ecf8badb1'
- 'de74a13618347f08ae4a9637f74471c4'
- '03d578816b56852d803cbafac85b9f09'
- 'bd3319d98bfc9560b0a765241f9ad80c'
- 'd62e10ea6cc7ae617ba1a99d8f11eaf5')
+md5sums=('377a2664d6007d72d6d8a126add83bcf'
+ 'SKIP'
+ '55732144f1048f714f1f93203e9b7728'
+ 'bdb40c76225c2fd8874bd34b6a3f6ad7'
+ 'c511ee4c7a86a37e8841440ede89300d'
+ '4950b7c5adf80e082a726dd11b9cb12f'
+ 'd62e10ea6cc7ae617ba1a99d8f11eaf5'
+ 'f5b59fe5f016eebd9590318530bbd996')