aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: dcb44184d8f151368815bcaa9e2d6e800384e88d (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
40
41
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
pkgver=2.10.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=
depends_dev="glib-dev"
makedepends="glib-dev gobject-introspection-dev"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"

_builddir="$srcdir/$pkgname-$pkgver"

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

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="e77833d4445ebe6842e9f9a0667b0be7  atk-2.10.0.tar.xz"
sha256sums="636917a5036bc851d8491194645d284798ec118919a828be5e713b6ecc5b50b0  atk-2.10.0.tar.xz"
sha512sums="923905b05fb4a9c64a708fc98e7248ec65829ae9b3c2250bb8ed91f2572ca1c7c75a4fd7777e6c8c4f147eb0b330df76a5609ff73b10fda86f72d2a312a669e3  atk-2.10.0.tar.xz"