summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cea618ad76cc342b33153517e898bdc96d7b5aea (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
# Maintainer: Carlos Toro <ertsheiker at gmail dot com>

pkgname=minergate
pkgver=7.2
pkgrel=1
pkgdesc='Cryptocurrency GUI miner and Mining Pool'
arch=('x86_64')
url='http://www.minergate.com/'
provides=('minergate')
license=('custom')
source=('https://minergate.com/download/ubuntu')
md5sums=('6740877192a9530b54a9ab82f9d2b488')
depends=('qt5-base'
         'gcc-libs-multilib'
         'qt5-websockets'
         'ocl-icd')
optdepends=('bfgminer'
            'cuda: if you have an nvidia GPU')
install=${pkgname}.install

package() {
  bsdtar xf data.tar.gz
  rm -r opt/minergate/lib/libcudart.so.8.0*
  rm -r opt/minergate/lib/libOpenCL.so*
  rm -r opt/minergate/share
  chmod -R g-w usr opt
  mv usr opt "${pkgdir}"
}