summaryrefslogtreecommitdiff
path: root/pcr/mypaint-gegl-git/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-10-09 21:11:33 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-10-09 21:12:39 -0300
commit478dbb209e2f5ce77b64336ba6bf4df99b24eeea (patch)
treecbd3023fd59001893aff3ab7aa5a710587e4c22b /pcr/mypaint-gegl-git/PKGBUILD
parent117694a8ff0490261665def2dadd25d8ac20463b (diff)
downloadabslibre-478dbb209e2f5ce77b64336ba6bf4df99b24eeea.tar.gz
abslibre-478dbb209e2f5ce77b64336ba6bf4df99b24eeea.tar.bz2
abslibre-478dbb209e2f5ce77b64336ba6bf4df99b24eeea.zip
add {,lib}mypaint-gegl-git to [pcr], rm mypaint-gegl package
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
+}