# Template file for 'at-spi2-atk'
pkgname=at-spi2-atk
version=2.14.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config intltool glib-devel"
makedepends="libglib-devel atk-devel>=2.14 at-spi2-core-devel>=2.14"
depends="at-spi2-core>=2.14"
short_desc="A GTK+ module that bridges ATK to D-Bus at-spi"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="LGPL-2"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=56b40ef16d9f1b1630d32addb0cc941372a1e97d8ddafd369f912c7d125688e7

pre_configure() {
	autoreconf -fi
}

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