# Template build file for 're2'. pkgname=re2 reverts=20140304_1 version=2017.07.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="3-clause-BSD" homepage="https://github.com/google/re2" distfiles="${homepage}/archive/${version//./-}.tar.gz" checksum=e6f06ad87cdacbf4b5573481de78f0de609d6e9227028c80cae813751d834b1e 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 } }