From 08bf69f9dbbe543a33669e579a68d37b02af7476 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 31 Jan 2018 15:47:38 -0600 Subject: main/at-spi2-atk: disable tests, modernise, fix dep warnings --- main/at-spi2-atk/APKBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'main') diff --git a/main/at-spi2-atk/APKBUILD b/main/at-spi2-atk/APKBUILD index f199b9753a..e5eae885a3 100644 --- a/main/at-spi2-atk/APKBUILD +++ b/main/at-spi2-atk/APKBUILD @@ -2,14 +2,16 @@ # Maintainer: Natanael Copa pkgname=at-spi2-atk pkgver=2.26.1 -pkgrel=0 +pkgrel=1 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" +options="!check" # Requires dbus daemon running. license="LGPL-2.0-or-later" depends="" -depends_dev="glib-dev dbus-dev atk-dev at-spi2-core-dev" -makedepends="$depends_dev intltool" +depends_dev="dbus-dev atk-dev" +makedepends="$depends_dev glib-dev at-spi2-core-dev intltool" +checkdepends="libxml2-dev" install="" subpackages="$pkgname-dev" source="http://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz" @@ -24,14 +26,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --localstatedir=/var \ - || return 1 - make || return 1 + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } sha512sums="2922ce0429901e00729e05a4fd67860a601917a683160ce123d281426e91074258ae70e8a4a67c2aff5e225290e59f99417a37914b039cab2481f7d1c2c64c5d at-spi2-atk-2.26.1.tar.xz" -- cgit v1.2.3