APKBUILD 806 Bytes
Newer Older
Natanael Copa's avatar
Natanael Copa committed
1
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=atk
Natanael Copa's avatar
Natanael Copa committed
3
pkgver=1.30.0
4
pkgrel=2
Natanael Copa's avatar
Natanael Copa committed
5
6
7
8
pkgdesc="A library providing a set of interfaces for accessibility"
url="http://www.gtk.org/"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
Natanael Copa's avatar
Natanael Copa committed
10
makedepends="glib-dev gobject-introspection"
Natanael Copa's avatar
Natanael Copa committed
11
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.bz2"
Natanael Copa's avatar
Natanael Copa committed
12

Natanael Copa's avatar
Natanael Copa committed
13
14
depends_dev="glib-dev"
build() {
Natanael Copa's avatar
Natanael Copa committed
15
16
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
Natanael Copa's avatar
Natanael Copa committed
17
		--enable-introspection \
Natanael Copa's avatar
Natanael Copa committed
18
19
		|| return 1
	make || return 1
Natanael Copa's avatar
Natanael Copa committed
20
21
22
23
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
Natanael Copa's avatar
Natanael Copa committed
24
25
	make DESTDIR="$pkgdir" install || return 1
}
Natanael Copa's avatar
Natanael Copa committed
26
27
28
29
30
31
32

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

Natanael Copa's avatar
Natanael Copa committed
33
md5sums="548d413775819fef425410739041cac3  atk-1.30.0.tar.bz2"