[arch-commits] Commit in mongo-c-driver/repos (2 files)

2020-12-19 Thread Evangelos Foutras via arch-commits
Date: Saturday, December 19, 2020 @ 09:54:32
  Author: foutrelis
Revision: 779890

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 779889, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
779889, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-12-19 09:54:32 UTC (rev 779890)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.17.3
+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=('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
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2020-04-27 Thread Evangelos Foutras via arch-commits
Date: Monday, April 27, 2020 @ 17:16:20
  Author: foutrelis
Revision: 621911

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 621910, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
621910, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2020-04-27 17:16:20 UTC (rev 621911)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.16.2
+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=('0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a')
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2019-11-11 Thread Evangelos Foutras via arch-commits
Date: Tuesday, November 12, 2019 @ 01:56:11
  Author: foutrelis
Revision: 526913

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 526912, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
526912, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-11-12 01:56:11 UTC (rev 526913)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.15.1
+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=('7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5')
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2019-04-05 Thread Felix Yan via arch-commits
Date: Friday, April 5, 2019 @ 15:13:10
  Author: felixonmars
Revision: 449870

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 449869, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   42 ++
 1 file changed, 42 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
449869, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2019-04-05 15:13:10 UTC (rev 449870)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.14.0
+pkgrel=2
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'icu' 'snappy' 'zlib')
+makedepends=('cmake')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('bf2bb835543dd2a445aac6cafa7bbbf90921ec41014534779924a5eb7cbd9fd532acd8146ce81dfcf1bcac33a78d8fce22b962ed7f776449e4357eccab8d6110')
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-10-22 Thread Evangelos Foutras via arch-commits
Date: Monday, October 22, 2018 @ 23:51:17
  Author: foutrelis
Revision: 398609

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 398608, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
398608, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-10-22 23:51:17 UTC (rev 398609)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.13.0
+pkgrel=2
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'icu' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;
+
https://github.com/mongodb/mongo-c-driver/commit/b50c9e4004833e3c0034b68b4082d6e590510949.patch)
+sha512sums=('d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907'
+
'b376251b8f6958390b42766553bd1c9457c6917272df90c812cb9386879f034882751969af96af6159ffc4495d55c652477858f2569a49873be6da9c6cb38179')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+  patch -p1 -i ../b50c9e4004833e3c0034b68b4082d6e590510949.patch
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-10-05 Thread Felix Yan via arch-commits
Date: Friday, October 5, 2018 @ 13:13:23
  Author: felixonmars
Revision: 390043

archrelease: copy trunk to community-testing-x86_64

Added:
  mongo-c-driver/repos/community-testing-x86_64/
  mongo-c-driver/repos/community-testing-x86_64/PKGBUILD
(from rev 390042, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   47 +++
 1 file changed, 47 insertions(+)

Copied: mongo-c-driver/repos/community-testing-x86_64/PKGBUILD (from rev 
390042, mongo-c-driver/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-10-05 13:13:23 UTC (rev 390043)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.13.0
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'icu' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;
+
https://github.com/mongodb/mongo-c-driver/commit/b50c9e4004833e3c0034b68b4082d6e590510949.patch)
+sha512sums=('d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907'
+
'b376251b8f6958390b42766553bd1c9457c6917272df90c812cb9386879f034882751969af96af6159ffc4495d55c652477858f2569a49873be6da9c6cb38179')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+  patch -p1 -i ../b50c9e4004833e3c0034b68b4082d6e590510949.patch
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-08-06 Thread Felix Yan via arch-commits
Date: Monday, August 6, 2018 @ 19:53:00
  Author: felixonmars
Revision: 369894

archrelease: copy trunk to community-staging-x86_64

Added:
  mongo-c-driver/repos/community-staging-x86_64/
  mongo-c-driver/repos/community-staging-x86_64/PKGBUILD
(from rev 369893, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: mongo-c-driver/repos/community-staging-x86_64/PKGBUILD (from rev 
369893, mongo-c-driver/trunk/PKGBUILD)
===
--- community-staging-x86_64/PKGBUILD   (rev 0)
+++ community-staging-x86_64/PKGBUILD   2018-08-06 19:53:00 UTC (rev 369894)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.12.0
+pkgrel=2
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-07-18 Thread Felix Yan via arch-commits
Date: Thursday, July 19, 2018 @ 04:13:56
  Author: felixonmars
Revision: 362342

archrelease: copy trunk to community-testing-x86_64

Added:
  mongo-c-driver/repos/community-testing-x86_64/
  mongo-c-driver/repos/community-testing-x86_64/PKGBUILD
(from rev 362341, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: mongo-c-driver/repos/community-testing-x86_64/PKGBUILD (from rev 
362341, mongo-c-driver/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-07-19 04:13:56 UTC (rev 362342)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.12.0
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-06-20 Thread Felix Yan via arch-commits
Date: Wednesday, June 20, 2018 @ 09:45:59
  Author: felixonmars
Revision: 344198

archrelease: copy trunk to community-testing-x86_64

Added:
  mongo-c-driver/repos/community-testing-x86_64/
  mongo-c-driver/repos/community-testing-x86_64/PKGBUILD
(from rev 344197, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: mongo-c-driver/repos/community-testing-x86_64/PKGBUILD (from rev 
344197, mongo-c-driver/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-06-20 09:45:59 UTC (rev 344198)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.10.3
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('47af1baad1ad74bbbdf2fd22a437034d317a2f3ec02fee485e983ae6829b3f01af2649a09577f08144a88385fa940dfa211ea02bfa3c0e25b59dbe2090269603')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-06-07 Thread Felix Yan via arch-commits
Date: Friday, June 8, 2018 @ 04:17:23
  Author: felixonmars
Revision: 342006

archrelease: copy trunk to community-testing-x86_64

Added:
  mongo-c-driver/repos/community-testing-x86_64/
  mongo-c-driver/repos/community-testing-x86_64/PKGBUILD
(from rev 342005, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: mongo-c-driver/repos/community-testing-x86_64/PKGBUILD (from rev 
342005, mongo-c-driver/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-06-08 04:17:23 UTC (rev 342006)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.10.2
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('python-pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('a0c9189d6d9ba184fc4ce64161f859f792d1697285c4142c927cc76ea7d049fbea7613473f66448e8ea77e0ddf88bb53de147f5c8ed6b8c0f45d2d30bb25915c')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}


[arch-commits] Commit in mongo-c-driver/repos (2 files)

2018-05-23 Thread Felix Yan via arch-commits
Date: Wednesday, May 23, 2018 @ 08:12:29
  Author: felixonmars
Revision: 328069

archrelease: copy trunk to community-testing-x86_64

Added:
  mongo-c-driver/repos/community-testing-x86_64/
  mongo-c-driver/repos/community-testing-x86_64/PKGBUILD
(from rev 328068, mongo-c-driver/trunk/PKGBUILD)

--+
 PKGBUILD |   45 +
 1 file changed, 45 insertions(+)

Copied: mongo-c-driver/repos/community-testing-x86_64/PKGBUILD (from rev 
328068, mongo-c-driver/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2018-05-23 08:12:29 UTC (rev 328069)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgname=mongo-c-driver
+pkgver=1.10.0
+pkgrel=1
+pkgdesc='A client library written in C for MongoDB'
+arch=('x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libsasl' 'snappy' 'zlib')
+makedepends=('cmake')
+checkdepends=('python-pifpaf' 'mongodb')
+provides=('libbson' 'libmongoc')
+conflicts=('libbson' 'libmongoc')
+replaces=('libbson' 'libmongoc')
+source=("mongo-c-driver-$pkgver.tar.gz::https://github.com/mongodb/mongo-c-driver/archive/$pkgver.tar.gz;)
+sha512sums=('d0d5686dbb7a5843a00f99f979ea64c0e9b95018a8630b6d147552b3227d8ebe6b4db52f5dd4c3c79ddb5da392784da7d890cf2d652567c0922b16e894a178c2')
+
+prepare() {
+  mkdir -p build
+  cd mongo-c-driver-$pkgver
+}
+
+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 || warning "Tests failed"
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir/" install
+}