-
Notifications
You must be signed in to change notification settings - Fork 0
/
PKGBUILD
36 lines (34 loc) · 792 Bytes
/
PKGBUILD
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
# Maintainer: Aurélien Ooms <aurelien.ooms@gmail.com>
# Signature: Christopher Jeffrey (https://keybase.io/chjj)
# Upstream: https://github.com/handshake-org/hs-miner
pkgname=hs-miner
pkgver=0.0.10
pkgrel=1
arch=(any)
license=('MIT')
pkgdesc="Handshake CUDA miner"
url="https://handshake.org"
depends=(
'nodejs'
)
makedepends=(
'node-gyp'
)
provides=(
'hs-miner'
'hs-mine'
)
source=(
"https://handshake.org/files/${pkgname}-${pkgver}.tar.gz"
"https://handshake.org/files/${pkgname}-${pkgver}.tar.gz.asc"
)
sha256sums=(
'67ff3517f24194b4e1375c565634d07e263ddcbee1c744e82592b6cb8e31f780'
'SKIP'
)
validpgpkeys=('B4B1F62DBAC084E333F3A04A8962AB9DE6666BBD')
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
node build
node install --user root --group root --license "${pkgdir}/usr"
}