aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/APKBUILD
blob: fa0235da78e45dabf347d73a0f3845ca4bcdcc9a (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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=monero
pkgver=0.14.1.0
pkgrel=0
pkgdesc="Secure, private, untraceable cryptocurrency"
url="https://getmonero.org/"
arch="all"
license="BSD"
makedepends="unbound-dev openssl-dev boost-dev miniupnpc-dev cmake cppzmq zeromq-dev rapidjson-dev readline-dev libsodium-dev"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/monero-project/$pkgname/archive/v$pkgver.tar.gz
	easylogging.patch
	system-miniupnpc.patch
	version-string.patch
	"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	mkdir -p build && cd build
	cmake -DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DSTACK_TRACE=OFF \
		-DMANUAL_SUBMODULES=1 \
		..
	make
}

package() {
	cd "$builddir"
	mkdir -p "${pkgdir}"/usr/bin
	install -m755 -t "${pkgdir}"/usr/bin build/bin/*
}

sha512sums="59ec15a0d65536d464162a555172e1ac5bbe358af6ef008336877afaa695f2d048b7830e5f6097325373152df1e4a4e59b693d9f26497447a1845a28b8d74878  monero-0.14.1.0.tar.gz
899f2d539f826664f38d2f674db8272b639a4e4af72a147769c9382a5cbf0df4934183f30f01725b4e950df49cc580fc8d4de70387e905943cd2b295d53ef9aa  easylogging.patch
70c8e981d87442e0c8eccb6804af8ba78c312cfeb547957b20c8e4e83e533f161ce1b094891a99df4113e901f43954a0f1473e39781e8dae77faa0726132563b  system-miniupnpc.patch
087e48b0507c0fb7cc9dbab05b0373b61687de3935642299c6df0194539934e7cccad497435c32291c063b10f4d91d4fbc98d81e269148c4e14780ed38d43559  version-string.patch"