# Template file for 'ada' pkgname=ada version=3.2.1 revision=1 build_style=cmake # They all pull in CPM - CMake's missing package manager configure_args="-DADA_TESTING=OFF -DADA_BENCHMARKS=OFF -DADA_TOOLS=OFF -DBUILD_SHARED_LIBS=ON" short_desc="WHATWG-compliant and fast URL parser written" maintainer="John " license="MIT OR Apache-2.0" homepage="https://www.ada-url.com/" distfiles="https://github.com/ada-url/ada/archive/refs/tags/v${version}.tar.gz" checksum=2530b601224d96554333ef2e1504cebf040e86b79a4166616044f5f79c47eaa5 post_install() { vlicense LICENSE-APACHE vlicense LICENSE-MIT } ada-devel_package() { depends="${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/cmake vmove "usr/lib/*.so" } }