# Contributor: Natanael Copa # Maintainer: Natanael Copa pkgname=at-spi2-core pkgver=2.10.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 \ --build=$CBUILD \ --host=$CHOST \ --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="bb3b6f5679ecfc7dabcf76a1b6bfe2db at-spi2-core-2.10.0.tar.xz" sha256sums="964155c7574220a00e11e1c0d91f2d3017ed603920eb1333ff9cbdb6a22744db at-spi2-core-2.10.0.tar.xz" sha512sums="a8c5f71c9fdd5625080f96323a05768f7e8e5ab9d873519346bbd2c68bf51f13234ae02d7dd361f5fa559348c58c8bd28f7b2c0afe42bef85b7b66c333f41ea0 at-spi2-core-2.10.0.tar.xz"