# Template file for 'collada-dom'
pkgname=collada-dom
version=2.5.0
revision=1
build_style=cmake
makedepends="boost-devel libxml2-devel"
short_desc="COLLADA Document Object Model (DOM) C++ Library"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://github.com/rdiankov/collada-dom"
distfiles="https://github.com/rdiankov/collada-dom/archive/refs/tags/v${version}.tar.gz"
checksum=3be672407a7aef60b64ce4b39704b32816b0b28f61ebffd4fbd02c8012901e0d

post_install() {
	vlicense licenses/dom_license_e.txt
}

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