summaryrefslogtreecommitdiff
path: root/user/atk/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/atk/APKBUILD')
-rw-r--r--user/atk/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/atk/APKBUILD b/user/atk/APKBUILD
new file mode 100644
index 000000000..b2232304b
--- /dev/null
+++ b/user/atk/APKBUILD
@@ -0,0 +1,37 @@
+# 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"