aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: 87d6f39fffc184148daeac7c2ee16b8a06a3de96 (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.11.1
pkgrel=0
pkgdesc="A library providing a set of interfaces for accessibility"
url="http://www.gtk.org/"
arch="all"
license="LGPL2+"
depends=""
depends_dev="glib-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="75bb42e9a77f2953292b6241b127e26a  atk-2.11.1.tar.xz"
sha256sums="89f4df87268f1bd7ff65087762909a350a918e83c3bce8e1a2ed4450056bbf02  atk-2.11.1.tar.xz"
sha512sums="d3f715fd5f4d5eb7368b45f4b58836c2a5ca789cb3f0e6a250decc8bf31d0ef2ea67f75d09cc09df9c9a75cf17a0721560de5fec38df3377c79191d63ad1f76b  atk-2.11.1.tar.xz"