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

depends_dev="glib-dev"
build() {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--enable-introspection \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

dev() {
	default_dev
	install -d "$subpkgdir"/usr/share
	mv "$pkgdir"/usr/share/gir* "$subpkgdir"/usr/share/
}

md5sums="548d413775819fef425410739041cac3  atk-1.30.0.tar.bz2"