updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / espeak-gui / PKGBUILD
blob573fe40eede68cfe7907a5f365095b867e3889f4
1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=espeak-gui
4 pkgver=0.2
5 pkgrel=4
6 pkgdesc="GUI for eSpeak"
7 arch=('i686' 'x86_64')
8 url="https://launchpad.net/espeak-gui"
9 license=('GPL3')
10 depends=('pygobject' 'python-distutils-extra' 'python-espeak' 'python2-gconf')
11 source=(http://launchpad.net/espeak-gui/trunk/$pkgver/+download/$pkgname-$pkgver.tar.gz)
12 md5sums=('13411e05d7a2207ff3fdc6cab294e052')
14 build() {
15   cd $srcdir/$pkgname-$pkgver
17    # Python2 fix
18    sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' setup.py
19    sed -i 's_#! /usr/bin/env python_#!/usr/bin/env python2_' espeak-gui
21    python2 setup.py build
22    python2 setup.py install --root $pkgdir