diff --git a/srcpkgs/c-ares/template b/srcpkgs/c-ares/template index c96b35b48bd..bc8ffd08af8 100644 --- a/srcpkgs/c-ares/template +++ b/srcpkgs/c-ares/template @@ -1,6 +1,6 @@ # Template file for 'c-ares' pkgname=c-ares -version=1.11.0 +version=1.12.0 revision=1 build_style=gnu-configure short_desc="C library that performs DNS requests and name resolves asynchronously" @@ -8,7 +8,7 @@ maintainer="Juan RP " license="MIT" homepage="http://c-ares.haxx.se/" distfiles="http://c-ares.haxx.se/download/$pkgname-$version.tar.gz" -checksum=b3612e6617d9682928a1d50c1040de4db6519f977f0b25d40cf1b632900b3efd +checksum=8692f9403cdcdf936130e045c84021665118ee9bfea905d1a76f04d4e6f365fb pre_configure() { case "$CFLAGS" in @@ -20,6 +20,10 @@ pre_configure() { export CFLAGS=${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/} } +post_install() { + vlicense LICENSE.md LICENSE +} + c-ares-devel_package() { depends="${sourcepkg}>=${version}_${revision}" pkg_install() { @@ -30,3 +34,4 @@ c-ares-devel_package() { vmove usr/share/man } } +