summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Klar2016-11-04 04:48:25 -0500
committerJosh Klar2016-11-04 04:48:25 -0500
commit4088be20d03c716defb398dc60e7171f329f2bf5 (patch)
tree1b5eb7fd68613c64afa15112dcea9b3e0e514653
downloadaur-4088be20d03c716defb398dc60e7171f329f2bf5.tar.gz
v3 as tagged stable in GH
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD29
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..963dd0bdda9
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = silentarmy
+ pkgdesc = GPU Zcash Equihash solver
+ pkgver = 3
+ pkgrel = 1
+ url = https://github.com/mbevand/silentarmy
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = ocl-icd
+ depends = libsodium
+ depends = opencl-headers
+ source = https://github.com/mbevand/silentarmy/archive/v3.tar.gz
+ sha256sums = 0143966902d30a9edd1f6c4867d9a6b1d07596eb4773aa4cf93a10b8eb532457
+
+pkgname = silentarmy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4fa563af09e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Josh Klar <j@iv597.com>
+pkgname=silentarmy
+pkgver=3
+pkgrel=1
+pkgdesc="GPU Zcash Equihash solver"
+arch=('i686' 'x86_64')
+url="https://github.com/mbevand/silentarmy"
+license=('MIT')
+groups=()
+depends=('ocl-icd' 'libsodium' 'opencl-headers')
+source=("https://github.com/mbevand/silentarmy/archive/v3.tar.gz")
+sha256sums=('0143966902d30a9edd1f6c4867d9a6b1d07596eb4773aa4cf93a10b8eb532457')
+
+build() {
+ cd "$pkgname-$pkgver"
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ make test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ mkdir -p "$pkgdir/usr/bin"
+ install silentarmy "$pkgdir/usr/bin/"
+ install sa-solver "$pkgdir/usr/bin/"
+}