# Template file for 'liblcf'
pkgname=liblcf
version=0.8.1
revision=2
build_style=cmake
hostmakedepends="pkg-config"
makedepends="expat-devel icu-devel inih-devel"
short_desc="Library to handle RPG Maker 2000/2003 and EasyRPG projects"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/EasyRPG/liblcf"
distfiles="https://github.com/EasyRPG/liblcf/archive/${version}.tar.gz"
checksum=5ec89082d54f1a29d23fed54de70acab4375036d57828ff0fc7a88b81833d40f

post_install() {
	vlicense COPYING
}

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