# Template file for 'babl'
pkgname=babl
version=0.1.60
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-3.0-only"
homepage="http://gegl.org/babl/"
changelog="https://raw.githubusercontent.com/GNOME/babl/master/NEWS"
distfiles="https://download.gimp.org/pub/babl/${version%.*}/babl-${version}.tar.bz2"
checksum=a3d1eeccb6057ccbc189dc926ebaca96cd4896f3391f857b86334d2245f0604f

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