[arch-commits] Commit in libmongoc/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Aug 10 19:53:41 UTC 2017
Date: Thursday, August 10, 2017 @ 19:53:41
Author: felixonmars
Revision: 249785
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 249784, libmongoc/trunk/PKGBUILD)
libmongoc/repos/community-testing-x86_64/
libmongoc/repos/community-testing-x86_64/PKGBUILD
(from rev 249784, 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 249784, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-08-10 19:53:41 UTC (rev 249785)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.7.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=('632347c3ebfc717f9f369f8bf3d374ace9f3c139ce96342b0e91b62f3965662fe0a233cbcd0fbeef2387dacf9cc539c60ec1cf8f4efe4f240f5a262206324b5b')
+
+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 249784, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2017-08-10 19:53:41 UTC (rev 249785)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.7.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=('632347c3ebfc717f9f369f8bf3d374ace9f3c139ce96342b0e91b62f3965662fe0a233cbcd0fbeef2387dacf9cc539c60ec1cf8f4efe4f240f5a262206324b5b')
+
+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