diff options
Diffstat (limited to 'extra/serf/PKGBUILD')
-rw-r--r-- | extra/serf/PKGBUILD | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/extra/serf/PKGBUILD b/extra/serf/PKGBUILD index 62ee26866..c5429b0c4 100644 --- a/extra/serf/PKGBUILD +++ b/extra/serf/PKGBUILD @@ -1,33 +1,31 @@ -# $Id: PKGBUILD 188137 2013-06-10 13:00:19Z bpiotrowski $ +# $Id: PKGBUILD 193131 2013-08-17 07:19:26Z angvp $ # Maintainer: Stéphane Gaudreault <stephane@archlinux.org> + pkgname=serf -pkgver=1.2.1 +pkgver=1.3.0 pkgrel=1 pkgdesc="High-performance asynchronous HTTP client library" -url="http://code.google.com/p/serf/" arch=('i686' 'x86_64') +url="http://code.google.com/p/serf/" license=('Apache') -depends=('apr' 'apr-util' 'openssl' 'zlib') +depends=('apr-util') +makedepends=('scons') +options=('!libtool' '!staticlibs') source=(http://serf.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2) -sha1sums=('f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd') -options=('!libtool') +sha1sums=('14ed3e1dc195016a548499b3831f3df6b2501d27') build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - ./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr --with-openssl=/usr - make + cd ${pkgname}-${pkgver} + scons PREFIX=/usr } check() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make check + cd ${pkgname}-${pkgver} + scons check } package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" install - rm "${pkgdir}"/usr/lib/libserf-1.a + cd ${pkgname}-${pkgver} + install -d "${pkgdir}/usr" + scons PREFIX="${pkgdir}/usr" install } |