summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 947013ff7b7..9678d50d55a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ethminer
pkgdesc = Ethereum miner with OpenCL and stratum support (built without CUDA).
pkgver = 0.17.1
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/ethereum-mining/ethminer
arch = x86_64
license = MIT
diff --git a/PKGBUILD b/PKGBUILD
index 0c7e9bc5eaa..1e7c70a9e60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=ethminer
pkgver=0.17.1
-pkgrel=1
+pkgrel=2
pkgdesc="Ethereum miner with OpenCL and stratum support (built without CUDA)."
arch=('x86_64')
url="https://github.com/ethereum-mining/ethminer"
@@ -18,6 +18,10 @@ sha256sums=('SKIP')
build () {
cd "$pkgname"
git submodule update --init --recursive
+
+ # add missing library for linking
+ sed -i 's/CLI11 Boost::system)/CLI11 Boost::system Boost::filesystem)/' ethminer/CMakeLists.txt
+
mkdir -p build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DETHASHCUDA=OFF