aboutsummaryrefslogtreecommitdiffstats
path: root/main/at-spi2-core/APKBUILD
blob: a0e3ea86f8f8b57d2c37d5bbc12b6300565772dd (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
42
43
44
45
46
47
48
49
50
51
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=at-spi2-core
pkgver=2.20.1
pkgrel=2
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 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
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

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
}

md5sums="cd11cba463e8f5e1f39ba69555a7382f  at-spi2-core-2.20.1.tar.xz
76658345b466f67cae3458b4693550af  fix-buffer-overrun.patch"
sha256sums="6ed858e781f5aa9a9662b3beb5ef82f733dac040afc8255d85dffd2097f16900  at-spi2-core-2.20.1.tar.xz
730de56e9273cba256013ebb8e97904df8e345b3f30440f9fe71ecaa7984d27d  fix-buffer-overrun.patch"
sha512sums="e14996336ab081fa7890fad7765ac8a2c44a93a5c8cafdfaf1eba7194f23e47d0db44ac0a41c825259d9794695cf42479578c91196525615e8bf0feff56522c0  at-spi2-core-2.20.1.tar.xz
91065867443172454c02a1246f034f22faeae3c3eef89615fee227a51feb02133496e539c9b25c2b1b5f3fcd9ff960f8c29a64b7b7dee89bf0a3febc9bc40d9d  fix-buffer-overrun.patch"