[arch-commits] Commit in rocksdb/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Wed Jul 1 23:55:54 UTC 2020


    Date: Wednesday, July 1, 2020 @ 23:55:54
  Author: anatolik
Revision: 657445

archrelease: copy trunk to community-testing-x86_64

Added:
  rocksdb/repos/community-testing-x86_64/
  rocksdb/repos/community-testing-x86_64/PKGBUILD
    (from rev 657444, rocksdb/trunk/PKGBUILD)

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

Copied: rocksdb/repos/community-testing-x86_64/PKGBUILD (from rev 657444, rocksdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-07-01 23:55:54 UTC (rev 657445)
@@ -0,0 +1,36 @@
+# Maintainer: Anatol Pomozov
+# Contributor: László Várady <laszlo.varady93 at gmail.com>
+
+pkgname=rocksdb
+pkgver=6.10.2
+pkgrel=1
+pkgdesc='Embedded key-value store for fast storage'
+arch=(x86_64)
+url="https://rocksdb.org/"
+license=(GPL2 Apache)
+depends=(bzip2 gcc-libs gflags jemalloc lz4 snappy zlib zstd)
+makedepends=(cmake ninja)
+#checkdepends=('python2')
+source=(rocksdb-$pkgver.tar.gz::https://github.com/facebook/rocksdb/archive/v$pkgver.tar.gz)
+sha256sums=('514b315c64159dd767bbbf6430d33313903c0c9240d4249bddead5c4297d128f')
+
+build() {
+  cd rocksdb-$pkgver
+  cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
+        -DWITH_BZ2=ON -DWITH_LZ4=ON -DWITH_SNAPPY=ON -DWITH_ZLIB=ON -DWITH_ZSTD=ON \
+        -DUSE_RTTI=ON -DWITH_JEMALLOC=ON -DFAIL_ON_WARNINGS=OFF -DPORTABLE=ON \
+	-DWITH_BENCHMARK_TOOLS=OFF \
+	-GNinja -S . -B build
+  ninja -C build
+}
+
+check() {
+  cd rocksdb-$pkgver
+  # currently upstream enables tests for Debug configuration only
+  # ninja -C build check
+}
+
+package() {
+  cd rocksdb-$pkgver
+  DESTDIR="$pkgdir" ninja -C build install
+}



More information about the arch-commits mailing list