# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=xmrig-proxy pkgver=3.2.1 pkgrel=0 pkgdesc="XMRig Proxy is a high performance Monero (XMR) Stratum protocol proxy" url="https://github.com/xmrig/xmrig-proxy" arch="all" license="GPL-3.0-or-later" options="!check" # No test suite from upstream makedepends="cmake libuv-dev libmicrohttpd-dev openssl-dev util-linux-dev" subpackages="$pkgname-doc" source="$pkgname-$pkgver.tar.gz::https://github.com/xmrig/xmrig-proxy/archive/v$pkgver.tar.gz" build() { mkdir build cd build cmake .. make } package() { install -Dm 755 build/xmrig-proxy $pkgdir/usr/bin/xmrig-proxy install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md } sha512sums="ce0efa79fb2031e664ded295d938a5fed93a914b7c80926697f18fb8b2ad3ee1b56c6f96c46234b53b8e37a3317f2c9b8d5c41100f5cd463ff1a05b743515a8e xmrig-proxy-3.2.1.tar.gz"