diff options
| author | Yuval Adam <yuval@y3xz.com> | 2016-01-21 01:15:55 +0200 |
|---|---|---|
| committer | Yuval Adam <yuval@y3xz.com> | 2016-01-21 01:15:55 +0200 |
| commit | 32b414b977e9d830f7cf4a69107635b833cd2d37 (patch) | |
| tree | 52d715ed0ced1068012f6c752e4fe9993547d81f | |
Initial zcash build script
| -rw-r--r-- | .SRCINFO | 13 | ||||
| -rw-r--r-- | PKGBUILD | 29 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..414c789 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = zcash-git + pkgdesc = Decentralized and open source cryptocurrency + pkgver = zc.v0.11.2.z0.2.gfc0ae34 + pkgrel = 1 + url = https://z.cash + arch = any + license = MIT + provides = zcash + source = git+https://github.com/Electric-Coin-Company/zcash + sha1sums = SKIP + +pkgname = zcash-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..a812134 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Yuval Adam <yuval at y3xz dot com> PGP-Key: 271386AA2EB7672F + +pkgname=zcash-git +pkgver=zc.v0.11.2.z0.2.gfc0ae34 +pkgrel=1 +pkgdesc="Decentralized and open source cryptocurrency" +arch=('any') +url="https://z.cash" +license=(MIT) +provides=('zcash') +source=("git+https://github.com/Electric-Coin-Company/zcash") +sha1sums=('SKIP') +_gitname=zcash + +pkgver() { + cd $_gitname + echo $(git describe --always | sed 's/-/./g') +} + +build() { + cd $_gitname + ./zcutil/build.sh +} + +package() { + cd $_gitname +} + +# vim:set ts=2 sw=2 et: |
