blob: 760187f8df6ed74254bd9bb4a49aff8cf7fe44ad (
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
|
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=rippled
pkgver=0.90.1
pkgrel=0
pkgdesc="Blockchain daemon implementing the Ripple Consensus Ledger"
url="https://ripple.com/"
arch="x86_64"
license="ISC"
makedepends="cmake libressl-dev boost-dev protobuf-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ripple/$pkgname/archive/$pkgver.tar.gz
musl-fixes.patch
"
builddir="$srcdir/"$pkgname-$pkgver
build() {
cd "$builddir"
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
make
}
check() {
cd "$builddir"
./build/rippled --unittest
}
package() {
cd "$builddir"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/$pkgname/LICENSE"
install -D build/rippled "${pkgdir}/usr/bin/rippled"
install -D -m644 doc/rippled-example.cfg "${pkgdir}/etc/$pkgname/rippled.cfg"
install -D -m644 doc/validators-example.txt "${pkgdir}/etc/$pkgname/validators.txt"
}
sha512sums="30d55142f759c577cef948084663e6911aeb01587246f4cd443c85a50cc85b5abd6519df0ee0fd30ee421f600730e80d921c9d2961828b8f904373f263c3a0df rippled-0.90.1.tar.gz
8e313f63096993b8898c6bbbf81671f01fbad84f29b882fe8f164662b2e1487255a4135e978d8a9d2ee18b64fc90be0440109654f9aeef7d65a940b7dd174d5d musl-fixes.patch"
|