aboutsummaryrefslogtreecommitdiffstats
path: root/testing/xmrig-proxy/APKBUILD
blob: 8ae8eba600e908c326a986d270ac027aba3f7104 (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.12.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="dbbe09632e04970453104e5906c0a74f9330e62039175bbf545c46b8bb8d23632605f31afd59b2e71b216caef68259c6e0d53bdacd90369b644dd88564e125e1  xmrig-proxy-6.12.0.tar.gz"