updated on Mon Jan 16 20:00:43 UTC 2012
[aur-mirror.git] / accerciser / PKGBUILD
blob4db0d2df7d99716f94f61aa61ae46c772e691352
1 # Maintainer: Steve Holmes <steve.holmes88@gmail.com>
2 # Contributor: Giulio Bai <giulio@hewle.com>
4 pkgname=accerciser
5 pkgver=3.2.1
6 pkgrel=1
7 pkgdesc="Interactive Python accessibility explorer for the GNOME desktop"
8 arch=('any')
9 url="http://live.gnome.org/Accerciser"
10 license=('BSD')
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'
14          'pygtk>=2.8'
15          'python2>=2.4'
16          'ipython2'
17          'glib2>=2.10'
18          'at-spi2-core>=2.1.5'
19          'dconf'
20          'hicolor-icon-theme')
21 makedepends=('gnome-doc-utils' 'intltool' 'gobject-introspection')
22 install=accerciser.install
24 build () {
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
33   make
36 package () {
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}