# Contributor: Oleg Titov # Maintainer: Oleg Titov pkgname=xmrig-proxy pkgver=2.14.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="07556f98af2a424848e766ffc55b9fc83786b6bdb5a61f190d6739475ecf5ffdcc3251adc561c7b2bdebfbff0007421e175049ceaa8bd3d9db48297086ea8508 xmrig-proxy-2.14.1.tar.gz"