blob: e33943775b1a0ebee52145277048927802b09dcb (
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
|
# Maintainer: JustKidding <jk@vin.ovh>
pkgname=minergate-cli
pkgver=1.7
pkgrel=2
pkgdesc="MinerGate xFast CLI Miner"
arch=("x86_64")
url="http://www.minergate.com/"
provides=("minergate-cli")
license=("custom")
source=("${pkgname}-${pkgver}.deb::https://vin.ovh/MinerGate-xFast-cli-1.7-ubuntu.deb")
sha256sums=("bff127436b13a455c2022052d67156313163f53a1ee1835c0756d39adf591a77")
options=(!strip) # Doesn't work without disabling this option
depends=() # Minergate comes bundled with its own libraries
prepare() {
# All is done in ${srcdir}
mkdir minergate-data
tar xf data.tar.gz -C minergate-data
}
package() {
cd ${srcdir}/minergate-data
chmod -R g-w usr opt
mv usr opt "${pkgdir}"
}
|