# Template file for 'girara'
pkgname=girara
version=0.2.2
revision=2
build_style=gnu-makefile
# COLOR=0 to avoid "tput not found" spam in the build output
make_build_args="COLOR=0"
make_install_args="COLOR=0"
maintainer="Dominik Honnef <dominik@honnef.co>"
hostmakedepends="pkg-config intltool"
makedepends="gtk+3-devel libnotify-devel"
license="zlib"
homepage="http://pwmt.org/projects/girara/"
short_desc="A library that implements a user interface that focuses on simplicity and minimalism"
distfiles="http://pwmt.org/projects/${pkgname}/download/${pkgname}-${version}.tar.gz"
checksum=6382dfdf1cc7ddfedf3d1ece5a7f07590c49b4932184ee8dec6d2bd121e66653

post_install() {
	vlicense LICENSE
}

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