blob: 6f6f4ea70761f4178007d1f33158c7c29e54d521 (
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
33
|
# $Id: PKGBUILD 188137 2013-06-10 13:00:19Z bpiotrowski $
# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
pkgname=serf
pkgver=1.2.1
pkgrel=1
pkgdesc="High-performance asynchronous HTTP client library"
url="http://code.google.com/p/serf/"
arch=('i686' 'x86_64' 'mips64el')
license=('Apache')
depends=('apr' 'apr-util' 'openssl' 'zlib')
source=(http://serf.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2)
sha1sums=('f65fbbd72926c8e7cf0dbd4ada03b0d226f461fd')
options=('!libtool')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --with-apr=/usr --with-apr-util=/usr --with-openssl=/usr
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
rm "${pkgdir}"/usr/lib/libserf-1.a
}
|