diff --git a/srcpkgs/c-ares-utils b/srcpkgs/c-ares-utils deleted file mode 120000 index 80dbece4209..00000000000 --- a/srcpkgs/c-ares-utils +++ /dev/null @@ -1 +0,0 @@ -c-ares \ No newline at end of file diff --git a/srcpkgs/c-ares/template b/srcpkgs/c-ares/template index d59377357fc..e2093b49feb 100644 --- a/srcpkgs/c-ares/template +++ b/srcpkgs/c-ares/template @@ -1,27 +1,18 @@ # Template file for 'c-ares' pkgname=c-ares version=1.19.0 -revision=1 -build_style=cmake -configure_args=" - -DCARES_STATIC=ON - -DCARES_SHARED=ON" +revision=2 +build_style=gnu-configure checkdepends="iana-etc" short_desc="Library for asynchronous DNS requests" maintainer="Duncaen " license="MIT" homepage="https://c-ares.haxx.se/" changelog="https://c-ares.haxx.se/changelog.html" -distfiles="${homepage}/download/${pkgname}-${version}.tar.gz" +distfiles="https://c-ares.haxx.se/download/c-ares-${version}.tar.gz" checksum=bfceba37e23fd531293829002cac0401ef49a6dc55923f7f92236585b7ad1dd3 make_check=ci-skip # segfaults only on CI -if [ "$XBPS_CHECK_PKGS" ]; then - configure_args+=" -DCARES_BUILD_TESTS=ON" -else - configure_args+=" -DCARES_BUILD_TESTS=OFF" -fi - post_install() { vlicense LICENSE.md LICENSE } @@ -34,15 +25,6 @@ c-ares-devel_package() { vmove "usr/lib/*.a" vmove "usr/lib/*.so" vmove usr/lib/pkgconfig - vmove usr/lib/cmake vmove usr/share/man/man3 } } - -c-ares-utils_package() { - short_desc+=" - utilities" - pkg_install() { - vmove usr/bin - vmove usr/share/man/man1 - } -}