aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/APKBUILD
blob: 29475e5c25edf8ffb4fc506563b85201d1d928b2 (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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=monero
pkgver=0.10.3.1
pkgrel=2
pkgdesc="Secure, private, untraceable cryptocurrency"
url="https://getmonero.org/"
arch="all"
license="BSD"
makedepends="unbound-dev libressl-dev boost-dev miniupnpc-dev cmake"
source="$pkgname-$pkgver.tar.gz::https://github.com/monero-project/$pkgname/archive/v$pkgver.tar.gz
	easylogging.patch
	libunwind.patch
	fix-build-flags-for-ppc64le.patch
	"
builddir="$srcdir/"$pkgname-$pkgver

build() {
	cd "$builddir"
	mkdir build && cd build
	cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
	make
}

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

sha512sums="6856e6078eee5a9036cf7276490a00121b6670b417fd9d8ba8360746af320813fb26f3021079483a61a4bb0179627cfe687435a4146a4ce3cf4d4ad5d500ea95  monero-0.10.3.1.tar.gz
9d431f87fae5d1fd0d7bb893164c8124bebf682bd3c14b1c4143091837912e36830aa462b05505637f1583595e6259b2d3bbef4706f8875b7ae24c3d0515b255  easylogging.patch
7dba2020c7cd8e6bcaad778089c4f28132a27c8a18db656c08ab112f81b0faab0eb6aa27f5eafe33f604599db687297627f78cc3ee89f61538007cf8d9c13a42  libunwind.patch
854d44aee308a5c86e51553767e2b58b25713a7ef9a2ed8650b00d8372f2c19a2d451b87463799495c627b3c133a8c5f1013cdf145c68a82a241b3cfa26b3ec4  fix-build-flags-for-ppc64le.patch"