Date: Thursday, May 31, 2018 @ 00:40:46 Author: felixonmars Revision: 333604
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 333603, mongo-c-driver/trunk/PKGBUILD) Deleted: mongo-c-driver/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 45 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-05-31 00:40:26 UTC (rev 333603) +++ PKGBUILD 2018-05-31 00:40:46 UTC (rev 333604) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.10.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=('libsasl' 'snappy' 'zlib') -makedepends=('cmake') -checkdepends=('python-pifpaf' 'mongodb') -provides=('libbson' 'libmongoc') -conflicts=('libbson' 'libmongoc') -replaces=('libbson' 'libmongoc') -source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz") -sha512sums=('d0d5686dbb7a5843a00f99f979ea64c0e9b95018a8630b6d147552b3227d8ebe6b4db52f5dd4c3c79ddb5da392784da7d890cf2d652567c0922b16e894a178c2') - -prepare() { - mkdir -p build - cd mongo-c-driver-$pkgver -} - -build() { - cd build - cmake ../mongo-c-driver-$pkgver \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DENABLE_STATIC=OFF -DENABLE_TESTS=OFF - # Test profiles are not found even with ENABLE_TESTS=ON - make -} - -check() { - cd build - # No test profile found - # pifpaf run mongodb --port 27017 make test || warning "Tests failed" -} - -package() { - cd build - make DESTDIR="$pkgdir/" install -} Copied: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 333603, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-05-31 00:40:46 UTC (rev 333604) @@ -0,0 +1,45 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.10.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=('libsasl' 'snappy' 'zlib') +makedepends=('cmake') +checkdepends=('python-pifpaf' 'mongodb') +provides=('libbson' 'libmongoc') +conflicts=('libbson' 'libmongoc') +replaces=('libbson' 'libmongoc') +source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz") +sha512sums=('658a16305db3f033c6379a359d4d70f3937778cf36052bcea47287020128d98d38ad2052a5c0bbecd3e294ec47ba483ab086b330ee80998dd8ab30a8f7d98eff') + +prepare() { + mkdir -p build + cd mongo-c-driver-$pkgver +} + +build() { + cd build + cmake ../mongo-c-driver-$pkgver \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DENABLE_STATIC=OFF -DENABLE_TESTS=OFF + # Test profiles are not found even with ENABLE_TESTS=ON + make +} + +check() { + cd build + # No test profile found + # pifpaf run mongodb --port 27017 make test || warning "Tests failed" +} + +package() { + cd build + make DESTDIR="$pkgdir/" install +}