Date: Friday, January 21, 2022 @ 23:42:52 Author: felixonmars Revision: 1112897
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 1112896, 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-01-21 23:42:42 UTC (rev 1112896) +++ PKGBUILD 2022-01-21 23:42:52 UTC (rev 1112897) @@ -1,42 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.20.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=('acaf432d28cf8f507e893c9b0c1561035a73187e03630666703a8cfdc55d731347af8f37ea4a961149be1ebd806c2fd92a752fa443ce46b8aa8d8436c9f1ed15') - -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 1112896, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-01-21 23:42:52 UTC (rev 1112897) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.20.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=('ee55cd1b27ca6c3b404e47aa0fe375d9c9e8d46a892391e1f1ad404880a57d67bc4a44ebd5df4e3cee218a7e251ad464b0b14dee2bac0382019a2b82e348860b') + +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 +}