# Maintainer: Dave Reisner pkgname=curl-git pkgver=7.63.0.64.g1a9315378 pkgrel=1 pkgdesc="A URL retrieval utility and library" arch=('i686' 'x86_64') url="https://curl.haxx.se/" license=('MIT') depends=('ca-certificates' 'krb5' 'libssh2' 'openssl' 'zlib' 'libpsl' 'libnghttp2') makedepends=('git') provides=("curl=$pkgver" 'libcurl.so') conflicts=('curl') options=('!libtool') source=('git://github.com/curl/curl.git#commit=1a93153783c0ae626acf0b9041eeb2cb2fe7944a') md5sums=('SKIP') pkgver() { cd curl git describe | sed 's/curl-//; s/[_-]/./g' } build() { cd curl ./buildconf ./configure \ --prefix=/usr \ --mandir=/usr/share/man \ --disable-ldap \ --disable-ldaps \ --enable-ipv6 \ --enable-manual \ --enable-versioned-symbols \ --enable-threaded-resolver \ --with-gssapi \ --with-random=/dev/urandom \ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt make } package() { cd curl make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" }