[arch-commits] Commit in serf/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at nymeria.archlinux.org
Mon Aug 5 13:15:48 UTC 2013


    Date: Monday, August 5, 2013 @ 15:15:48
  Author: bpiotrowski
Revision: 192049

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  serf/repos/staging-i686/
  serf/repos/staging-i686/PKGBUILD
    (from rev 192048, serf/trunk/PKGBUILD)
  serf/repos/staging-x86_64/
  serf/repos/staging-x86_64/PKGBUILD
    (from rev 192048, serf/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   34 ++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)

Copied: serf/repos/staging-i686/PKGBUILD (from rev 192048, serf/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-08-05 13:15:48 UTC (rev 192049)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+pkgname=serf
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="High-performance asynchronous HTTP client library"
+url="http://code.google.com/p/serf/"
+arch=('i686' 'x86_64')
+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
+  sed -i 's/ldb-5.3/ldb/' Makefile serf.pc
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  rm "${pkgdir}"/usr/lib/libserf-1.a
+}

Copied: serf/repos/staging-x86_64/PKGBUILD (from rev 192048, serf/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-08-05 13:15:48 UTC (rev 192049)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+pkgname=serf
+pkgver=1.2.1
+pkgrel=2
+pkgdesc="High-performance asynchronous HTTP client library"
+url="http://code.google.com/p/serf/"
+arch=('i686' 'x86_64')
+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
+  sed -i 's/ldb-5.3/ldb/' Makefile serf.pc
+  make
+}
+
+check() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make check
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+  rm "${pkgdir}"/usr/lib/libserf-1.a
+}




More information about the arch-commits mailing list