aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-core/APKBUILD
blob: f449bbf7ff8afce296bb8647a2879230b18e212b (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=at-spi2-core
pkgver=2.24.0
pkgrel=0
pkgdesc="Protocol definitions and daemon for D-Bus at-spi"
url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus"
arch="all"
license="LGPL2+"
depends=""
depends_dev="dbus-dev glib-dev libxtst-dev"
makedepends="$depends_dev dbus intltool gobject-introspection-dev"
install=""
subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-lang"
source="http://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz
	fix-buffer-overrun.patch"

builddir="$srcdir"/at-spi2-core-$pkgver
build() {
	cd "$builddir"
	DATADIRNAME="share" ./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="380c4bada27c60fc946506d0effae817dbb1d372d236025c1cbe805cd24028a776281d4c1bae6940f08677ede5c1467d01bcbf18a5b41ea768c12648223a14f9  at-spi2-core-2.24.0.tar.xz
91065867443172454c02a1246f034f22faeae3c3eef89615fee227a51feb02133496e539c9b25c2b1b5f3fcd9ff960f8c29a64b7b7dee89bf0a3febc9bc40d9d  fix-buffer-overrun.patch"