diff options
author | Timothy Redaelli | 2020-12-01 15:46:14 +0100 |
---|---|---|
committer | Timothy Redaelli | 2020-12-01 15:46:23 +0100 |
commit | 7b01d468d34ba07bc1c2b95cc200ae0f4771db74 (patch) | |
tree | e1959d236f2929856202a7ef2c93d1c5a3ee9c53 | |
parent | c355f23659a2147bc129450ab6cb584d61228ede (diff) | |
download | aur-7b01d468d34ba07bc1c2b95cc200ae0f4771db74.tar.gz |
Link dynamically with rocksdb
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -10,6 +10,7 @@ pkgbase = electrs makedepends = cmake makedepends = rust depends = gcc-libs + depends = rocksdb source = git+https://github.com/romanz/electrs.git#tag=v0.8.6 md5sums = SKIP @@ -5,14 +5,14 @@ pkgdesc="An efficient re-implementation of Electrum Server in Rust" arch=(x86_64) url="https://github.com/romanz/electrs" license=('MIT') -depends=('gcc-libs') +depends=('gcc-libs' 'rocksdb') makedepends=('git' 'clang' 'cmake' 'rust') source=("git+https://github.com/romanz/electrs.git#tag=v$pkgver") md5sums=('SKIP') build() { cd "$pkgname" - cargo build --release --locked + ROCKSDB_INCLUDE_DIR=/usr/include ROCKSDB_LIB_DIR=/usr/lib cargo build --locked --no-default-features --release } check() { |