From 6d0860b2220d84805a8e24799a4269ed56a3ea01 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Mon, 17 Aug 2015 12:26:17 +0200 Subject: [PATCH] jq: update to 1.5. --- srcpkgs/jq/template | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/srcpkgs/jq/template b/srcpkgs/jq/template index a7d3042636..17c2379406 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"