# Template file for 'babl'
pkgname=babl
version=0.1.56
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config vala-devel"
short_desc="Dynamic pixel format translation library"
maintainer="Enno Boland <gottox@voidlinux.eu>"
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=8ad26ca717ec3c74e261f454dd6bb316333a39fd1f87db4ac44706a860dc4d28

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