blob: af577c0e93538b2e4de6dacfc3b6c1854d346426 (
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
|
pkgname=xmr-stak-cpu-git
pkgver=r127.d0f991c
pkgrel=3
pkgdesc="Monero CPU miner"
arch=('x86_64')
url="https://github.com/nicehash/xmr-stak-cpu"
license=('GPL3')
makedepends=('git' 'cmake')
depends=('libmicrohttpd' 'openssl')
source=('git+https://github.com/fireice-uk/xmr-stak-cpu.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/xmr-stak-cpu"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
cd "$srcdir/xmr-stak-cpu"
#patch -p1 -i ../../no-donate.patch
}
build() {
cd "$srcdir/xmr-stak-cpu"
cmake .
make
}
package() {
install -D -m755 "$srcdir/xmr-stak-cpu/bin/xmr-stak-cpu" "$pkgdir/usr/bin/"
install -D -m644 "$srcdir/xmr-stak-cpu/config.txt" "$pkgdir/etc/xmr-stak-cpu.json"
}
|