Open MyerSmith opened 7 years ago
Have you tried using https://github.com/KlausT/ccminer-cryptonight/archive/master.zip as source
? Your build-command runs without any errors at my Archlinux.
can conform that the same commands on the cli work but not in the pkg - strange - maybe some environment settings are missing in the build script
pkgname=ccminer-cryptonight
pkgver=2.00
pkgrel=1
pkgdesc="Coin miner using CUDA for nVidia GPUs."
arch=('x86_64')
url="http://ccminer.org/"
license=('GPL3')
depends=('cuda' 'curl' 'jansson')
makedepends=('git' 'cuda')
provides=('ccminer')
conflicts=('ccminer')
options=('!emptydirs')
changelog=
source=("https://github.com/KlausT/ccminer-cryptonight/archive/master.zip")
sha256sums=('f489b2aea76bb88d7728b7d0725efd0f60709fed647d2d1e1cdd44b4d8426026')
prepare() {
cd "${srcdir}/ccminer-cryptonight-master"
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-cuda=/opt/cuda
}
build() {
cd "${srcdir}/ccminer-cryptonight-master"
make
}
package() {
# cd "${srcdir}/ccminer-cryptonight-master"
make DESTDIR="${pkgdir}/" install
}
PKGBUILD