Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ItachiSan:archlinux
xmrig-mo
PKGBUILD
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File PKGBUILD of Package xmrig-mo
# Maintainer: Stephen Erisman <aur at serisman dot com> pkgname='xmrig-mo' pkgver='6.22.2mo1' pkgrel='1' pkgdesc='High performance RandomX, KawPow, CryptoNight, and AstroBWT CPU/GPU miner, with MoneroOcean auto alg switching' arch=('x86_64') url="https://github.com/MoneroOcean/xmrig" depends=('libuv' 'openssl' 'hwloc') makedepends=('cmake') license=('GPL') source=("${url}/archive/v6.22.2-mo1.tar.gz" "${pkgname}.service" "${pkgname}.sysusers") sha256sums=('d2ce3ac11f0126dc3cecfd52ffd7b36faadb7fae9cb25346068d4d2b7ce3c2c2' 'eceb05ca62896015f4cb2866e9caa516efc9a77a370d9ecf2eaf4763ff315e5f' 'd8f499302fb2b642fe02586c81c410a299e0a6e133aef1cc1c783bcdcb3f44f6') prepare() { cd "xmrig-6.22.2-mo1" [ -d build ] || mkdir build msg2 "Resetting donation level to zero" sed -i -E '/^(.*DonateLevel = )[0-9]+;$/s//\10;/' src/donate.h #echo "$(echo '#include <stdexcept>' | cat - src/backend/opencl/runners/OclRyoRunner.cpp)" > src/backend/opencl/runners/OclRyoRunner.cpp } build() { cd "xmrig-6.22.2-mo1/build" cmake .. \ -DCMAKE_C_COMPILER=gcc \ -DCMAKE_CXX_COMPILER=g++ \ -DCMAKE_BUILD_TYPE=Release make -j$(getconf _NPROCESSORS_ONLN) } package() { cd "xmrig-6.22.2-mo1" install -Dm775 "build/xmrig" "${pkgdir}/usr/bin/${pkgname}" install -Dm644 "src/config.json" "${pkgdir}/etc/${pkgname}/${pkgname}.conf.example" install -Dm644 "${srcdir}/${pkgname}.service" "${pkgdir}/usr/lib/systemd/system/${pkgname}.service" install -Dm0644 "${srcdir}/${pkgname}.sysusers" "${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf" }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor