# Template file for 'planarity'
pkgname=planarity
version=3.0.1.1
revision=1
build_style=gnu-configure
short_desc="Graph algorithms for planar embedding and related algorithms"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="BSD-3-Clause"
homepage="https://github.com/graph-algorithms/edge-addition-planarity-suite/"
distfiles="https://github.com/graph-algorithms/edge-addition-planarity-suite/releases/download/Version_${version}/planarity-${version}.tar.gz"
checksum=50b686fce6e67ba3a4d0634632c16566539a95d7e51afd066f6b1d5ae0eab284

post_install() {
	vlicense LICENSE.TXT
}

planarity-devel_package() {
	depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove "usr/lib/*.so"
	}
}
