summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Sandelin2020-01-05 19:15:47 +0200
committerTomas Sandelin2020-01-05 19:15:47 +0200
commit61882498567cfa35cfed4a8ff7ca19fa537af85c (patch)
tree20b981e1aef7d01d9e4fab5a39b898fa7d16ecb5
parent83848f185c96ffa6bfc53f62d800dcdc04e8daae (diff)
downloadaur-61882498567cfa35cfed4a8ff7ca19fa537af85c.tar.gz
fixed PKGBUILD
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e69de29bb2d..769bdd8261e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Sandelinos
+
+pkgname=cpuminer-opt-sugarchain
+pkgver=3.8.8.1.7rc1
+pkgrel=1
+pkgdesc='Optimized Cpuminer for Sugarchain using YespowerSugar (based on Yespower 1.0.0)'
+arch=('x86_64')
+url="https://sugarchain.org"
+licence('GPL2')
+depends('curl' 'jansson' 'openssl' 'gmp' 'zlib')
+makedepends('automake')
+provides('cpuminer')
+conflicts('cpuminer')
+source=("https://github.com/cryptozeny/cpuminer-opt-sugarchain/archive/v${pkgver}.tar.gz")
+sha256sums=('269e9127dfc45d52646b369eefffdcc63ce2721d8685751f0e86f8104ec7e7fe')
+
+build() {
+ tar xf "v${pkgver}.tar.gz"
+ cd cpuminer-opt-sugarchain-${pkgver}
+ ./build-yespower.sh
+}
+
+package() {
+ mkdir -p $pkgdir/usr/bin
+ mv $srcdir/cpuminer-opt-sugarchain-${pkgver}/cpuminer $pkgdir/usr/bin/
+}