# Template file for 'CSFML'
pkgname=CSFML
version=2.5
revision=2
build_style=cmake
makedepends="SFML-devel"
short_desc="Official binding of SFML for C"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://www.sfml-dev.org/download/csfml/"
distfiles="https://github.com/SFML/CSFML/archive/${version}.tar.gz"
checksum=d49ddfbe9c14dbca60dd524d10bca7922142dc32a07a5dfbbd209cda7caad860

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