summaryrefslogtreecommitdiff
path: root/extra/apr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/apr/PKGBUILD')
-rw-r--r--extra/apr/PKGBUILD13
1 files changed, 11 insertions, 2 deletions
diff --git a/extra/apr/PKGBUILD b/extra/apr/PKGBUILD
index 3f18110f0..98fb60856 100644
--- a/extra/apr/PKGBUILD
+++ b/extra/apr/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 125814 2011-05-30 09:11:42Z jgc $
+# $Id: PKGBUILD 149942 2012-02-11 23:30:26Z allan $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apr
pkgver=1.4.5
-pkgrel=1
+pkgrel=2
pkgdesc="The Apache Portable Runtime"
arch=('i686' 'x86_64')
url="http://apr.apache.org/"
@@ -24,5 +24,14 @@ build() {
--enable-nonportable-atomics \
--with-devrandom=/dev/urandom
make
+}
+
+check() {
+ cd "${srcdir}/apr-${pkgver}"
+ make -j1 check
+}
+
+package() {
+ cd "${srcdir}/apr-${pkgver}"
make DESTDIR="${pkgdir}" install
}