summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarmelo123412017-08-08 09:32:56 -0500
committerCarmelo123412017-08-08 09:32:56 -0500
commit91db4f5fe4a6f107aec7f3ef66a4c526a6640a27 (patch)
tree031f7653e2e567ab92295ef855cd8ae6ac928b5b
parenta398f79d53d43ef8c3a7d265716dff2d3d362bba (diff)
downloadaur-91db4f5fe4a6f107aec7f3ef66a4c526a6640a27.tar.gz
can't connect fix
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD15
-rw-r--r--minergate.install12
3 files changed, 14 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b7576841a37..88ec70044d4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
pkgbase = minergate
pkgdesc = Cryptocurrency GUI miner and Mining Pool
pkgver = 6.8
- pkgrel = 2
+ pkgrel = 3
url = http://www.minergate.com/
install = minergate.install
arch = x86_64
license = custom
depends = qt5-base
- depends = ocl-icd
depends = gcc-libs-multilib
depends = qt5-websockets
+ depends = ocl-icd
optdepends = bfgminer
+ optdepends = cuda: if you have an nvidia GPU
provides = minergate
source = https://minergate.com/download/ubuntu
md5sums = 4e43794f641bdeba98fe5ce679bfcf83
diff --git a/PKGBUILD b/PKGBUILD
index 33d954017dd..f8fa55b86d2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=minergate
pkgver=6.8
-pkgrel=2
+pkgrel=3
pkgdesc='Cryptocurrency GUI miner and Mining Pool'
arch=('x86_64')
url='http://www.minergate.com/'
@@ -11,16 +11,17 @@ license=('custom')
source=('https://minergate.com/download/ubuntu')
md5sums=('4e43794f641bdeba98fe5ce679bfcf83')
depends=('qt5-base'
- 'ocl-icd'
'gcc-libs-multilib'
- 'qt5-websockets')
-optdepends=('bfgminer')
-install=$pkgname.install
+ '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/libQt5*
- rm -r opt/minergate/platforms
+ 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}"
diff --git a/minergate.install b/minergate.install
index 9efdede415c..44af829b2b6 100644
--- a/minergate.install
+++ b/minergate.install
@@ -1,12 +1,6 @@
post_install () {
- ln -s /usr/lib/libpcre16.so.0.2.8 /usr/lib/libpcre16.so.3
+ echo "-> Be sure to read this wiki page in order to"
+ echo "-> setup ocl-icd"
+ echo "-> https://wiki.archlinux.org/index.php/GPGPU"
}
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- rm -f /opt/minergate/platforms/libqxcb.so
- rm -f /usr/lib/libpcre16.so.3
-}