1 # Maintainer: Jon Nordby <jononor@gmail.com>
2 # Contributor: mosra <mosra@centrum.cz>
7 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics"
9 url="http://mypaint.intilinux.com/"
11 depends=('pygtk' 'python2-numpy')
12 makedepends=('scons>=0.97' 'swig>=1.3.39' 'git')
15 [ "$CARCH" = "i686" ] && optdepends=('psyco: improved performance')
16 install=('mypaint-git.install')
18 _gitroot="git://gitorious.org/mypaint/mypaint.git"
23 msg "Connecting to GIT server...."
25 if [ -d $_gitname ] ; then
26 cd $_gitname && git pull origin
27 msg "The local files are updated."
32 msg "GIT checkout done or server timeout"
33 msg "Starting make..."
35 rm -rf "$srcdir/$_gitname-build"
36 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
37 cd "$srcdir/$_gitname-build"
41 scons prefix="$pkgdir"/usr install