Date: Wednesday, January 10, 2018 @ 04:33:22 Author: felixonmars Revision: 280835
archrelease: copy trunk to community-x86_64 Added: libmongoc/repos/community-x86_64/PKGBUILD (from rev 280834, libmongoc/trunk/PKGBUILD) Deleted: libmongoc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-01-10 04:33:00 UTC (rev 280834) +++ PKGBUILD 2018-01-10 04:33:22 UTC (rev 280835) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=libmongoc -pkgver=1.9.0 -pkgrel=1 -pkgdesc='A client library written in C for MongoDB' -arch=('x86_64') -url='http://www.mongodb.org/display/DOCS/C+Language+Center' -license=('Apache') -depends=('libbson' 'libsasl' 'snappy' 'zlib') -checkdepends=('python-pifpaf' 'mongodb') -source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz") -sha512sums=('e7785f336c38bbf7dd519351bba2facab025b4d2bcd1eef82e98606a21510af7f799edaf4b4f074bd4c5a17ad63176c276f8c57e499b8d9afd098bce274da4ae') - -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-x86_64/PKGBUILD (from rev 280834, libmongoc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-01-10 04:33:22 UTC (rev 280835) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=libmongoc +pkgver=1.9.1 +pkgrel=1 +pkgdesc='A client library written in C for MongoDB' +arch=('x86_64') +url='http://www.mongodb.org/display/DOCS/C+Language+Center' +license=('Apache') +depends=('libbson' 'libsasl' 'snappy' 'zlib') +checkdepends=('python-pifpaf' 'mongodb') +source=("$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz") +sha512sums=('8918b33bcb346a49b84b9e99f5f1ebf0b5895eef7a72dc3e7c3a47737e42e3fa57d820604ec51a47dcfc14be962ad32bbc621197ff639cdff917a56e6ec6e708') + +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 +}