aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: b9b7d32f77b06cee3047c859434ce382c851b31d (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=2.28.1
pkgrel=0
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://www.gtk.org/"
arch="all"
license="LGPL-2.0-or-later"
depends=""
makedepends="glib-dev gobject-introspection-dev musl-utils"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-introspection
	make
}

check() {
	cd "$builddir"/tests
	# There is no test suite runner present, but the tests are built..
	for testapp in testdocument testrelation testrole teststateset testvalue; do
		./$testapp
	done
}

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

sha512sums="aa61e7718b3f4d9c33ec2b4747e35f894a51550ef39ecc4a7af5705811c029645bd3c728071f446b075a0b7aef0c35c1b73406a210cd30171838f24a8dfc0abb  atk-2.28.1.tar.xz"