summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD3
-rw-r--r--zcash-git.install8
3 files changed, 12 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 851476a..dd2139a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = zcash-git
pkgver = zc.v0.11.2.z0.2.gfc0ae34
pkgrel = 1
url = https://z.cash
+ install = zcash-git.install
arch = any
license = MIT
makedepends = unzip
diff --git a/PKGBUILD b/PKGBUILD
index 0dd3c90..771a40e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ makedepends=('unzip')
provides=('zcash')
source=("git+https://github.com/Electric-Coin-Company/zcash")
sha1sums=('SKIP')
+install="${pkgname}.install"
_gitname=zcash
pkgver() {
@@ -25,6 +26,8 @@ build() {
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/zcash-git.install b/zcash-git.install
new file mode 100644
index 0000000..564b3f1
--- /dev/null
+++ b/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: