pkgname=jq pkgver=1.7.1 pkgrel=1 pkgdesc="Command-line JSON processor" arch=('x86_64') url="https://jqlang.github.io/jq" license=('MIT') depends=('glibc' 'oniguruma') makedepends=('autoconf' 'automake' 'bison' 'flex' 'python') source=(https://github.com/jqlang/jq/releases/download/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz) sha256sums=(478c9ca129fd2e3443fe27314b455e211e0d8c60bc8ff7df703873deeee580c2) build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }