diff --git a/srcpkgs/jq/template b/srcpkgs/jq/template index a7d30426363..17c2379406a 100644 --- a/srcpkgs/jq/template +++ b/srcpkgs/jq/template @@ -1,20 +1,24 @@ # Template file for 'jq' pkgname=jq -version=1.4 -revision=2 +version=1.5 +revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" build_style=gnu-configure +hostmakedepends="automake libtool" short_desc="Command-line JSON processor" maintainer="Christian Neukirchen " -license="custom" +license="MIT" homepage="http://stedolan.github.io/jq/" -distfiles="http://stedolan.github.io/jq/download/source/${pkgname}-${version}.tar.gz" -checksum=998c41babeb57b4304e65b4eb73094279b3ab1e63801b6b4bddd487ce009b39d +distfiles="https://github.com/stedolan/${pkgname}/archive/${pkgname}-${version}.tar.gz" +checksum=d644aded536167e0cb7e3547d13decf0000312b5ed8e75be8f053b0ecdf39d83 +post_extract() { + autoreconf -fi +} post_install() { rm -r ${DESTDIR}/usr/share/doc/$pkgname vlicense COPYING } - jq-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" -- development files"