blob: dbcd76dfa7205f1610b72cf850383ed692a0cb31 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Maintainer: Tom Zander
# Maintainer: Calvin McAnarney <calvin@mcanarney.org>
pkgname=fulcrum
pkgdesc='A fast & nimble SPV server for Bitcoin Cash'
pkgver=1.11.0
pkgrel=1
url='https://codeberg.org/Flowee/fulcrum'
arch=('x86_64')
license=('GPL3')
depends=(
'qt5-base'
'rocksdb'
'python'
)
optdepends=('jemalloc: reduce memory fragmentation')
backup=('etc/fulcrum.conf')
install=fulcrum.install
provides=("$pkgname")
source=(
"https://github.com/cculianu/Fulcrum/releases/download/v$pkgver/Fulcrum-$pkgver-src.tar.gz"
"fulcrum.conf"
)
sha256sums=('86912a1f5f44a6cbb4101f64f9c78b86e5f6928c94720b1a0713e8ceedc9c814'
'39c732e08ffa4d5b566b49f1e3a6929c8d0a12590e1616ccad1d6d4d8987e3a6'
)
prepare() {
cd "Fulcrum-$pkgver-src/"
qmake -makefile CONFIG+=recheck CONFIG+=release Fulcrum.pro
}
build() {
cd "Fulcrum-$pkgver-src/"
make
}
package() {
install -Dm 775 "$srcdir/Fulcrum-$pkgver-src/Fulcrum" -T "$pkgdir/usr/bin/fulcrum"
install -Dm 775 "$srcdir/Fulcrum-$pkgver-src/FulcrumAdmin" -T "$pkgdir/usr/bin/fulcrum-admin"
install -Dm 664 "$srcdir/fulcrum.conf" -t "$pkgdir/etc/"
install -Dm 644 "$srcdir/Fulcrum-$pkgver-src/contrib/rpm/fulcrum.service" -t "$pkgdir/usr/lib/systemd/system"
}
|