summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormrxx2018-12-04 23:15:59 +0100
committermrxx2018-12-04 23:15:59 +0100
commitbe3385e6ba25fcecfada35e38527d01554abe9b9 (patch)
tree9f01017c0038254ca6f221cffd060d3b1e12c18e /PKGBUILD
parent424fd8b1bc521f87ee0cdd666d06de6b72e8dbd3 (diff)
downloadaur-be3385e6ba25fcecfada35e38527d01554abe9b9.tar.gz
Update to v0.16.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 15 insertions, 27 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 15464e2ace2a..b183141fb73b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,46 +1,34 @@
+# Maintainer: mrxx <mrxx at cyberhome dot at>
# Contributor: Afri 5chdn <aur@5chdn.co>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=ethminer-cuda
_pkgname=ethminer
-pkgver=0.13.0
-pkgrel=2
+pkgver=0.16.1
+pkgrel=1
pkgdesc="Ethereum miner with OpenCL, CUDA and stratum support."
arch=('x86_64')
url="https://github.com/ethereum-mining/ethminer"
license=('MIT')
-depends=(
- 'mesa'
- 'cuda'
-)
-makedepends=(
- 'cmake'
- 'python'
-)
+depends=('mesa' 'pth' 'cuda')
+makedepends=('cmake' 'python' 'git')
provides=('ethminer')
-conflicts=(
- 'ethereum'
- 'ethminer'
-)
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ethereum-mining/ethminer/archive/v$pkgver.tar.gz")
-sha256sums=('72bf827a922b797d556f8f03980185c4857bb82074b4c8b5f63b5d5e140893b8')
+conflicts=('ethminer' 'ethminer-git')
+source=("git+${url}.git#tag=v${pkgver}")
+sha256sums=('SKIP')
build () {
- cd "$_pkgname-$pkgver"
+ cd "$_pkgname"
+ git submodule update --init --recursive
mkdir -p build && cd build
- export CC=gcc-6
- export CCX=g++-6
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DETHASHCUDA=ON
-
- make
+ export CC=gcc-7
+ export CCX=g++-7
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=ON
+ cmake --build .
}
-
package() {
- cd "$_pkgname-$pkgver/build"
+ cd "$_pkgname/build"
make DESTDIR=$pkgdir install
}