void-packages/srcpkgs/jq/template

28 lines
710 B
Bash

# Template file for 'jq'
pkgname=jq
version=1.5
revision=3
build_style=gnu-configure
makedepends="oniguruma-devel"
short_desc="Command-line JSON processor"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://stedolan.github.io/jq/"
distfiles="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz"
checksum=c4d2bfec6436341113419debf479d833692cc5cdab7eb0326b5a4d4fbe9f493c
post_install() {
rm -rf ${DESTDIR}/usr/share/doc/$pkgname
vlicense COPYING
}
jq-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so*
}
}