summaryrefslogtreecommitdiffstats
path: root/abs/extra/serf/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2018-03-26 16:18:12 (GMT)
committerBritney Fransen <brfransen@gmail.com>2018-03-26 16:18:12 (GMT)
commit00b8ce4cf699c6825757c077e2c58469b5b30f8d (patch)
treedf4a023ccd719f3f5ab333debbf94ad47c43e63d /abs/extra/serf/PKGBUILD
parent2e3526ac5a45e9318944c69d844cdf376ed7f255 (diff)
downloadlinhes_pkgbuild-00b8ce4cf699c6825757c077e2c58469b5b30f8d.zip
linhes_pkgbuild-00b8ce4cf699c6825757c077e2c58469b5b30f8d.tar.gz
linhes_pkgbuild-00b8ce4cf699c6825757c077e2c58469b5b30f8d.tar.bz2
serf: dep of subversion
Diffstat (limited to 'abs/extra/serf/PKGBUILD')
-rw-r--r--abs/extra/serf/PKGBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/abs/extra/serf/PKGBUILD b/abs/extra/serf/PKGBUILD
new file mode 100644
index 0000000..cc509c3
--- /dev/null
+++ b/abs/extra/serf/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Angel Velasquez <angvp@archlinux.org>
+# Contributor: Stéphane Gaudreault <stephane@archlinux.org>
+
+pkgname=serf
+pkgver=1.3.9
+pkgrel=2
+pkgdesc="High-performance asynchronous HTTP client library"
+arch=('x86_64')
+url="https://serf.apache.org"
+license=('Apache')
+depends=('apr-util')
+makedepends=('scons')
+source=(https://www.apache.org/dist/serf/${pkgname}-${pkgver}.tar.bz2{,.asc})
+validpgpkeys=('C236283C970D2C3CFEEB4936BF35CF0078383142')
+sha256sums=('549c2d21c577a8a9c0450facb5cca809f26591f048e466552240947bdf7a87cc'
+ 'SKIP')
+
+build() {
+ cd ${pkgname}-${pkgver}
+ scons CFLAGS="${CFLAGS}" \
+ LINKFLAGS="${LDFLAGS}" \
+ PREFIX=/usr GSSAPI=/usr/bin/krb5-config
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ # Runs into infinite loop
+ #scons check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ install -d "${pkgdir}/usr"
+ scons install --install-sandbox="${pkgdir}"
+}