Date: Sunday, August 7, 2022 @ 06:54:08 Author: felixonmars Revision: 1260493
archrelease: copy trunk to community-x86_64 Added: mongo-c-driver/repos/community-x86_64/PKGBUILD (from rev 1260492, 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-08-07 06:53:52 UTC (rev 1260492) +++ PKGBUILD 2022-08-07 06:54:08 UTC (rev 1260493) @@ -1,42 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=mongo-c-driver -pkgver=1.21.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=('3d55f7586375b41c96c66f20c5c37fd95ea33933b674fa4ab589589cc52aeffe32da45bd6498e157095ed8c994b34fe9f8c62f5f57f5194d605965d34137aa59') - -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 1260492, mongo-c-driver/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-07 06:54:08 UTC (rev 1260493) @@ -0,0 +1,42 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=mongo-c-driver +pkgver=1.22.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=('196a760569bc8504d08fb180f82d5fe12a99b456add36672620bc385aa53fe6a3deb10be49cb69821f56b60173196b170887b557c8e2ffd95e01dd2defe67559') + +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 +}