# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=at-spi2-core pkgver=2.8.0 pkgrel=0 pkgdesc="Protocol definitions and daemon for D-Bus at-spi" url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus" arch="all" license="LGPLv2+" depends="" depends_dev="dbus-dev glib-dev libxtst-dev" makedepends="$depends_dev intltool gobject-introspection-dev" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz" _builddir="$srcdir"/at-spi2-core-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" DATADIRNAME="share" ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm -f "$pkgdir"/usr/lib/*.la } md5sums="93b57d5d56d15d1222ddf2386e2f869f at-spi2-core-2.8.0.tar.xz" sha256sums="1861a30fc7f583d5a567a0ba547db67ce9bd294f0d1c9f7403c96a10a481c458 at-spi2-core-2.8.0.tar.xz" sha512sums="5d31668dac3a93fd586686f4763da2839509e9607517bb9d5f35481a3125c549d69cc3834012a51f4dadafedaf919a880f1826c7f78bf94f3cdd8021d1918030 at-spi2-core-2.8.0.tar.xz"