blob: 7b59a123a8f6400fa9a719985f81a348db68bdab (
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
30
31
32
33
34
35
36
|
pkgname=xmr-stak-rx
pkgver=1.0.5
pkgrel=2
pkgdesc="Unified All-in-one Monero miner (no cuda)"
arch=('x86_64')
url="https://github.com/fireice-uk/xmr-stak"
license=('GPL3')
makedepends=('git' 'cmake')
depends=('libmicrohttpd' 'openssl' 'hwloc' 'ocl-icd')
source=("$pkgname-$pkgver.tar.gz::https://github.com/fireice-uk/xmr-stak/archive/$pkgver-rx.tar.gz"
'xmr-stak-rx.service')
sha256sums=('3f343527593bb9182c94a9af33edfacb23f42e255ac01edf516ac6b4d85bf12f'
'SKIP')
build() {
cd "$srcdir/xmr-stak-$pkgver-rx"
rm -rf build
mkdir build
cd build
cmake .. \
-DCUDA_ENABLE=OFF \
-DMICROHTTPD_ENABLE=OFF \
-DCMAKE_BUILD_TYPE=Plain
make VERBOSE=1
}
package() {
cd "$srcdir/xmr-stak-$pkgver-rx/build"
install -D -m755 "bin/xmr-stak-rx" -t "$pkgdir/usr/bin/"
install -m755 -d ${pkgdir}/usr/lib/systemd/system
install -m644 $startdir/xmr-stak-rx.service ${pkgdir}/usr/lib/systemd/system
install -m755 -d ${pkgdir}/etc/xmr-stak-rx
}
|