diff options
author | Zach van Rijn <me@zv.io> | 2024-12-07 17:39:26 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2024-12-07 17:39:26 +0000 |
commit | 29faac2e93c45154680b98b2bf1cda6b77c44774 (patch) | |
tree | 88519d746e14e29ba743d91eb69151a7d3e957b2 /user | |
parent | 57762abcbf59410fc77ac48a3027bdee08c9291f (diff) | |
download | packages-29faac2e93c45154680b98b2bf1cda6b77c44774.tar.gz packages-29faac2e93c45154680b98b2bf1cda6b77c44774.tar.bz2 packages-29faac2e93c45154680b98b2bf1cda6b77c44774.tar.xz packages-29faac2e93c45154680b98b2bf1cda6b77c44774.zip |
user/jq: new package.
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" |