aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmrig-proxy/APKBUILD
blob: ffc3fa2a391333a28d7d33821a23453955f073d5 (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.4.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="0120c7add96db970f96abf28121812eaff1279fc88fc09d0cc47f92a8292b407a5e9eb0474dd332327033f374c8e8d320bd17b87b1455b74b2bbbf73e2e23b97  xmrig-proxy-6.4.0.tar.gz"