summaryrefslogtreecommitdiff
path: root/extra/serf/PKGBUILD
blob: f26e233adb24cfd91d80bb5ea2fe62ab4df88ac6 (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 208083 2014-03-17 16:24:17Z anatolik $
# Maintainer: Angel Velasquez <angvp@archlinux.org> 
# Contributor: Stéphane Gaudreault <stephane@archlinux.org>

pkgname=serf
pkgver=1.3.4
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/svn/src_releases/${pkgname}-${pkgver}.zip)
md5sums=('f2d469ac03db98781c9d414fed5368ae')

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
}