blob: 3984986ad41ba48ea8dc81825bb54d8933dfc91e (
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
44
45
46
47
48
49
|
# Maintainer: redfish <redfish@galactica.pw>
pkgname=lbrycrd
pkgver=0.19.1.3
pkgrel=1
pkgdesc='Blockchain daemon that provides the digital content namespace for the LBRY protocol'
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
url="https://lbry.tech"
license=('MIT')
depends=('boost-libs' 'db' 'libevent' 'openssl') # db4.8 does not build for aarch64
optdepends=('miniupnpc' 'qt5-base' 'protobuf' 'qrencode')
makedepends=('boost')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/lbryio/lbrycrd/archive/v${pkgver}.tar.gz"
${pkgname}.service
${pkgname}.conf)
install=$pkgname.install
backup=("etc/${pkgname}.conf")
build() {
cd "$srcdir/$pkgname-$pkgver"
./autogen.sh
./configure --prefix=/usr --without-gui --with-incompatible-bdb
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make install DESTDIR=$pkgdir
rm -f $pkgdir/usr/bin/{bench_bitcoin,test_lbrycrd} \
$pkgdir/usr/lib/libbitcoinconsensus.* \
$pkgdir/usr/lib/pkgconfig/libbitcoinconsensus.pc \
$pkgdir/usr/include/bitcoinconsensus.h
install -Dm644 "$srcdir/${pkgname}.service"\
"$pkgdir/usr/lib/systemd/system/${pkgname}.service"
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
check() {
cd "$srcdir/$pkgname-$pkgver"
src/test/test_lbrycrd
}
sha256sums=('4812afef81a2f817509eb196b8ecc5d59333100785506cecf63779750bea330a'
'd6424f9341ed1b21774fb9341721044cc737e7d633641cb92781773c2b2f77a8'
'b97c87108220abf125421eef77f12718ffcff75c22765a0933858dcaf547f32c')
|