summaryrefslogtreecommitdiff
path: root/testing/xmrig-proxy/APKBUILD
blob: dc1364ad70dae521c25a34a2ce6351bbc4d229e2 (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=6.15.1
pkgrel=1
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="
ce556f01bd4d9ba985b2e0aa4874ac72e51d3ab85116032e121d1fd42616b8fd628117992f867dd1589450b2941faeb6809a2de1ac31ff2bc253ee8dd975200a  xmrig-proxy-6.15.1.tar.gz
"