diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:12:14 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-02-02 00:12:14 +0200 |
| commit | caa9aebfb740bf1a04d4eead948ff3f9326bb0ed (patch) | |
| tree | 1474a816dfdc523cd248ca778a2a60a5f724050e /aur/zcash-git/PKGBUILD | |
| parent | 0c8d18524963c09f1c6ea8ed89bf7c5503f155ad (diff) | |
| parent | d227a3a2265a1699c12daecae7feae7f12a4bd7d (diff) | |
Add 'aur/zcash-git/' from commit 'd227a3a2265a1699c12daecae7feae7f12a4bd7d'
git-subtree-dir: aur/zcash-git
git-subtree-mainline: 0c8d18524963c09f1c6ea8ed89bf7c5503f155ad
git-subtree-split: d227a3a2265a1699c12daecae7feae7f12a4bd7d
Diffstat (limited to 'aur/zcash-git/PKGBUILD')
| -rw-r--r-- | aur/zcash-git/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
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: |
