# Template file for 'geos'
pkgname=geos
version=3.11.1
revision=1
build_style=cmake
short_desc="C++ port of the Java Topology Suite (JTS)"
maintainer="Nyx70 <n.y.x@bluewin.ch>"
license="LGPL-2.1-or-later"
homepage="https://libgeos.org/"
distfiles="https://download.osgeo.org/geos/geos-${version}.tar.bz2"
checksum=6d0eb3cfa9f92d947731cc75f1750356b3bdfc07ea020553daf6af1c768e0be2

geos-devel_package() {
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/geos-config
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove usr/lib/cmake
		vmove "usr/lib/*.so"
	}
}
