# Maintainer: mrxx # Contributor: Afri 5chdn # Contributor: Andy Weidenbaum pkgname=ethminer pkgver=0.19.0 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' 'pth') makedepends=('cmake' 'python' 'git' 'opencl-headers') conflicts=('ethminer-git') source=("git+${url}.git#tag=v${pkgver}") 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 cmake --build . } package() { cd "$pkgname/build" make DESTDIR=$pkgdir install }