diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/jq/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/user/jq/APKBUILD b/user/jq/APKBUILD new file mode 100644 index 000000000..1e1baef17 --- /dev/null +++ b/user/jq/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Zach van Rijn <me@zv.io> +# Maintainer: Zach van Rijn <me@zv.io> +pkgname=jq +pkgver=1.7.1 +pkgrel=0 +pkgdesc="A lightweight and flexible command-line JSON processor" +url="https://jqlang.github.io/jq/" +arch="all" +license="MIT" +makedepends="" +subpackages="$pkgname-doc $pkgname-dev" +source="jq-$pkgver.tar.gz::https://github.com/jqlang/${pkgname}/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz" + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --disable-docs + make +} + +check() { + make check +} + +package() { + make DESTDIR="$pkgdir" prefix=/usr install +} + +sha512sums="464861fb2e0d6934b616f1dc7f8002d7dae727c8c0c07b385b813e7522ba1ada8ead4165e1d99c892e3ea76e238c55a15b718c738805419721920f88f8d8478c jq-1.7.1.tar.gz" |