updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / casetta / PKGBUILD
blob2547d31f0c370cfcf1116b7c24ee817c2df93975
1 # Maintainer: Mauro Santos <registosites@hotmail.com>
3 pkgname=casetta
4 pkgver=0.3.0
5 pkgrel=2
6 pkgdesc="Collection of free (as speech) softwares to open, edit, convert and transfer data with a Casio graphical calculator."
7 license=('GPL2')
8 arch=('i686' 'x86_64')
9 url="http://casetta.tuxfamily.org/"
10 depends=('python2' 'python-pyserial' 'python-imaging' 'gtk' 'pygtk')
11 makedepends=('python2')
12 source=("http://download.tuxfamily.org/casetta/casetta-0.3/casetta-$pkgver.tar.gz")
13 md5sums=('0d95ce37cacd99f79f826fe06eb4104a')
15 build() {
17         # Build and install
18         cd ${srcdir}/$pkgname-$pkgver
19         python2 setup.py install --prefix=${pkgdir}/usr
21         # Fix/hack to run with Python 2
22         cd ${pkgdir}
23         sed -i 's/python/python2/g' usr/bin/gasetta
24         sed -i 's/python/python2/g' usr/bin/casetta
25         sed -i 's/python/python2/g' usr/share/gasetta/gasetta.py
26         sed -i 's/python/python2/g' usr/share/casetta_cli/casetta_cli.py