blob: 02feff72cfb49e0ab4509ed764f36873257844a9 (
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=1.2.3
pkgrel=0
pkgdesc="Blockchain daemon implementing the Ripple Consensus Ledger"
url="https://ripple.com/"
arch="x86_64"
license="ISC"
makedepends="cmake openssl-dev boost-dev protobuf-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/ripple/$pkgname/archive/$pkgver.tar.gz
boost-1.69.patch
"
builddir="$srcdir/"$pkgname-$pkgver
build() {
cd "$builddir"
mkdir build && cd build
cmake .. -Dstatic=OFF -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
cmake --build .
}
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 cfg/rippled-example.cfg "${pkgdir}/etc/$pkgname/rippled.cfg"
install -D -m644 cfg/validators-example.txt "${pkgdir}/etc/$pkgname/validators.txt"
}
sha512sums="9e78ce6fc228d6ecd8fd4c2170c7a6836c2ba81b959a8ccb181bdf107af30e625d3749179b45e1b810379fb4e12b348faf3d7b24762f8a2fa3a055679565aebd rippled-1.2.3.tar.gz
ded17d689014ab69700896fcae5002b5229a34e2ef5810af2ee122c546843fc7ceb2963d70d85169a334281e081f6da3a236ef89354d1f6c639beaefdfc8b88e boost-1.69.patch"
|