blob: bb0b318eaed66f9f9c07d809f17cb866c89a5211 (
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
|
# Maintainer: Stephen Erisman <aur at serisman dot com>
pkgname='xmrig-mo-bin'
pkgver='6.22.0mo3'
pkgrel='1'
pkgdesc='High performance RandomX, KawPow, CryptoNight, and AstroBWT CPU/GPU miner, with MoneroOcean auto alg switching. Pre-compiled.'
arch=('x86_64')
url="https://github.com/MoneroOcean/xmrig"
depends=('libuv' 'openssl-1.1' 'hwloc')
license=('GPL')
provides=('xmrig-mo')
conflicts=('xmrig-mo')
source=("${url}/releases/download/v6.22.0-mo3/xmrig-v6.22.0-mo3-lin64.tar.gz"
"${pkgname/-bin/}.service"
"${pkgname/-bin/}.sysusers")
sha256sums=('28df44173bccec3f6c3a3aaf0f857d9c2e0dfa92ce5f8e4d7df80e9950e4c3d1'
'd900cb4231b6d548c746cb329560b6df8544e18335307cdcdf5045a86c54df7c'
'd8f499302fb2b642fe02586c81c410a299e0a6e133aef1cc1c783bcdcb3f44f6')
package() {
install -Dm775 "${srcdir}/xmrig" "${pkgdir}/usr/bin/${pkgname/-bin/}"
install -Dm644 "${srcdir}/config.json" "${pkgdir}/etc/${pkgname/-bin/}/${pkgname/-bin/}.conf.example"
install -Dm644 "${srcdir}/${pkgname/-bin/}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname/-bin/}.service"
install -Dm0644 "${srcdir}/${pkgname/-bin/}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname/-bin/}.conf"
}
|