void-packages/srcpkgs/proj/template

28 lines
643 B
Bash

# Template file for 'proj'
pkgname=proj
version=5.1.0
revision=1
build_style=gnu-configure
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=6b1379a53317d9b5b8c723c1dc7bf2e3a8eb22ceb46b8807a1ce48ef65685bb3
post_install() {
vlicense COPYING
}
proj-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}