aboutsummaryrefslogblamecommitdiffstats
path: root/testing/xmrig-proxy/APKBUILD
blob: e1b0f7394f256f93ea9875b0b35571b9bc8159b4 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                
             



                                                                               

                                              


                                                                                              

         





                   


                                                                     


                                                                      
                                                                                                                                                                        
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>

pkgname=xmrig-proxy
pkgver=2.14.4
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="d3bd8545cc4fc1a4a5a509197deb2eb6b0b4580d47ad3843b2a5d51fea4b7ea691532125e2edf5641b448c1b8a649cd64cd9574dfa71af43c7109d8b2e800ec6  xmrig-proxy-2.14.4.tar.gz"