diff options
author | Omar Pakker | 2018-01-05 00:34:29 +0100 |
---|---|---|
committer | Omar Pakker | 2018-01-05 00:34:42 +0100 |
commit | 8c7522ffc8d552c0029b01485494791539cdc3d6 (patch) | |
tree | c4c803d84509ba0d2160033857a236e07de3e072 | |
parent | 0f08996cfdbe1df63942748c0cfc96de27c9ce4a (diff) | |
download | aur-ccminer-git.tar.gz |
cuda-9 feature branch has been merged into the main branches and has been removed; switch back to the main Linux branch.
No longer relies on openssl-1.0 so remove the workaround and dependency. Can now build normally with the openssl package.
Add missing nvidia-utils dependency.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 17 insertions, 19 deletions
@@ -1,21 +1,21 @@ pkgbase = ccminer-git pkgdesc = Coin miner using CUDA for nVidia GPUs. - pkgver = r901.54d14b1 + pkgver = r917.b54be47 pkgrel = 1 url = http://ccminer.org/ arch = x86_64 license = GPL3 makedepends = git makedepends = cuda - makedepends = openssl-1.0 + makedepends = nvidia-utils depends = cuda depends = curl depends = jansson - depends = openssl-1.0 + depends = nvidia-utils provides = ccminer conflicts = ccminer options = !emptydirs - source = git://github.com/tpruvot/ccminer.git#branch=cuda-9 + source = git+https://github.com/tpruvot/ccminer.git#branch=linux sha256sums = SKIP pkgname = ccminer-git @@ -1,41 +1,39 @@ # Maintainer: Omar Pakker <archlinux@opakker.nl> -pkgname=ccminer-git -pkgver=r901.54d14b1 +_pkgname='ccminer' +pkgname="${_pkgname}-git" +pkgver=r917.b54be47 pkgrel=1 pkgdesc="Coin miner using CUDA for nVidia GPUs." arch=('x86_64') url="http://ccminer.org/" license=('GPL3') -depends=('cuda' 'curl' 'jansson' 'openssl-1.0') -makedepends=('git' 'cuda' 'openssl-1.0') -provides=('ccminer') -conflicts=('ccminer') +depends=('cuda' 'curl' 'jansson' 'nvidia-utils') +makedepends=('git' 'cuda' 'nvidia-utils') +provides=("${_pkgname}") +conflicts=("${_pkgname}") options=('!emptydirs') -changelog= -source=("git://github.com/tpruvot/ccminer.git#branch=cuda-9") +source=("git+https://github.com/tpruvot/ccminer.git#branch=linux") sha256sums=('SKIP') pkgver() { - cd "${srcdir}/ccminer" + cd "ccminer" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { - cd "${srcdir}/ccminer" + cd "ccminer" ./autogen.sh - - ./configure CPPFLAGS='-I/usr/include/openssl-1.0' LDFLAGS='-L/usr/lib/openssl-1.0' \ - CUDA_CFLAGS='--shared --compiler-options "-fPIC"' \ + ./configure CUDA_CFLAGS='--shared --compiler-options "-fPIC"' \ --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-cuda=/opt/cuda make } package() { - cd "${srcdir}/ccminer" + cd "ccminer" - make DESTDIR="${pkgdir}/" install + make DESTDIR="${pkgdir}" install } |