summaryrefslogtreecommitdiff
path: root/pcr/mypaint-gegl-git/PKGBUILD
blob: d0d6f8425a499fb49f07f30cb09fdcb0928dd7b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Márcio Silva <coadde@parabola.nu>
# 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
}