Date: Monday, November 25, 2019 @ 20:43:12 Author: kpcyrd Revision: 533296
addpkg: monero Added: monero/ monero/repos/ monero/trunk/ monero/trunk/PKGBUILD monero/trunk/monero.sysusers monero/trunk/monero.tmpfiles -----------------+ PKGBUILD | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ monero.sysusers | 1 monero.tmpfiles | 1 3 files changed, 78 insertions(+) Added: monero/trunk/PKGBUILD =================================================================== --- monero/trunk/PKGBUILD (rev 0) +++ monero/trunk/PKGBUILD 2019-11-25 20:43:12 UTC (rev 533296) @@ -0,0 +1,76 @@ +# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org> + +pkgname=monero +pkgver=0.15.0.1 +pkgrel=2 +pkgdesc="Monero: the secure, private, untraceable currency - release version (includes daemon, wallet and miner)" +license=('custom:Cryptonote') +arch=('x86_64') +url="https://getmonero.org/" +depends=('boost-libs' 'libunwind' 'openssl' 'readline' 'zeromq' 'pcsclite' 'hidapi') +makedepends=('git' 'cmake' 'boost') +source=( + "${pkgname}"::"git+https://github.com/monero-project/monero#tag=v${pkgver}" + "git+https://github.com/monero-project/unbound.git" + "git+https://github.com/monero-project/miniupnp.git" + "git+https://github.com/Tencent/rapidjson" + "git+https://github.com/trezor/trezor-common.git" + "git+https://github.com/tevador/randomx" + "monero.sysusers" + "monero.tmpfiles") +sha512sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + '2e4ecf3f305dab46e166f50c0451dd969927b485df544aebcf8115a65444573e6d57a8ac6bea64ce5ab4b5cce2c70f913d9ac3bce561c59acf89851edc76a22c' + 'ae3c300548e6ba5fdf6a203146e5dcaf1955c3e19820c0bb3a73bb70ec5629a3af00d43dac95b6f3832ded5c480e872d829981a63206016d4a64f3940b713357') + +prepare() { + cd "${pkgname}" + git submodule init + git config submodule.external/unbound.url "$srcdir/unbound" + git config submodule.external/miniupnp.url "$srcdir/miniupnp" + git config submodule.external/rapidjson.url "$srcdir/rapidjson" + git config submodule.external/trezor-common.url "$srcdir/trezor-common" + git config submodule.external/randomx.url "$srcdir/randomx" + git submodule update +} + +build() { + cd "${pkgname}" + mkdir -p build && cd build + cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=release ../ + make +} + +package() { + backup=('etc/monerod.conf') + + cd "${pkgname}" + install -Dm644 "LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}" + + install -Dm644 "utils/conf/monerod.conf" "${pkgdir}/etc/monerod.conf" + install -Dm644 "utils/systemd/monerod.service" "${pkgdir}/usr/lib/systemd/system/monerod.service" + install -Dm644 "../monero.sysusers" "${pkgdir}/usr/lib/sysusers.d/monero.conf" + install -Dm644 "../monero.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/monero.conf" + + install -Dm755 "build/bin/monero-blockchain-ancestry" \ + "build/bin/monero-blockchain-depth" \ + "build/bin/monero-blockchain-export" \ + "build/bin/monero-blockchain-import" \ + "build/bin/monero-blockchain-mark-spent-outputs" \ + "build/bin/monero-blockchain-prune" \ + "build/bin/monero-blockchain-prune-known-spent-data" \ + "build/bin/monero-blockchain-stats" \ + "build/bin/monero-blockchain-usage" \ + "build/bin/monero-gen-ssl-cert" \ + "build/bin/monero-gen-trusted-multisig" \ + "build/bin/monero-wallet-cli" \ + "build/bin/monero-wallet-rpc" \ + "build/bin/monerod" \ + -t "${pkgdir}/usrc/bin" +} + +# vim: ts=2 sw=2 et: Added: monero/trunk/monero.sysusers =================================================================== --- monero/trunk/monero.sysusers (rev 0) +++ monero/trunk/monero.sysusers 2019-11-25 20:43:12 UTC (rev 533296) @@ -0,0 +1 @@ +u monero - - /var/lib/monero Added: monero/trunk/monero.tmpfiles =================================================================== --- monero/trunk/monero.tmpfiles (rev 0) +++ monero/trunk/monero.tmpfiles 2019-11-25 20:43:12 UTC (rev 533296) @@ -0,0 +1 @@ +d /var/lib/monero 0770 monero monero - -