summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Goncharov2020-06-25 14:06:52 +0300
committerKirill Goncharov2020-10-01 17:06:06 +0300
commitf9f9bf7880b7339fd891fa3315f51df3c01082ed (patch)
treeaf695ef39e55dfb9cd0e0682724feefbb9ceb5d0
downloadaur-f9f9bf7880b7339fd891fa3315f51df3c01082ed.tar.gz
Version 0.3.2
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore3
-rw-r--r--PKGBUILD22
3 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1ec727243bd
--- /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 00000000000..ed9fa3dcdcc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+src
+pkg
+*.tar.*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..25d47a4721f
--- /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
+}