Skip to content

Instantly share code, notes, and snippets.

@veox
Last active November 3, 2016 21:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save veox/1f3eecff3994629c54e3ebb443324d40 to your computer and use it in GitHub Desktop.
Save veox/1f3eecff3994629c54e3ebb443324d40 to your computer and use it in GitHub Desktop.
zcash-xpmclient-git updated PKGBUILD
# 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