Date: Monday, December 20, 2021 @ 21:15:16 Author: felixonmars Revision: 1080878
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 1080877, 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 2021-12-20 21:15:08 UTC (rev 1080877) +++ PKGBUILD 2021-12-20 21:15:16 UTC (rev 1080878) @@ -1,42 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.19.0 -pkgrel=2 -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=('6bb3b199ecbe8cc31a42c50c123d82128ee490083ccc91f3f85fc83bdf96c9cc10666ffdbc4f9bc136d4e6d259915af140cb13bb51ec36b52c1b4433f545bdd2') - -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 1080877, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-20 21:15:16 UTC (rev 1080878) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.19.1 +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=('75d515503c3ac05d98d3cc7a56c5e659076a4783a56a63c68652541e8ca617900b58519c4d30e655f40544a86c9ca4f0ab73e440429f6bc14522c004ac04ecc0') + +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 +}