# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=xmrig-proxy pkgver=2.14.0 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="1cc2f1ac6af440f8b8c439735bc3f6918469cdf890e89d479ecfbdaf52f7d42f94c40f3c67c6d3fb8358db4368f32e7d5a7b63bd9f7b3b02937548e72ae2df83 xmrig-proxy-2.14.0.tar.gz"