[arch-commits] Commit in pyatspi/repos (2 files)
Jan de Groot
jgc at archlinux.org
Wed Apr 5 10:19:13 UTC 2017
Date: Wednesday, April 5, 2017 @ 10:19:12
Author: jgc
Revision: 292103
archrelease: copy trunk to gnome-unstable-any
Added:
pyatspi/repos/gnome-unstable-any/
pyatspi/repos/gnome-unstable-any/PKGBUILD
(from rev 292102, pyatspi/trunk/PKGBUILD)
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
Copied: pyatspi/repos/gnome-unstable-any/PKGBUILD (from rev 292102, pyatspi/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2017-04-05 10:19:12 UTC (rev 292103)
@@ -0,0 +1,54 @@
+# $Id$
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=pyatspi
+pkgname=(python-atspi python2-atspi)
+pkgver=2.24.0
+pkgrel=1
+arch=(any)
+url="https://wiki.linuxfoundation.org/en/AT-SPI_on_D-Bus"
+license=(GPL2)
+makedepends=(python-gobject python2-gobject at-spi2-core gnome-common git)
+_commit=6ca17feebb2ba032b36aa8a3ea6941bf62349f5b # tags/PYATSPI_2_24_0^0
+source=("git+https://git.gnome.org/browse/pyatspi2#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd pyatspi2
+ git describe --tags | sed 's/^PYATSPI_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+ mkdir python2 python3
+ cd pyatspi2
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+_build() (
+ cd python$1
+ ../pyatspi2/configure --prefix=/usr --with-python=/usr/bin/python$1
+ make
+)
+
+build() {
+ _build 2
+ _build 3
+}
+
+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)
+
+ cd python2
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list