[arch-commits] Commit in rocksdb/repos (2 files)
Anatol Pomozov
anatolik at archlinux.org
Mon Mar 1 21:30:01 UTC 2021
Date: Monday, March 1, 2021 @ 21:30:01
Author: anatolik
Revision: 876915
archrelease: copy trunk to community-testing-x86_64
Added:
rocksdb/repos/community-testing-x86_64/
rocksdb/repos/community-testing-x86_64/PKGBUILD
(from rev 876914, rocksdb/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: rocksdb/repos/community-testing-x86_64/PKGBUILD (from rev 876914, rocksdb/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-03-01 21:30:01 UTC (rev 876915)
@@ -0,0 +1,36 @@
+# Maintainer: Anatol Pomozov
+# Contributor: László Várady <laszlo.varady93 at gmail.com>
+
+pkgname=rocksdb
+pkgver=6.15.5
+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=('d7b994e1eb4dff9dfefcd51a63f86630282e1927fc42a300b93c573c853aa5d0')
+
+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