1 # $Id: PKGBUILD 84561 2010-06-30 23:36:38Z dgriffiths $
2 # Contributor: Eric Belanger <eric@archlinux.org>
3 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
4 # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
9 pkgdesc="An URL retrival utility and library with c-ares support"
10 arch=('i686' 'x86_64')
11 url="http://curl.haxx.se"
13 depends=('zlib' 'openssl' 'bash' 'ca-certificates' 'c-ares')
16 provides=('curl=${pkgver}')
17 source=("http://curl.haxx.se/download/curl-${pkgver}.tar.bz2")
18 md5sums=('e1a2a773e93a39f3c04cab92c55bf197')
21 cd ${srcdir}/curl-${pkgver}
24 --enable-ares=/usr/include \
25 --with-random=/dev/urandom \
27 --mandir=/usr/share/man \
28 --disable-dependency-tracking \
33 --enable-versioned-symbols \
34 --with-ca-path=/etc/ssl/certs \
35 --without-libidn || return 1
40 cd ${srcdir}/curl-${pkgver}
42 make DESTDIR=${pkgdir} install || return 1
43 install -Dm644 COPYING \
44 ${pkgdir}/usr/share/licenses/curl/COPYING || return 1
45 install -Dm644 docs/libcurl/libcurl.m4 \
46 ${pkgdir}/usr/share/aclocal/libcurl.m4 || return 1