diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/at-spi2-core/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/testing/at-spi2-core/APKBUILD b/testing/at-spi2-core/APKBUILD new file mode 100644 index 0000000000..dd90dab2b3 --- /dev/null +++ b/testing/at-spi2-core/APKBUILD @@ -0,0 +1,43 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=at-spi2-core +pkgver=2.6.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="LGPLv2+" +depends="" +depends_dev="dbus-dev glib-dev libxtst-dev" +makedepends="$depends_dev intltool gobject-introspection-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="http://download.gnome.org/sources/at-spi2-core/${pkgver%.*}/at-spi2-core-$pkgver.tar.xz" + +_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 --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="3a8ffab81adb6af9f7f1220f54fd54a0 at-spi2-core-2.6.0.tar.xz" |