1 # Maintainer: Steve Holmes <steve.holmes88@gmail.com>
2 # Contributor: Giulio Bai <giulio@hewle.com>
7 pkgdesc="Interactive Python accessibility explorer for the GNOME desktop"
9 url="http://live.gnome.org/Accerciser"
11 source=(http://ftp.gnome.org/pub/GNOME/sources/accerciser/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
12 md5sums=('862eb800643b822975f4f32e7da528ef')
13 depends=('gnome-python-desktop>=2.14'
21 makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
22 install=accerciser.install
25 cd "$srcdir/$pkgname-$pkgver"
27 # Change hard coded references of python to python2
28 sed -i -e 's|env python|env python2|' src/accerciser.in
29 sed -i -e 's|bin/python|bin/python2|' plugins/*.py
31 PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \
32 --disable-schemas-compile
37 cd "$srcdir/$pkgname-$pkgver"
38 make DESTDIR=${pkgdir} install
39 install -m 755 -d ${pkgdir}/usr/share/licenses/${pkgname}
40 install -m 644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}