void-packages/srcpkgs/re2/template

27 lines
668 B
Bash

# Template file for 're2'
pkgname=re2
version=2023.03.01
revision=1
build_style=gnu-makefile
short_desc="Efficient, principled regular expression library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/google/re2"
distfiles="https://github.com/google/re2/archive/${version//./-}.tar.gz"
checksum=7a9a4824958586980926a300b4717202485c4b4115ac031822e29aa4ef207e48
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
}
}