summaryrefslogtreecommitdiff
path: root/pcr/mypaint-gegl-git/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mypaint-gegl-git/PKGBUILD')
-rw-r--r--pcr/mypaint-gegl-git/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/mypaint-gegl-git/PKGBUILD b/pcr/mypaint-gegl-git/PKGBUILD
new file mode 100644
index 000000000..f839354a2
--- /dev/null
+++ b/pcr/mypaint-gegl-git/PKGBUILD
@@ -0,0 +1,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
+}