Package Details: jq-git 1.6rc2.3.g0c845aa-1

Git Clone URL: https://aur.archlinux.org/jq-git.git (read-only, click to copy)
Package Base: jq-git
Description: Command-line JSON processor
Upstream URL: http://stedolan.github.io/jq/
Licenses: custom
Conflicts: jq
Provides: jq
Submitter: alexchamberlain
Maintainer: OJFord
Last Packager: tuckerboniface
Votes: 10
Popularity: 0.000084
First Submitted: 2012-10-22 21:03 (UTC)
Last Updated: 2018-10-13 23:10 (UTC)

Dependencies (8)

Required by (845)

Sources (1)

Latest Comments

1 2 Next › Last »

a172 commented on 2023-10-13 19:27 (UTC) (edited on 2023-10-13 19:28 (UTC) by a172)

PKGBUILD update with several fixes, most small:

  • Use the builtin prefix for oniguruma (this prevents installing the oniguruma library, which is handled by the oniguruma package)
  • Update project URLs
  • Update depends to include glibc
  • Update makedepends to reflect upstream
  • Minor style updates to match PKGBUILD from extra
  • Change license to MIT
# Maintainer: Tucker Boniface <tucker@boniface.tech>
# Submitter: Alex Chamberlain <alex@alexchamberlain.co.uk>
# Maintainer: Kars Wang <jaklsy@gmail.com>

pkgname=jq-git
_gitname='jq'
pkgver=1.7.28.g9de0e26c
pkgrel=1
pkgdesc='Command-line JSON processor'
arch=('x86_64')
url='http://jqlang.github.io/jq/'
license=('MIT')
depends=('glibc' 'oniguruma')
makedepends=('autoconf' 'automake' 'git' 'libtool')
provides=('jq')
conflicts=('jq')
source=('git+https://github.com/jqlang/jq.git')
sha512sums=('SKIP')

pkgver() {
    cd "${_gitname}"
    git describe --tag | sed -e 's/^jq-//' -e 's/-/./g'
}

build() {
    cd "${_gitname}"
    git submodule update --init
    autoreconf -i
    ./configure --prefix=/usr --with-onigurmua=builtin
    make
}

package() {
    cd "$_gitname"
    make DESTDIR="${pkgdir}" prefix=/usr install
    install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}

Gamma commented on 2023-08-01 19:13 (UTC) (edited on 2023-08-01 19:27 (UTC) by Gamma)

python is a makedepend, not python2.

qubidt commented on 2023-07-07 00:42 (UTC)

updated to the new project urls:

11,12c11,12
< url='http://stedolan.github.io/jq/'
< license=('custom')
---
> url='https://jqlang.github.io/jq/'
> license=('MIT' 'CCPL:by' 'custom:ICU')
17c17
< source=('git+https://github.com/stedolan/jq.git')
---
> source=('git+https://github.com/jqlang/jq.git')

tuckerboniface commented on 2018-08-31 05:50 (UTC)

Patch has been applied, compilation is successful.

tuckerboniface commented on 2018-08-29 04:52 (UTC)

There is currently an upstream issue causing jq-git to fail to compile. (https://github.com/stedolan/jq/issues/1659) I will add a patch to fix this.

Alad commented on 2016-09-18 01:53 (UTC) (edited on 2016-09-18 01:53 (UTC) by Alad)

Would you mind adding jq to provides?

eigengrau commented on 2016-04-20 16:34 (UTC)

The man page doesn’t seem to build correcly. For me, «man jq» yields: > # To unbundle, run this file echo exec sed ’s/.//’ >exec > <<’//GO.SYSIN DD exec’ //GO.SYSIN DD exec echo rake sed ’s/.//’ > >rake <<’//GO.SYSIN DD rake’ //GO.SYSIN DD rake echo manpage sed > ’s/.//’ >manpage <<’//GO.SYSIN DD manpage’ //GO.SYSIN DD manpage

mSSM commented on 2015-05-22 15:53 (UTC)

When building, the linker can't seem to find the oniguruma library, even though it's installed: CCLD jq /usr/bin/ld: cannot find -lonig ./.libs/libjq.a(util.o): In function `get_home': util.c:(.text+0x448): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking collect2: error: ld returned 1 exit status Makefile:825: recipe for target 'jq' failed make[1]: *** [jq] Error 1 Any ideas what might be going on there? It's definitely in my /usr/lib: % ldconfig -p | grep onig libonig.so.2 (libc6,x86-64) => /usr/lib/libonig.so.2 libonig.so (libc6,x86-64) => /usr/lib/libonig.so

<deleted-account> commented on 2015-02-27 18:12 (UTC)

As @lilydjwg mentioned, please move oniguruma from makedepends to depends since it's needed to run.

lilydjwg commented on 2014-09-23 08:07 (UTC)

Please use git describe --tags as tag jq-1.4 is a lightweight tag being ignored currently. See http://stackoverflow.com/a/4154518/296473