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

Felix Yan felixonmars at archlinux.org
Tue Dec 20 03:13:30 UTC 2016


    Date: Tuesday, December 20, 2016 @ 03:13:29
  Author: felixonmars
Revision: 200371

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  libmongoc/repos/community-testing-i686/
  libmongoc/repos/community-testing-i686/PKGBUILD
    (from rev 200370, libmongoc/trunk/PKGBUILD)
  libmongoc/repos/community-testing-x86_64/
  libmongoc/repos/community-testing-x86_64/PKGBUILD
    (from rev 200370, libmongoc/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   31 +++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   31 +++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: libmongoc/repos/community-testing-i686/PKGBUILD (from rev 200370, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-12-20 03:13:29 UTC (rev 200371)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('mongodb' 'python-pifpaf')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+    cd "$srcdir/mongo-c-driver"
+    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+    make
+}
+
+check() {
+    cd "$srcdir/mongo-c-driver"
+    pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+    cd "$srcdir/mongo-c-driver"
+    make DESTDIR="$pkgdir/" install
+}

Copied: libmongoc/repos/community-testing-x86_64/PKGBUILD (from rev 200370, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-12-20 03:13:29 UTC (rev 200371)
@@ -0,0 +1,31 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.5.1
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('mongodb' 'python-pifpaf')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+    cd "$srcdir/mongo-c-driver"
+    PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+    make
+}
+
+check() {
+    cd "$srcdir/mongo-c-driver"
+    pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+    cd "$srcdir/mongo-c-driver"
+    make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list