aboutsummaryrefslogtreecommitdiffstats
path: root/testing/monero/APKBUILD
blob: e0dbe7d6f28aa6a88918c83d1c2120a3cc9a539d (plain) (blame)
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
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=monero
pkgver=0.11.1.0
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"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/monero-project/$pkgname/archive/v$pkgver.tar.gz
	easylogging.patch
	disable-aes-on-s390x.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="bac3520730164afe2ca992c588bd0b51791d986cd8d5ebcaac5bd48185b963e2391c28ee89399d7dd678a5d1f8b41c3ae5724d194a5f62bbcd3e6ad505986573  monero-0.11.1.0.tar.gz
ff26308bdaf1e0aea9803ece5ec23bebb55d39169e9567c48f4cd4bdceb4fa75cd27fee5bd3d5050273936a3593a29dc2c9d7f5a8dd7a1e0b97a752c48ad4985  easylogging.patch
32784d187f0c496468fdf5a31071e224a5772d4dab46c053b8d377e5680016d3b7a4fa71fde349e0f200e767b9732492eecd1928b90f3441dff7e1627e6c8748  disable-aes-on-s390x.patch"