# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=xmrig-proxy pkgver=2.8.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" #depends="libuv libmicrohttpd openssl libuuid" 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" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" mkdir build cd build cmake .. make } check() { cd "$builddir"/build ./xmrig-proxy --version } package() { install -Dm 755 build/xmrig-proxy $pkgdir/usr/bin/xmrig-proxy install -Dm 644 -t "$pkgdir"/usr/share/licenses/$pkgname/ LICENSE install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md } sha512sums="12e476eee2c85d58881d5a4b2cd6efe5807531cf5c20cd17932bb6c1d9f98dc2aea65c3273a25f59f420321b876564639964b492b1f3df6da46d865ddad14e7b xmrig-proxy-2.8.1.tar.gz"