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

build() {
	cd "$builddir"
	meson \
		--prefix=/usr \
		--buildtype=debugoptimized \
		--sysconfdir=/etc \
		--buildtype=debugoptimized \
		-Ddocs=true \
		output .
	ninja -C output
}

check() {
	cd "$builddir"
	ninja -C output test
}

package() {
	cd "$builddir"
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="a7c8ec7c2166bb8734b065402bf7700cdc69f56c0958663e88596b155a20063e4cfbf1754d8b8ed94a4e509db2e97e2603b0a8037e61028acc85930e631a633e  atk-2.34.1.tar.xz"