1 # Maintainer: Angel Velasquez <angvp@archlinux.org>
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
7 pkgdesc="High-performance asynchronous HTTP client library"
9 url="https://serf.apache.org"
13 source=(https://www.apache.org/dist/serf/${pkgname}-${pkgver}.tar.bz2{,.asc} scons-python3.patch)
14 validpgpkeys=('C236283C970D2C3CFEEB4936BF35CF0078383142')
15 sha256sums=('549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
17 '363732546098b4c9415eb5d38b595d04c660c6324a34159768d334507b7d241f')
21 patch -p1 -i ../scons-python3.patch
25 cd ${pkgname}-${pkgver}
26 scons CFLAGS="${CFLAGS}" \
27 LINKFLAGS="${LDFLAGS}" \
28 PREFIX=/usr GSSAPI=/usr/bin/krb5-config
32 cd ${pkgname}-${pkgver}
33 # Runs into infinite loop
38 cd ${pkgname}-${pkgver}
39 install -d "${pkgdir}/usr"
40 scons install --install-sandbox="${pkgdir}"