From 85b4346ecbd8f840bace4a0c47241e40bb430f0b Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Thu, 17 Nov 2016 13:25:41 +0100 Subject: [PATCH] pngquant: update to 2.8.0. --- srcpkgs/pngquant/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/pngquant/template b/srcpkgs/pngquant/template index a72166b31c6..8372e1f82d3 100644 --- a/srcpkgs/pngquant/template +++ b/srcpkgs/pngquant/template @@ -1,8 +1,10 @@ # Template file for 'pngquant' pkgname=pngquant -version=2.7.1 -revision=2 +version=2.8.0 +revision=1 build_style=gnu-configure +create_wrksrc=yes +build_wrksrc="${pkgname}-${version}" configure_args="--with-openmp" case "$XBPS_TARGET_MACHINE" in x86_64*) configure_args+=" --enable-sse";; @@ -13,5 +15,11 @@ short_desc="Lossy PNG compressor" maintainer="Christian Neukirchen " license="GPL-3" homepage="https://pngquant.org/" -distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz" -checksum=e8645bea07ef255c102f053d3566ac00e64005aa0e68a2c9f00bc39e575f1dfd +distfiles="https://github.com/pornel/${pkgname}/archive/${version}.tar.gz + https://github.com/ImageOptim/libimagequant/archive/a425e839fd139d8fa4980ceffc7e61ed555dd588.tar.gz" +checksum="7c37ce149174adfbd51af59aaa87f076f18c525a2b04c093e44f3b4f294aa998 + 051eb2ddfe0826994b718029a0ab1666e4d9617d104cf109d0f233deddd48a40" + +post_extract() { + cp -r libimagequant-*/* ${build_wrksrc}/lib +}