summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorst8l-aur2019-11-04 20:46:41 +0000
committerst8l-aur2019-11-04 20:46:41 +0000
commit13136b4d3c72f13126a868f6dd5dd67b95c31636 (patch)
tree7d864ad81f34aac35832516c6ed22a190ebd29b4
downloadaur-13136b4d3c72f13126a868f6dd5dd67b95c31636.tar.gz
Version 1.3.1
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD32
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5e3dcb18861
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = jaesve
+ pkgdesc = A CLI utility for stream converting JSON objects to a series of CSV values
+ pkgver = 1.3.1
+ pkgrel = 1
+ url = https://github.com/bazaah/jaesve
+ arch = x86_64
+ license = MIT
+ source = git+https://github.com/bazaah/jaesve
+ md5sums = SKIP
+
+pkgname = jaesve
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..1f9885cca59
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Baz <github(a)luxolus.com>
+
+pkgname=jaesve
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="A CLI utility for stream converting JSON objects to a series of CSV values"
+url="https://github.com/bazaah/jaesve"
+license=("MIT")
+source=("git+https://github.com/bazaah/jaesve")
+md5sums=('SKIP')
+arch=('x86_64')
+
+prepare () {
+ cd "$pkgname"
+ git checkout $pkgver
+}
+
+build() {
+ cd "$pkgname"
+ cargo build --release --locked
+}
+
+check() {
+ cd "$pkgname"
+ cargo test --release --locked
+}
+
+package() {
+ cd "$pkgname"
+ install -Dm 755 target/release/${pkgname} -t "${pkgdir}/usr/bin"
+}
+