Date: Tuesday, March 8, 2022 @ 20:06:54 Author: felixonmars Revision: 1145511
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 1145510, 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 2022-03-08 20:06:44 UTC (rev 1145510) +++ PKGBUILD 2022-03-08 20:06:54 UTC (rev 1145511) @@ -1,42 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.21.0 -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=('7ae9e349a813a5698787aa5bededeaf08030c1a1973b23c63c8d97512e69f56a084574862421c578f7150941e57d1983b10bb85886d43d0e39ac324c17f7c1c9') - -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 1145510, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-08 20:06:54 UTC (rev 1145511) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.21.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=('e9022c969eb84f00e3abaf6a7404532b5fb6b57bcfa518176549fefe394cf79dfb4c2e288451d9524bce2ddd76bee28aaab5132f805c0329f618c21913552607') + +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 +}