updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / mypaint-devel / PKGBUILD
bloba708631f3f77efedbdbc874235bac60ae8fda28b
1 # Contributor: Jon Nordby <jononor at gmail com>
3 pkgname=mypaint-devel
4 pkgver=0.9.0.beta1
5 _pkgname=mypaint
6 _pkgver=0.9.0-beta1
7 pkgrel=2
8 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
9 arch=('i686' 'x86_64')
10 url="http://mypaint.intilinux.com/"
11 license=('GPL')
12 depends=('pygtk' 'python-numpy')
13 optdepends=('gconf')
14 makedepends=('scons>=0.97' 'swig>=1.3.39')
15 conflicts=('mypaint' 'mypaint-git')
16 provides=('mypaint')
17 [ "$CARCH" = "i686" ] && optdepends=('psyco (improved performance)')
18 source=(http://download.gna.org/$_pkgname/$_pkgname-$_pkgver.tar.bz2
19     python2.patch)
20 md5sums=('85f13ba5c1b450142dbb8f80e3fe4e87'
21          '4dea0ee98e76c9dab620c574815dd7bc')
23 build() {
24   cd $_pkgname-$_pkgver
26   # Fix call to python2
27   patch -p1 < "$srcdir/python2.patch"
29   #BUILD
30   scons prefix=/usr DEST="$pkgdir" install