summaryrefslogtreecommitdiffstats
path: root/abs/core/apr/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-26 16:37:24 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-26 16:37:24 (GMT)
commit8214664932567081a777b202c0ea4a41dd9fd48e (patch)
tree6b8869a8d8299e8dd81a0ae5428ae13b61c9228d /abs/core/apr/PKGBUILD
parent00b8ce4cf699c6825757c077e2c58469b5b30f8d (diff)
downloadlinhes_pkgbuild-8214664932567081a777b202c0ea4a41dd9fd48e.zip
linhes_pkgbuild-8214664932567081a777b202c0ea4a41dd9fd48e.tar.gz
linhes_pkgbuild-8214664932567081a777b202c0ea4a41dd9fd48e.tar.bz2
apr: update to 1.6.3
Diffstat (limited to 'abs/core/apr/PKGBUILD')
-rw-r--r--abs/core/apr/PKGBUILD52
1 files changed, 39 insertions, 13 deletions
diff --git a/abs/core/apr/PKGBUILD b/abs/core/apr/PKGBUILD
index a1e496a..6a88a5a 100644
--- a/abs/core/apr/PKGBUILD
+++ b/abs/core/apr/PKGBUILD
@@ -1,35 +1,61 @@
-# $Id: PKGBUILD 158966 2012-05-13 20:20:53Z jgc $
+# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apr
-pkgver=1.4.6
+pkgver=1.6.3
pkgrel=1
-pkgdesc="The Apache Portable Runtime"
-arch=('i686' 'x86_64')
-url="http://apr.apache.org/"
+pkgdesc='The Apache Portable Runtime'
+arch=('x86_64')
+url='http://apr.apache.org/'
depends=('util-linux')
-options=('!libtool')
+makedepends=('python2')
license=('APACHE')
-source=(http://www.apache.org/dist/apr/apr-${pkgver}.tar.bz2)
-md5sums=('ffee70a111fd07372982b0550bbb14b7')
+source=(https://www.apache.org/dist/apr/apr-$pkgver.tar.bz2{,.asc}
+ fix_apr-config.patch
+ ship_find_apr.m4.patch
+ fix-apr.pc.patch
+ omit_extra_libs.patch
+ dont_override_external_buildflags)
+sha256sums=('131f06d16d7aabd097fa992a33eec2b6af3962f93e6d570a9bd4d85e95993172'
+ 'SKIP'
+ '91490ffee726f851edad9fc733ac6632aaf434a87920e706eeb132a97ee5f402'
+ '315932ef6536fc0644c1efe770ceb3bb675c3c7103a7cbb2f02efd8be03eb752'
+ '12595d331b48be9e44bd843635eb4f0f500bd213e197a551a9d383a28a24641f'
+ '3d491d3af8fb5a75db4e085a17e5d8dcbe058bd256ef893ee779dc97fc9f8ad6'
+ '5ac0bdc532479f6082d29115ac9d3ca24524fd8b97a556568755b88e5a68e3df')
+validpgpkeys=('5B5181C2C0AB13E59DA3F7A3EC582EB639FF092C' # Jeff Trawick
+ 'B1B96F45DFBDCCF974019235193F180AB55D9977') # Nick Kew <niq@apache.org>
+
+prepare() {
+ cd apr-$pkgver
+ patch -Np1 -i ../fix_apr-config.patch
+ patch -Np1 -i ../ship_find_apr.m4.patch
+ patch -Np1 -i ../fix-apr.pc.patch
+ patch -Np1 -i ../omit_extra_libs.patch
+ patch -Np1 -i ../dont_override_external_buildflags
+ sed -e 's/env python/env python2/' -i build/gen-build.py
+ sed -e 's/python/python2/g' -i build/buildcheck.sh
+ ./buildconf
+}
build() {
- cd "${srcdir}/apr-${pkgver}"
+ cd apr-$pkgver
./configure --prefix=/usr --includedir=/usr/include/apr-1 \
--with-installbuilddir=/usr/share/apr-1/build \
--enable-nonportable-atomics \
- --with-devrandom=/dev/urandom
+ --with-devrandom=/dev/urandom --disable-static
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
- cd "${srcdir}/apr-${pkgver}"
+ cd apr-$pkgver
make -j1 check
}
package() {
- cd "${srcdir}/apr-${pkgver}"
- make DESTDIR="${pkgdir}" install
+ cd apr-$pkgver
+ make DESTDIR="$pkgdir" install
}