# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=monero pkgver=0.18.2.2 pkgrel=2 _ver_randomx=261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c _ver_supercop=633500ad8c8759995049ccd022107d1fa8a1bbc9 pkgdesc="Secure, private, untraceable cryptocurrency" url="https://getmonero.org/" arch="all !riscv64" # build failure license="BSD-3-Clause" makedepends=" boost-dev cmake cppzmq hidapi-dev libsodium-dev miniupnpc-dev openssl-dev>3 rapidjson-dev readline-dev samurai unbound-dev zeromq-dev " options="!check" source="$pkgname-$pkgver.tar.gz::https://github.com/monero-project/monero/archive/refs/tags/v$pkgver.tar.gz $pkgname-randomx-$_ver_randomx.tar.gz::https://github.com/tevador/RandomX/archive/$_ver_randomx.tar.gz $pkgname-supercop-$_ver_supercop.tar.gz::https://github.com/monero-project/supercop/archive/$_ver_supercop.tar.gz easylogging.patch gcc13.patch system-miniupnpc.patch version-string.patch " prepare() { default_prepare rm -fr external/randomx external/supercop ln -s $srcdir/RandomX-$_ver_randomx external/randomx ln -s $srcdir/supercop-$_ver_supercop external/supercop } build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DSTACK_TRACE=OFF \ -DMANUAL_SUBMODULES=1 \ -DARCH=default cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 78d4f7fee4eb37ba4837bc392c5869e21c9ea1e9bd9e95f768003bc833302935121c315fb3b4fcbe8f07a9513f928e9e9146dc7ca8892a3db2eb14cfe1371727 monero-0.18.2.2.tar.gz 959a8399ae85bbb57e875e0383e448b10241badcd6682c7b6dec9d172f489ccbf3bb9b8b9b657bf977b3f2280597eb99cef2270159dc77142615dfe8d6f438ad monero-randomx-261d58c77fc5547c0aa7fdfeb58421ba7e0e6e1c.tar.gz 06cca8d1def31aa11bf5aa42d861c4a027786f7cc494fa3ab53a2bc4bd9d1f55b2389020ba5fd1816ed277b6e4320ad8edbb3117dcf4981fc7fba655c4bbe648 monero-supercop-633500ad8c8759995049ccd022107d1fa8a1bbc9.tar.gz c149f1e6a6968115f95213d512116457b36665ff1159c5137dda45fa27712ce6f088b908663fb429b8e5f74e41d6cd57669db79d596564ddaca481dbdc63393e easylogging.patch 2d3f067f3cd1caf99f5e467d82ee09433561fe15c26153c07ec19b01cdf9dead7b8ac45fba6a90634fc56228dce8f33ad0bba5511515d2ce8c66dca8052f16f4 gcc13.patch 53c5d59a8c6a39969ca2507dd0e9cb9339c85f54ae175be4bb773d0a99ca8ba39b4aab3ffe843637395760e1b4162d6002a97242fda3bbfbad1ecccce1ecf209 system-miniupnpc.patch 411d041754bf801a4dcff6eb52d0d7fa29ad07ce673f956764b2d4b8c8252233b5f09f8833f8461be0f9b0c922748db71fecad04ae755c61ebe50113e2648485 version-string.patch "