diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-30 13:07:58 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-30 13:13:10 +0000 |
commit | b8e981db2f641715c858c6c3d53a39f5bb4fa874 (patch) | |
tree | b13eb26f44e1581df26359e3ea106528eaf2a00f /main/at-spi2-core | |
parent | 8e2b5711c944e12eca5d96c83f3b10ee21911203 (diff) | |
download | aports-b8e981db2f641715c858c6c3d53a39f5bb4fa874.tar.bz2 aports-b8e981db2f641715c858c6c3d53a39f5bb4fa874.tar.xz |
main/at-spi2-core: moved from testing
Diffstat (limited to 'main/at-spi2-core')
-rw-r--r-- | main/at-spi2-core/APKBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/main/at-spi2-core/APKBUILD b/main/at-spi2-core/APKBUILD new file mode 100644 index 000000000..dd90dab2b --- /dev/null +++ b/main/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" |