aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-atk/APKBUILD
blob: 7495bff04535c9ad58c2dac09aea550a7368ed16 (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.2
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"
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="f938b8e2b999fcdfa13e9433bd13c39430bae2ceae0c664a24caccc6af522947bf73de02de3c359807f5370a85961193df2ba24b193b60b915c61828ea747bb2  at-spi2-atk-2.26.2.tar.xz"