aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmrig-proxy/APKBUILD
blob: f5042a78aae19c64da8d83783c60130411c5c10f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>

pkgname=xmrig-proxy
pkgver=5.5.1
pkgrel=0
pkgdesc="XMRig Proxy is a high performance Monero (XMR) Stratum protocol proxy"
url="https://xmrig.com/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="b716b9c94bab36a9e4eda38a9421d4938053949393fb5d3dc129cd96573f7bf6400ff35a2693d62c2e317aa4cac0406c27c0feab6473c0af80369b89ee704a6b  xmrig-proxy-5.5.1.tar.gz"