diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-30 13:08:34 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-09-30 13:13:10 +0000 |
commit | 20fa68e293fa34c49a360842e5bf6a0ae42682e4 (patch) | |
tree | 3256cd28d545a1642c74af577bf9db402ca84cea /main/at-spi2-atk | |
parent | b8e981db2f641715c858c6c3d53a39f5bb4fa874 (diff) | |
download | aports-20fa68e293fa34c49a360842e5bf6a0ae42682e4.tar.bz2 aports-20fa68e293fa34c49a360842e5bf6a0ae42682e4.tar.xz |
main/at-spi2-atk: moved from testing
Diffstat (limited to 'main/at-spi2-atk')
-rw-r--r-- | main/at-spi2-atk/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/main/at-spi2-atk/APKBUILD b/main/at-spi2-atk/APKBUILD new file mode 100644 index 0000000000..69c4ed2d12 --- /dev/null +++ b/main/at-spi2-atk/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Natanael Copa <ncopa@alpinelinux.org> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=at-spi2-atk +pkgver=2.6.0 +pkgrel=0 +pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi" +url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus" +arch="all" +license="LGPLv2+" +depends="" +depends_dev="glib-dev dbus-dev atk-dev at-spi2-core-dev" +makedepends="$depends_dev intltool" +install="" +subpackages="$pkgname-dev" +source="http://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-$pkgver.tar.xz" + +_builddir="$srcdir"/at-spi2-atk-$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" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir"/usr/lib -name '*.la' -delete +} + +md5sums="1597e1f88778611be18d8710ac95787d at-spi2-atk-2.6.0.tar.xz" |