# Template file for 'abseil-cpp'
pkgname=abseil-cpp
version=20220623.1
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DABSL_PROPAGATE_CXX_STD=ON"
hostmakedepends="pkg-config"
short_desc="Abseil common libraries"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0"
homepage="https://abseil.io"
distfiles="https://github.com/abseil/abseil-cpp/archive/${version}.tar.gz"
checksum=91ac87d30cc6d79f9ab974c51874a704de9c2647c40f6932597329a282217ba8

abseil-cpp-devel_package() {
	short_desc+=" (development files)"
	depends="${sourcepkg}>=${version}_${revision}"

	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
