Date: Monday, April 22, 2013 @ 07:56:23 Author: fyan Revision: 88727 upgpkg: cgminer 3.0.0-1
Modified: cgminer/trunk/PKGBUILD ----------+ PKGBUILD | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2013-04-22 05:39:44 UTC (rev 88726) +++ PKGBUILD 2013-04-22 05:56:23 UTC (rev 88727) @@ -5,8 +5,7 @@ # Contributor: David Manouchehri <[email protected]> pkgname=cgminer -pkgver=2.11.4 -_build= +pkgver=3.0.0 pkgrel=1 pkgdesc="Multi-threaded multi-pool CPU and GPU miner for bitcoin, forked from cpuminer." url='http://forum.bitcoin.org/index.php?topic=28402.0' @@ -16,7 +15,7 @@ makedepends=('opencl-headers') optdepends=('opencl-nvidia: OpenCL implementation for NVIDIA' 'opencl-catalyst: OpenCL implementation for AMD') -source=("http://ck.kolivas.org/apps/cgminer/$pkgname-$pkgver.tar.bz2" +source=(https://github.com/ckolivas/cgminer/archive/v3.0.0.tar.gz "$pkgname.conf.d" "$pkgname.service") backup=("etc/conf.d/$pkgname" "etc/$pkgname.conf") @@ -24,22 +23,22 @@ [ "$CARCH" == "x86_64" ] && makedepends+=('yasm') build() { - cd "$srcdir" - cd $pkgname-$pkgver${_build} + cd "$srcdir/$pkgname-$pkgver" # Use in-tree jansson since it is not compatible with jansson 2.0 #sed -e 's/^AC_CHECK_LIB(jansson, json_loads, request_jansson=false, request_jansson=true)$/request_jansson=true/' -i configure.ac # Here you may want to use custom CFLAGS #export CFLAGS="-O2 -march=native -mtune=native -msse2" - + + ./autogen.sh ./configure --prefix=/usr --enable-cpumining --enable-scrypt --disable-adl make } package() { - cd "$srcdir"/$pkgname-$pkgver${_build} + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install @@ -49,6 +48,6 @@ install -Dm644 $pkgname.conf "$pkgdir"/etc/$pkgname.conf } -md5sums=('535ca85b504bd408d1eeddf4962ed685' +md5sums=('7da3cc51b9ce0598dde955b034616267' 'fe4a243fabe24608f5c05e40f0f118f6' 'bd76fc92fedce18c59ccea2aa79cc664')
