aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: ec71e162c655440a5c89e600185fc1a4bccd080b (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.20.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
}

md5sums="5187b0972f4d3905f285540b31395e20  atk-2.20.0.tar.xz"
sha256sums="493a50f6c4a025f588d380a551ec277e070b28a82e63ef8e3c06b3ee7c1238f0  atk-2.20.0.tar.xz"
sha512sums="3dab21e59f47deeee7c4b95dbda1c9a57a15007367af584a27c472e20f11bebd210ae7cd16b255e810f66df4c0a2bee14d904c46e1367ce5a6ade6f5af81bace  atk-2.20.0.tar.xz"