summaryrefslogtreecommitdiff
path: root/pcr/mypaint-gegl-git/PKGBUILD
blob: f839354a2d1a5de2ce043f84e48a195fbe3d2480 (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
29
# Maintainer: Márcio Silva <coadde@parabola.nu>
# based of mypaint

_pkgname=mypaint
pkgname=mypaint-gegl-git
pkgver=r4556.427c7e5
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' 'protobuf-python' '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
        remove-delete-function.patch)
md5sums=('SKIP' '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
}