summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--aur/zcash-git/.SRCINFO16
-rw-r--r--aur/zcash-git/PKGBUILD33
-rw-r--r--aur/zcash-git/zcash-git.install8
3 files changed, 57 insertions, 0 deletions
diff --git a/aur/zcash-git/.SRCINFO b/aur/zcash-git/.SRCINFO
new file mode 100644
index 0000000..5b9f2a2
--- /dev/null
+++ b/aur/zcash-git/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = zcash-git
+ pkgdesc = Decentralized and open source cryptocurrency
+ pkgver = zc.v0.11.2.z0.15.g405dd80
+ pkgrel = 1
+ url = https://z.cash
+ install = zcash-git.install
+ arch = any
+ license = MIT
+ makedepends = wget
+ makedepends = unzip
+ provides = zcash
+ source = git+https://github.com/Electric-Coin-Company/zcash
+ sha1sums = SKIP
+
+pkgname = zcash-git
+
diff --git a/aur/zcash-git/PKGBUILD b/aur/zcash-git/PKGBUILD
new file mode 100644
index 0000000..5b249a1
--- /dev/null
+++ b/aur/zcash-git/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F
+
+pkgname=zcash-git
+pkgver=zc.v0.11.2.z0.15.g405dd80
+pkgrel=1
+pkgdesc="Decentralized and open source cryptocurrency"
+arch=('any')
+url="https://z.cash"
+license=(MIT)
+makedepends=('wget' 'unzip')
+provides=('zcash')
+source=("git+https://github.com/Electric-Coin-Company/zcash")
+sha1sums=('SKIP')
+install="${pkgname}.install"
+_gitname=zcash
+
+pkgver() {
+ cd $_gitname
+ echo $(git describe --always | sed 's/-/./g')
+}
+
+build() {
+ cd $_gitname
+ ./zcutil/build.sh
+}
+
+package() {
+ cd $_gitname
+ install -Dm755 src/zcash-cli "${pkgdir}/usr/bin/zcash-cli"
+ install -Dm755 src/zcashd "${pkgdir}/usr/bin/zcashd"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/aur/zcash-git/zcash-git.install b/aur/zcash-git/zcash-git.install
new file mode 100644
index 0000000..564b3f1
--- /dev/null
+++ b/aur/zcash-git/zcash-git.install
@@ -0,0 +1,8 @@
+post_install () {
+ echo "Before running zcashd you need to download the public alpha proving keys (~2GB)"
+ echo
+ echo "$ ./zcutil/fetch-params.sh"
+ echo
+ echo "For more information read https://github.com/Electric-Coin-Company/zcash/wiki/Public-Alpha-Guide"
+}
+# vim:set ts=2 sw=2 et: