blob: bb0288cae5fbe46df4e7b924329b16e91a34b345 (
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
40
41
42
|
# Contributor: André Klitzing <aklitzing@gmail.com>
# Maintainer: André Klitzing <aklitzing@gmail.com>
pkgname=monero
pkgver=0.15.0.5
pkgrel=0
_ver_randomx=1.1.6
pkgdesc="Secure, private, untraceable cryptocurrency"
url="https://getmonero.org/"
arch="all !aarch64 !mips !mips64" # build failure
license="BSD-3-Clause"
makedepends="boost-dev cmake cppzmq libsodium-dev miniupnpc-dev openssl-dev
openpgm-dev rapidjson-dev readline-dev unbound-dev zeromq-dev"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/monero-project/monero/archive/v$pkgver.tar.gz
$pkgname-randomx-$_ver_randomx.tar.gz::https://github.com/tevador/RandomX/archive/v$_ver_randomx.tar.gz
easylogging.patch
system-miniupnpc.patch
version-string.patch
"
build() {
rm -fr external/randomx
ln -s $srcdir/RandomX-$_ver_randomx external/randomx
mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=None \
-DSTACK_TRACE=OFF \
-DMANUAL_SUBMODULES=1 \
..
make
}
package() {
mkdir -p "$pkgdir"/usr/bin
install -m755 -t "$pkgdir"/usr/bin build/bin/*
}
sha512sums="3156d1c000a5aea66e7c8503f4d0d424444e609145f4f182b0ba2841685bb4673c711b588066bad87b5e73f498b8c774636e084d20e47989bc1b215c1ca15a27 monero-0.15.0.5.tar.gz
c59ebccd5ddc7690824b8fc68c4492f1a00d785e5820a69a73361ae639d66d2a6d1589e8b9783666edf29374516e4e1ca3a887393bab8b98bd0086e4783ac3c8 monero-randomx-1.1.6.tar.gz
899f2d539f826664f38d2f674db8272b639a4e4af72a147769c9382a5cbf0df4934183f30f01725b4e950df49cc580fc8d4de70387e905943cd2b295d53ef9aa easylogging.patch
70c8e981d87442e0c8eccb6804af8ba78c312cfeb547957b20c8e4e83e533f161ce1b094891a99df4113e901f43954a0f1473e39781e8dae77faa0726132563b system-miniupnpc.patch
087e48b0507c0fb7cc9dbab05b0373b61687de3935642299c6df0194539934e7cccad497435c32291c063b10f4d91d4fbc98d81e269148c4e14780ed38d43559 version-string.patch"
|