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

depends_dev="glib-dev"
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./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="c652bd25530825d604dae1c1ebd2da02  atk-2.8.0.tar.xz"
sha256sums="b22519176226f3e07cf6d932b77852e6b6be4780977770704b32d0f4e0686df4  atk-2.8.0.tar.xz"
sha512sums="4f8b654a73ec3be8c2e453836dee2a9d02c1e0aac792f140dc63edf55d294c16b831b127152cdbba7b6e94340a8b843a565fe9ba47cecc0f79ed8262ef3d4397  atk-2.8.0.tar.xz"