# Template file for 'libraqm'
pkgname=libraqm
version=0.7.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="harfbuzz-devel fribidi-devel"
short_desc="Library for complex text layout"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/HOST-Oman/libraqm"
distfiles="https://github.com/HOST-Oman/libraqm/releases/download/v${version}/raqm-${version}.tar.gz"
checksum=e28575ecdd4e8a1d277d9be8268bb663ce1e476aaf55eb0456787821ddf0f941

post_install() {
	vlicense COPYING LICENSE
}

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