# Maintainer: Vincent Grande # Contributor: Dave Reisner # Contributor: Angel Velasquez # Contributor: Eric Belanger # Contributor: Lucien Immink # Contributor: Daniel J Griffiths pkgname=curl-git pkgver=7.72.0 pkgrel=1 pkgdesc="An URL retrieval utility and library" arch=('x86_64') url="https://curl.haxx.se" license=('MIT') depends=('ca-certificates' 'krb5' 'libssh2' 'libssh2.so' 'openssl' 'zlib' 'libpsl' 'libpsl.so' 'libnghttp2' 'libidn2' 'libidn2.so' 'zstd') provides=('libcurl.so' curl) conflicts=(curl) source=("git+https://github.com/curl/curl") sha512sums=('SKIP') pkgver() { cd curl git describe --tags | sed 's/-/+/g' } build() { cd curl ./buildconf ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-ldap \ --disable-ldaps \ --disable-manual \ --disable-ipv6 \ --enable-versioned-symbols \ --enable-threaded-resolver \ --with-gssapi \ --with-libssh2 \ --with-random=/dev/urandom \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make } package() { cd curl make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install -C scripts # license install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING }