summaryrefslogtreecommitdiff
path: root/extra/serf/PKGBUILD
blob: fff40fb7483320e69a4b6fde002440f6f27c8cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 200589 2013-11-29 15:17:26Z angvp $
# Maintainer: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>

pkgname=serf
pkgver=1.3.2
pkgrel=1
pkgdesc="High-performance asynchronous HTTP client library"
arch=('i686' 'x86_64')
url="http://code.google.com/p/serf/"
license=('Apache')
depends=('apr-util')
makedepends=('scons')
options=('!staticlibs')
source=(http://serf.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
md5sums=('43ce30fccf39ab0186a7590e2733e3ec')

build() {
  cd ${pkgname}-${pkgver}
  scons PREFIX=/usr
}

check() {
  cd ${pkgname}-${pkgver}
  scons check
}

package() {
  cd ${pkgname}-${pkgver}
  install -d "${pkgdir}/usr"
  scons PREFIX="${pkgdir}/usr" install
}