summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormrxx2018-12-04 23:09:40 +0100
committermrxx2018-12-04 23:09:40 +0100
commit51d4ef662d5d7d3f537935e725715055188faccb (patch)
tree24406afdb71db6fc489b37488b50cc181d91782f
parentfa80bd559459dc14ba3677f51588870452f7341a (diff)
downloadaur-51d4ef662d5d7d3f537935e725715055188faccb.tar.gz
Update to v0.16.1
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD32
2 files changed, 21 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 783f05b4337..d29c375d947 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,19 @@
pkgbase = ethminer
pkgdesc = Ethereum miner with OpenCL and stratum support (built without CUDA).
- pkgver = 0.13.0
- pkgrel = 2
+ pkgver = 0.16.1
+ pkgrel = 1
url = https://github.com/ethereum-mining/ethminer
arch = x86_64
license = MIT
makedepends = cmake
makedepends = python
+ makedepends = git
+ makedepends = opencl-headers
depends = mesa
- conflicts = ethereum
- source = ethminer-0.13.0.tar.gz::https://github.com/ethereum-mining/ethminer/archive/v0.13.0.tar.gz
- sha256sums = 72bf827a922b797d556f8f03980185c4857bb82074b4c8b5f63b5d5e140893b8
+ depends = pth
+ conflicts = ethminer-git
+ source = git+https://github.com/ethereum-mining/ethminer.git#tag=v0.16.1
+ sha256sums = SKIP
pkgname = ethminer
diff --git a/PKGBUILD b/PKGBUILD
index 6158c5ef96c..8bf06ff0cf1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,36 +1,30 @@
+# Maintainer: mrxx <mrxx at cyberhome dot at>
# Contributor: Afri 5chdn <aur@5chdn.co>
# Contributor: Andy Weidenbaum <archbaum@gmail.com>
pkgname=ethminer
-pkgver=0.13.0
-pkgrel=2
+pkgver=0.16.1
+pkgrel=1
pkgdesc="Ethereum miner with OpenCL and stratum support (built without CUDA)."
arch=('x86_64')
url="https://github.com/ethereum-mining/ethminer"
license=('MIT')
-depends=('mesa')
-makedepends=(
- 'cmake'
- 'python'
-)
-conflicts=('ethereum')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ethereum-mining/ethminer/archive/v$pkgver.tar.gz")
-sha256sums=('72bf827a922b797d556f8f03980185c4857bb82074b4c8b5f63b5d5e140893b8')
+depends=('mesa' 'pth')
+makedepends=('cmake' 'python' 'git' 'opencl-headers')
+conflicts=('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
- cmake .. \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release
-
- make
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=OFF
+ cmake --build .
}
-
package() {
- cd "$pkgname-$pkgver/build"
+ cd "$pkgname/build"
make DESTDIR=$pkgdir install
}