summaryrefslogtreecommitdiff
path: root/extra/serf/PKGBUILD
blob: c5429b0c49b0fb1f91d233659d75b235383fb79b (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
# $Id: PKGBUILD 193131 2013-08-17 07:19:26Z angvp $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>

pkgname=serf
pkgver=1.3.0
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=('!libtool' '!staticlibs')
source=(http://serf.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('14ed3e1dc195016a548499b3831f3df6b2501d27')

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
}