[arch-commits] Commit in pyatspi/repos (staging-any testing-any testing-any/PKGBUILD)
Jan Steffens
heftig at nymeria.archlinux.org
Wed Apr 10 19:11:23 UTC 2013
Date: Wednesday, April 10, 2013 @ 21:11:22
Author: heftig
Revision: 182439
db-move: moved pyatspi from [staging] to [testing] (any)
Added:
pyatspi/repos/testing-any/
pyatspi/repos/testing-any/PKGBUILD
(from rev 182430, pyatspi/repos/staging-any/PKGBUILD)
Deleted:
pyatspi/repos/staging-any/
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Copied: pyatspi/repos/testing-any/PKGBUILD (from rev 182430, pyatspi/repos/staging-any/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2013-04-10 19:11:22 UTC (rev 182439)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=pyatspi
+pkgname=(python-atspi python2-atspi)
+pkgver=2.8.0
+pkgrel=1
+arch=(any)
+url="http://www.linuxfoundation.org/en/AT-SPI_on_D-Bus"
+license=('GPL2')
+makedepends=(python-gobject python2-gobject at-spi2-core)
+source=(http://download.gnome.org/sources/${pkgbase}/${pkgver::3}/${pkgbase}-${pkgver}.tar.xz)
+sha256sums=('f1695670f13c804898f959e3e7fc517db1c7f1079c051d10e22a35889524fd17')
+
+build() {
+ mkdir python2 python3
+
+ cd $pkgbase-$pkgver
+ sed '/AC_PATH_XTRA/d' -i configure.ac
+ autoreconf -fi
+
+ cd ../python2
+ ../$pkgbase-$pkgver/configure --prefix=/usr --with-python=/usr/bin/python2
+ make
+
+ cd ../python3
+ ../$pkgbase-$pkgver/configure --prefix=/usr --with-python=/usr/bin/python
+ make
+}
+
+package_python-atspi() {
+ pkgdesc="Python 3 bindings for at-spi"
+ depends=(python-gobject at-spi2-core)
+
+ cd python3
+ make DESTDIR="$pkgdir" install
+}
+
+package_python2-atspi() {
+ pkgdesc="Python 2 bindings for at-spi"
+ depends=(python2-gobject at-spi2-core)
+ provides=("pyatspi=$pkgver")
+ replaces=(pyatspi)
+ conflicts=(pyatspi)
+
+ cd python2
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list