# Maintainer: Márcio Silva # based of mypaint _pkgname=mypaint pkgname=mypaint-gegl-git pkgver=r4558.0b7a3db pkgrel=1 pkgdesc="A fast and easy painting application for digital painters, with brush dynamics and GEGL support" arch=('i686' 'x86_64' 'armv7h') url="http://mypaint.org/" license=('GPL' 'LGPL') depends=('pygtk' 'python2-numpy' 'python2-protobuf' 'python2' 'lcms2' 'python2-gobject' 'gtk3' 'libmypaint-gegl-git') makedepends=('scons>=0.97' 'swig>=1.3.39' 'git') provides=("${_pkgname}") conflicts=("${_pkgname}" "${_pkgname}-gegl") source=(${_pkgname}-${pkgver}::git+https://github.com/${_pkgname}/${_pkgname}.git) md5sums=('SKIP') pkgver() { cd ${_pkgname}-${pkgver} printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { cd $srcdir/$_pkgname-$pkgver scons prefix="$pkgdir"/usr use_sharedlib=yes enable_gegl=yes install }