summaryrefslogblamecommitdiff
path: root/user/atk/APKBUILD
blob: b2232304b0c71fdade324bff168e4d652935688b (plain) (tree)




































                                                                                                                                                                
# Maintainer: 
pkgname=atk
pkgver=2.26.1
pkgrel=3
pkgdesc="A library providing a set of interfaces for accessibility"
url="https://www.gtk.org/"
arch="all"
license="LGPL-2.0+"
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"

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="9a802f1856f0f608c3b4ef6de27dc8174e103dbb32431a4dcffcac48c685cc48efb087ab73f661d7327341e8074b73bb7877c596f93228283ca5907910d64a6b  atk-2.26.1.tar.xz"