OCaml 4.14.0 rebuild
[arch-packages.git] / pyatspi / trunk / PKGBUILD
blob21d13fb75a9608bbc72547c558a51c880c039fe3
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
4 pkgbase=pyatspi
5 pkgname=(python-atspi)
6 pkgver=2.38.2
7 pkgrel=1
8 pkgdesc="Python bindings for D-Bus AT-SPI"
9 url="https://wiki.linuxfoundation.org/accessibility/atk/at-spi/at-spi_on_d-bus"
10 arch=(any)
11 license=(GPL2)
12 depends=(python-gobject at-spi2-core)
13 makedepends=(git)
14 _commit=141a53029b3e16bfa5f100ae54a77234a9bf3426  # tags/PYATSPI_2_38_2^0
15 source=("git+https://gitlab.gnome.org/GNOME/pyatspi2.git#commit=$_commit")
16 sha256sums=('SKIP')
18 pkgver() {
19   cd pyatspi2
20   git describe --tags | sed 's/^PYATSPI_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
23 prepare() {
24   cd pyatspi2
25   NOCONFIGURE=1 ./autogen.sh
28 build() (
29   cd pyatspi2
30   ./configure --prefix=/usr --with-python=/usr/bin/python
31   make
34 package_python-atspi() {
35   cd pyatspi2
36   make DESTDIR="$pkgdir" install
39 # vim:set sw=2 et: