# Contributor: André Klitzing # Maintainer: André Klitzing pkgname=monero pkgver=0.14.1.2 pkgrel=0 pkgdesc="Secure, private, untraceable cryptocurrency" url="https://getmonero.org/" arch="all" license="BSD-3-Clause" makedepends="boost-dev cmake cppzmq libsodium-dev miniupnpc-dev openssl-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 easylogging.patch system-miniupnpc.patch version-string.patch " build() { mkdir -p build && cd build cmake -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DSTACK_TRACE=OFF \ -DMANUAL_SUBMODULES=1 \ .. make } package() { mkdir -p "$pkgdir"/usr/bin install -m755 -t "$pkgdir"/usr/bin build/bin/* } sha512sums="c3c3b7cb6e6d5ab5fd28fddd4c0d40978ede0b281f27d714ab909c6c85f73da6e56a6114ddeed6b520a462e0066d5412ca8e38370e1c89113015b880bbd926fd monero-0.14.1.2.tar.gz 899f2d539f826664f38d2f674db8272b639a4e4af72a147769c9382a5cbf0df4934183f30f01725b4e950df49cc580fc8d4de70387e905943cd2b295d53ef9aa easylogging.patch 70c8e981d87442e0c8eccb6804af8ba78c312cfeb547957b20c8e4e83e533f161ce1b094891a99df4113e901f43954a0f1473e39781e8dae77faa0726132563b system-miniupnpc.patch 087e48b0507c0fb7cc9dbab05b0373b61687de3935642299c6df0194539934e7cccad497435c32291c063b10f4d91d4fbc98d81e269148c4e14780ed38d43559 version-string.patch"