From 05655795ce0c1858312523444d9ad6120b25faf9 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Mon, 6 Aug 2012 17:25:29 -0500
Subject: apr: 1.4.6

---
 abs/core/apr/PKGBUILD | 28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)

diff --git a/abs/core/apr/PKGBUILD b/abs/core/apr/PKGBUILD
index b0d3f4d..a1e496a 100644
--- a/abs/core/apr/PKGBUILD
+++ b/abs/core/apr/PKGBUILD
@@ -1,31 +1,35 @@
-# $Id: PKGBUILD 72235 2010-03-13 20:22:25Z jgc $
+# $Id: PKGBUILD 158966 2012-05-13 20:20:53Z jgc $
 # Maintainer: Jan de Groot <jgc@archlinux.org>
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 # Contributor: Pierre Schmitz <pierre@archlinux.de>
 
 pkgname=apr
-pkgver=1.4.2
+pkgver=1.4.6
 pkgrel=1
 pkgdesc="The Apache Portable Runtime"
 arch=('i686' 'x86_64')
 url="http://apr.apache.org/"
-depends=('util-linux-ng>=2.16')
+depends=('util-linux')
 options=('!libtool')
 license=('APACHE')
 source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2)
-md5sums=('4b00e8f70c067893d075577962656b35')
+md5sums=('ffee70a111fd07372982b0550bbb14b7')
 
 build() {
   cd "${srcdir}/apr-${pkgver}"
-  export apr_cv_epoll_create1=no
-  export apr_cv_dup3=no
-  export apr_cv_accept4=no
-  export apr_cv_sock_cloexec=no
-
   ./configure --prefix=/usr --includedir=/usr/include/apr-1 \
     --with-installbuilddir=/usr/share/apr-1/build \
     --enable-nonportable-atomics \
-    --with-devrandom=/dev/urandom || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
+    --with-devrandom=/dev/urandom
+  make
+}
+
+check() {
+  cd "${srcdir}/apr-${pkgver}"
+  make -j1 check
+}
+
+package() {
+  cd "${srcdir}/apr-${pkgver}"
+  make DESTDIR="${pkgdir}" install
 }
-- 
cgit v0.12