27 lines
653 B
Bash
27 lines
653 B
Bash
# Template file for 're2'
|
|
pkgname=re2
|
|
version=2020.06.01
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
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=fb8e0f4ed7a212e3420507f27933ef5a8c01aec70e5148c6a35313573269fae6
|
|
|
|
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
|
|
}
|
|
}
|