Last active
November 3, 2016 21:02
-
-
Save veox/1f3eecff3994629c54e3ebb443324d40 to your computer and use it in GitHub Desktop.
zcash-xpmclient-git updated PKGBUILD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Arne Beer <arne tat twobeer toad de> | |
# Contributor: Noel Maersk <veox tat veox toad pw> | |
_gitname=xpmclient | |
pkgname=zcash-${_gitname}-git | |
pkgver='r123.f19b9b9' | |
pkgrel=1 | |
arch=('any') | |
pkgdesc='A GPU miner for zcash (latest git version)' | |
license=('') | |
depends=('zeromq' 'amdapp-sdk' 'czmq' 'gmp' 'protobuf') | |
makedepends=('git') | |
provides=('zcash-xmpclient') | |
url='https://github.com/eXtremal-ik7/xpmclient' | |
source=("git://github.com/eXtremal-ik7/xpmclient.git") | |
sha256sums=('SKIP') | |
build() { | |
cd "${srcdir}/${_gitname}" | |
git checkout version/zcash | |
mkdir build | |
cd build | |
cmake ../../xpmclient -DOPENCL_LIBRARY=/usr/lib/libOpenCL.so -DOPENCL_INCLUDE_DIRECTORY=/opt/AMDAPP/SDK/include | |
make | |
} | |
package() { | |
# Place binary | |
cd "${srcdir}/${_gitname}/build" | |
install -Dm755 "./xpmclient" "${pkgdir}/usr/bin/xpmclient-zcash" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment