[arch-commits] Commit in rocksdb/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Mar 27 01:29:12 UTC 2020
Date: Friday, March 27, 2020 @ 01:29:10
Author: anatolik
Revision: 604941
archrelease: copy trunk to community-testing-x86_64
Added:
rocksdb/repos/community-testing-x86_64/
rocksdb/repos/community-testing-x86_64/PKGBUILD
(from rev 604940, rocksdb/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: rocksdb/repos/community-testing-x86_64/PKGBUILD (from rev 604940, rocksdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2020-03-27 01:29:10 UTC (rev 604941)
@@ -0,0 +1,36 @@
+# Maintainer: Anatol Pomozov
+# Contributor: László Várady <laszlo.varady93 at gmail.com>
+
+pkgname=rocksdb
+pkgver=6.7.3
+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=('c4d1397b58e4801b5fd7c3dd9175e6ae84541119cbebb739fe17d998f1829e81')
+
+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