void-packages/srcpkgs/re2/template

29 lines
721 B
Bash

# Template file for 're2'
pkgname=re2
version=2019.01.01
revision=1
wrksrc="${pkgname}-${version//./-}"
build_style=gnu-makefile
make_install_args="prefix=/usr"
short_desc="Efficient, principled regular expression library"
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
license="BSD-3-Clause"
homepage="https://github.com/google/re2"
distfiles="${homepage}/archive/${version//./-}.tar.gz"
checksum=bee07121ce72ce10ccacb84e49b29d091ca18d5d14d950ab7c4657a0903655db
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
}
}