Date: Thursday, December 3, 2020 @ 20:35:17 Author: felixonmars Revision: 769767
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 769766, mongo-c-driver/trunk/PKGBUILD) Deleted: mongo-c-driver/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-12-03 20:35:06 UTC (rev 769766) +++ PKGBUILD 2020-12-03 20:35:17 UTC (rev 769767) @@ -1,42 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.17.2 -pkgrel=1 -pkgdesc='A client library written in C for MongoDB' -arch=('x86_64') -url='https://www.mongodb.org/display/DOCS/C+Language+Center' -license=('Apache') -depends=('libsasl' 'icu' 'snappy' 'zlib' 'zstd') -makedepends=('cmake') -provides=('libbson' 'libmongoc') -conflicts=('libbson' 'libmongoc') -replaces=('libbson' 'libmongoc') -source=("https://github.com/mongodb/mongo-c-driver/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('f28fbf1548b3b5eff45d35d0d8a8dfe00d60b926a6b0ceb7f20cef3d3aea93026ecca8d99d571b45540ef10cc676f978855ab02a603ce01f8ca04c1c5f2212ac') - -prepare() { - mkdir -p build -} - -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 || echo "Tests failed" -} - -package() { - cd build - make DESTDIR="$pkgdir/" install -} Copied: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 769766, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-12-03 20:35:17 UTC (rev 769767) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.17.3 +pkgrel=1 +pkgdesc='A client library written in C for MongoDB' +arch=('x86_64') +url='https://www.mongodb.org/display/DOCS/C+Language+Center' +license=('Apache') +depends=('libsasl' 'icu' 'snappy' 'zlib' 'zstd') +makedepends=('cmake') +provides=('libbson' 'libmongoc') +conflicts=('libbson' 'libmongoc') +replaces=('libbson' 'libmongoc') +source=("https://github.com/mongodb/mongo-c-driver/releases/download/$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('afe9faa605809868efd99f2adc755cc2a0eff414524153bc4392d73e168b7eb07672c2c25a3e777a3536c5c058a46c035687941ef468d2635351d3e673573bf0') + +prepare() { + mkdir -p build +} + +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 || echo "Tests failed" +} + +package() { + cd build + make DESTDIR="$pkgdir/" install +}