aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: 0049db00c127ae9d246213a2cf7cbc47b24d56bd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=2.16.0
pkgrel=1
pkgdesc="A library providing a set of interfaces for accessibility"
url="http://www.gtk.org/"
arch="all"
license="LGPL2+"
depends=""
depends_dev=""
makedepends="glib-dev gobject-introspection-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
	cd "$_builddir"
}

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

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="c7c5002bd6e58b4723a165f1bf312116  atk-2.16.0.tar.xz"
sha256sums="095f986060a6a0b22eb15eef84ae9f14a1cf8082488faa6886d94c37438ae562  atk-2.16.0.tar.xz"
sha512sums="dc8827779d14fe7212733464f8775f67d60ab3027fcd935245d57c5899e8fc8acc6ceb88ee58f7bfbf259b89447868b3c93726ac56f46bf30a722b47b7bbd7da  atk-2.16.0.tar.xz"