summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAzat Khuzhin2017-08-22 12:12:12 +0300
committerAzat Khuzhin2017-08-22 12:12:12 +0300
commitb263e804435c87e950ca9cd7d9e8cc76bc291b21 (patch)
tree5b9a2b934e1ce3d53b6a225fabe3492bb5fd4298 /PKGBUILD
parent65f53db0912e45bd751fd24907ff6c82a51aec87 (diff)
downloadaur-b263e804435c87e950ca9cd7d9e8cc76bc291b21.tar.gz
Add db_bench
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index cf76cc0ee29..1de8e4cdbb6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ depends=(
'lz4'
'snappy'
'zlib'
+ 'gflags'
)
makedepends=('gcc' 'make')
checkdepends=(python2)
@@ -30,7 +31,7 @@ prepare() {
build() {
cd rocksdb-$pkgver
make clean
- DEBUG_LEVEL=0 make shared_lib sst_dump -j4
+ DEBUG_LEVEL=0 make shared_lib sst_dump db_bench -j4
}
#check() {
@@ -43,6 +44,7 @@ package() {
install -d "$pkgdir"/usr/include
cp -r include/rocksdb "$pkgdir"/usr/include
install -m755 -D sst_dump "$pkgdir"/usr/bin/sst_dump
+ install -m755 -D db_bench "$pkgdir"/usr/bin/db_bench
install -m755 -D librocksdb.so "$pkgdir"/usr/lib/librocksdb.so
install -D -m644 LICENSE.Apache "$pkgdir/usr/share/licenses/$pkgname/LICENSE.Apache"
install -D -m644 LICENSE.leveldb "$pkgdir/usr/share/licenses/$pkgname/LICENSE.leveldb"