From 7d78bf3da48889a25599d7bd0476b06724e275cb Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 23 Mar 2020 15:20:53 +0000
Subject: jq: initial inclusion. dep of asp

---
 abs/extra/jq/ChangeLog | 17 +++++++++++++++++
 abs/extra/jq/PKGBUILD  | 29 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 abs/extra/jq/ChangeLog
 create mode 100644 abs/extra/jq/PKGBUILD

diff --git a/abs/extra/jq/ChangeLog b/abs/extra/jq/ChangeLog
new file mode 100644
index 0000000..da77ab4
--- /dev/null
+++ b/abs/extra/jq/ChangeLog
@@ -0,0 +1,17 @@
+1.6-1:
+upstream update
+
+1.5-6:
+oniguruma rebuild
+
+1.5-4:
+fix CVE-2015-8863 (FS#50330)
+
+1.5-2:
+add oniguruma for regexp support
+
+1.5-1:
+upstream update
+
+1.4-1:
+move from AUR into [community]
diff --git a/abs/extra/jq/PKGBUILD b/abs/extra/jq/PKGBUILD
new file mode 100644
index 0000000..50cd8d1
--- /dev/null
+++ b/abs/extra/jq/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Evgeniy Alekseev <arcanis at archlinux dot org>
+# Contributor: Alex Chamberlain <alex at alexchamberlain dot co dot uk>
+# Contributor: Kars Wang <jaklsy at gmail dot com>
+
+pkgname=jq
+pkgver=1.6
+pkgrel=2
+pkgdesc='Command-line JSON processor'
+arch=('x86_64')
+url='https://stedolan.github.io/jq/'
+license=('MIT')
+depends=('glibc' 'oniguruma')
+makedepends=('autoconf' 'automake' 'bison' 'flex' 'python2')
+source=("https://github.com/stedolan/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
+changelog=ChangeLog
+sha512sums=('5da71f53c325257f1f546a2520fe47828b495c953270df25ea0e37741463fdda72f0ba4d5b05b25114ec30f27a559344c2b024bacabf610759f4e3e9efadb480')
+
+build() {
+    cd "${pkgname}-${pkgver}"
+    ./configure --prefix=/usr
+    make
+}
+
+package() {
+    cd "${pkgname}-${pkgver}"
+    make DESTDIR="${pkgdir}" prefix=/usr install
+    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+
-- 
cgit v0.12

