diff options
author | Kirill Goncharov | 2020-06-25 14:06:52 +0300 |
---|---|---|
committer | Kirill Goncharov | 2020-10-01 17:06:06 +0300 |
commit | f9f9bf7880b7339fd891fa3315f51df3c01082ed (patch) | |
tree | af695ef39e55dfb9cd0e0682724feefbb9ceb5d0 | |
download | aur-f9f9bf7880b7339fd891fa3315f51df3c01082ed.tar.gz |
Version 0.3.2
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 22 |
3 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1ec727243bd1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = zkutil + pkgdesc = A tool to work with zkSNARK circuits generated by Circom compiler + pkgver = 0.3.2 + pkgrel = 1 + url = https://github.com/poma/zkutil + arch = any + license = MIT + makedepends = rust + source = zkutil-0.3.2.tar.gz::https://github.com/poma/zkutil/archive/v0.3.2.tar.gz + sha512sums = e6114681f6a24133cff17e8a7c3cc0febdc15111332eb47e340a81ecf73c78f5f883251c24e3681b5f48035e12c8383f488ef141fa60969b14368b61210e5ec0 + +pkgname = zkutil + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..ed9fa3dcdcc2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +src +pkg +*.tar.* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..25d47a4721f1 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Kirill Goncharov <kdgoncharov at gmail dot com> + +pkgname=zkutil +pkgver=0.3.2 +pkgrel=1 +pkgdesc='A tool to work with zkSNARK circuits generated by Circom compiler' +arch=('any') +url="https://github.com/poma/zkutil" +license=('MIT') +makedepends=('rust') +source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz") +sha512sums=('e6114681f6a24133cff17e8a7c3cc0febdc15111332eb47e340a81ecf73c78f5f883251c24e3681b5f48035e12c8383f488ef141fa60969b14368b61210e5ec0') + +build() { + cd ${pkgname}-${pkgver} + cargo build --release --locked +} + +package() { + cd ${pkgname}-${pkgver} + install -Dt "${pkgdir}/usr/bin" target/release/zkutil +} |