# Template file for 'proj'
pkgname=proj
version=5.2.0
revision=1
build_style=cmake
short_desc="Cartographic Projections Library"
maintainer="John <johnz@posteo.net>"
license="MIT"
homepage="https://proj4.org"
distfiles="https://download.osgeo.org/proj/proj-${version}.tar.gz"
checksum=ef919499ffbc62a4aae2659a55e2b25ff09cccbbe230656ba71c6224056c7e60

post_install() {
	vlicense COPYING
}

proj-devel_package() {
	depends="${sourcepkg}-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/share/man/man3
		vmove "usr/lib/*.so"
	}
}
