# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=at-spi2-atk pkgver=2.20.0 pkgrel=0 pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi" url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus" arch="all" license="LGPL2+" depends="" depends_dev="glib-dev dbus-dev atk-dev at-spi2-core-dev" makedepends="$depends_dev intltool" install="" subpackages="$pkgname-dev" source="http://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz" _builddir="$srcdir"/at-spi2-atk-$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" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="c5bd86295313d24704560e963ecc8a61 at-spi2-atk-2.20.0.tar.xz" sha256sums="a24b142b6e8f1dd2d57a657447dde3e0ae29df481968c88673a58d4ce44f3ad2 at-spi2-atk-2.20.0.tar.xz" sha512sums="e0f3906ba4430832b3971e6d880738f603582ba70e6ed36679d0ac1428eeb4cbc1bb32a53af257aefdf5c7775664db4693e555f24e3945b83538db1f2dc80939 at-spi2-atk-2.20.0.tar.xz"