summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 38a8cefd765879dad446925278ce76b575ae1101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
_pkgname=xmrig
pkgname=${_pkgname}-c3-bin
pkgver=6.12.0
pkgrel=1
pkgdesc="Monero cryptocurrency CPU miner, with C3Pool auto alg switching"
arch=('x86_64')
url="https://github.com/C3Pool/xmrig-C3"
license=('GPL')
depends=('glibc')
provides=('xmrig')
conflicts=('xmrig')
replaces=('xmrig')
install=${_pkgname}.install
source=("https://github.com/C3Pool/xmrig-C3/releases/download/v${pkgver}-C3/xmrig-v${pkgver}-C3-linux-Static.tar.gz")

package() {
    install -Dm755 xmrig "${pkgdir}/usr/bin/xmrig"
    install -Dm644 config.json "${pkgdir}/usr/share/doc/xmrig/config.json.example"
}
md5sums=('2d8fd031e9173bd17ede78c83771d9d6')