1 # Contributor: avogatro <avogatro@gmail.com>
6 pkgdesc="An URL retrival utility and library with sftp support"
7 url="http://curl.haxx.se"
10 depends=('bash' 'ca-certificates' 'zlib' 'openssl>=1.0.0' 'libssh2>=1.2.6' 'libldap' 'libidn')
14 source=("http://curl.haxx.se/download/curl-$pkgver.tar.gz"
16 sha1sums=('d0e5a1184315b9abb9cc54d77d4a0200526f046d'
19 cd $srcdir/curl-$pkgver
20 ./configure --prefix=/usr \
21 --with-random=/dev/urandom \
22 --mandir=/usr/share/man \
32 --enable-crypto-auth \
35 --with-ca-path=/etc/ssl/certs \
37 --enable-versioned-symbols \
40 --enable-debug --enable-curldebug \
43 make DESTDIR=${pkgdir} install || return 1
45 install -Dm644 COPYING \
46 ${pkgdir}/usr/share/licenses/${pkgname}/COPYING || return 1
47 install -Dm644 docs/libcurl/libcurl.m4 \
48 ${pkgdir}/usr/share/aclocal/libcurl.m4 || return 1