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

Felix Yan felixonmars at archlinux.org
Fri Sep 15 08:16:12 UTC 2017


    Date: Friday, September 15, 2017 @ 08:16:11
  Author: felixonmars
Revision: 257668

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 257667, libmongoc/trunk/PKGBUILD)
  libmongoc/repos/community-testing-x86_64/
  libmongoc/repos/community-testing-x86_64/PKGBUILD
    (from rev 257667, libmongoc/trunk/PKGBUILD)

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

Copied: libmongoc/repos/community-testing-i686/PKGBUILD (from rev 257667, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2017-09-15 08:16:11 UTC (rev 257668)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.8.0
+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')
+checkdepends=('python-pifpaf')
+checkdepends_x86_64=('mongodb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz")
+sha512sums=('8e46c695abf72186a2bc220a837580bdbb33f3bef6a618b84c4e47053317415228b95751d2b306f799d46dea0c0eaeee2536c0d0e854ba23be35996061a0f26a')
+
+prepare() {
+  cd mongo-c-driver-$pkgver
+  # Remove check for bundled libbson
+  sed -i 's|src/libbson/autogen.sh|/usr/bin/true|' autogen.sh
+}
+
+build() {
+  cd mongo-c-driver-$pkgver
+  PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+  make
+}
+
+check() {
+  cd mongo-c-driver-$pkgver
+  pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+  cd mongo-c-driver-$pkgver
+  make DESTDIR="$pkgdir/" install
+}

Copied: libmongoc/repos/community-testing-x86_64/PKGBUILD (from rev 257667, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2017-09-15 08:16:11 UTC (rev 257668)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.8.0
+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')
+checkdepends=('python-pifpaf')
+checkdepends_x86_64=('mongodb')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz")
+sha512sums=('8e46c695abf72186a2bc220a837580bdbb33f3bef6a618b84c4e47053317415228b95751d2b306f799d46dea0c0eaeee2536c0d0e854ba23be35996061a0f26a')
+
+prepare() {
+  cd mongo-c-driver-$pkgver
+  # Remove check for bundled libbson
+  sed -i 's|src/libbson/autogen.sh|/usr/bin/true|' autogen.sh
+}
+
+build() {
+  cd mongo-c-driver-$pkgver
+  PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+  make
+}
+
+check() {
+  cd mongo-c-driver-$pkgver
+  pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+  cd mongo-c-driver-$pkgver
+  make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list