aboutsummaryrefslogtreecommitdiffstats
path: root/main/atk/APKBUILD
blob: 77444fdca1b122f866ce2cc4a71c531919be6df6 (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.18.0
pkgrel=0
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="fd3678f35004b4c92e3da39356996054  atk-2.18.0.tar.xz"
sha256sums="ce6c48d77bf951083029d5a396dd552d836fff3c1715d3a7022e917e46d0c92b  atk-2.18.0.tar.xz"
sha512sums="36f88a6f052ec28c4394756b7de3c1f4c021439eba1e4bfde6ecccd87bab1847111f4cc68ed743c762fcc165c4984c03fd09ea4346e49b2d8dad8b5af36189ea  atk-2.18.0.tar.xz"