archrelease: copy trunk to extra-x86_64
[arch-packages.git] / serf / trunk / PKGBUILD
blob5e40fec26cb2e0664105cdb4d0b53b29a6b24231
1 # Maintainer: Angel Velasquez <angvp@archlinux.org> 
2 # Contributor: Stéphane Gaudreault <stephane@archlinux.org>
4 pkgname=serf
5 pkgver=1.3.9
6 pkgrel=5
7 pkgdesc="High-performance asynchronous HTTP client library"
8 arch=('x86_64')
9 url="https://serf.apache.org"
10 license=('Apache')
11 depends=('apr-util')
12 makedepends=('scons')
13 source=(https://www.apache.org/dist/serf/${pkgname}-${pkgver}.tar.bz2{,.asc} scons-python3.patch)
14 validpgpkeys=('C236283C970D2C3CFEEB4936BF35CF0078383142')
15 sha256sums=('549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
16             'SKIP'
17             '363732546098b4c9415eb5d38b595d04c660c6324a34159768d334507b7d241f')
19 prepare() {
20   cd $pkgname-$pkgver
21   patch -p1 -i ../scons-python3.patch
24 build() {
25   cd ${pkgname}-${pkgver}
26   scons CFLAGS="${CFLAGS}" \
27         LINKFLAGS="${LDFLAGS}" \
28         PREFIX=/usr GSSAPI=/usr/bin/krb5-config
31 check() {
32   cd ${pkgname}-${pkgver}
33   # Runs into infinite loop
34   #scons check
37 package() {
38   cd ${pkgname}-${pkgver}
39   install -d "${pkgdir}/usr"
40   scons install --install-sandbox="${pkgdir}"