aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-atk/APKBUILD
blob: e5eae885a3aa3447851c182a3707ae41ee6bbaae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=at-spi2-atk
pkgver=2.26.1
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="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"

builddir="$srcdir"/at-spi2-atk-$pkgver
build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="2922ce0429901e00729e05a4fd67860a601917a683160ce123d281426e91074258ae70e8a4a67c2aff5e225290e59f99417a37914b039cab2481f7d1c2c64c5d  at-spi2-atk-2.26.1.tar.xz"