aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmrig-proxy/APKBUILD
blob: 279f28a026aeb409aca84cd9dd4db2a11f045a86 (plain) (blame)
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
# Contributor: Oleg Titov <oleg.titov@gmail.com>
# Maintainer: Oleg Titov <oleg.titov@gmail.com>

pkgname=xmrig-proxy
pkgver=6.3.0
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() {
	cmake -B build -DCMAKE_BUILD_TYPE=None
	make -C build
}

package() {
	install -Dm 755 build/xmrig-proxy $pkgdir/usr/bin/xmrig-proxy

	install -Dm 644 -t "$pkgdir"/usr/share/doc/$pkgname/ README.md
}

sha512sums="332edefcb936a1eb99542cb52795a749738829cedd105461740dc289a8996f602be874e4763758c7a04dd45ac88700b4d0772cfd9d07dde4502ed4d46636314c  xmrig-proxy-6.3.0.tar.gz"