# Template file for 're2' pkgname=re2 version=2018.12.01 revision=1 wrksrc="${pkgname}-${version//./-}" build_style=gnu-makefile make_install_args="prefix=/usr" short_desc="An efficient, principled regular expression library" maintainer="Steve Prybylski " license="BSD-3-Clause" homepage="https://github.com/google/re2" distfiles="${homepage}/archive/${version//./-}.tar.gz" checksum=715e01685719a4ed68a353ae48249612ef4a7464755c3ecccaceae91ebd34868 post_install() { vlicense LICENSE } re2-devel_package() { short_desc+=" - development files" depends="${sourcepkg}-${version}_${revision}" pkg_install() { vmove usr/include vmove usr/lib/*.a vmove usr/lib/*.so vmove usr/lib/pkgconfig } }