summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libmypaint/PKGBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/pcr/libmypaint/PKGBUILD b/pcr/libmypaint/PKGBUILD
new file mode 100644
index 000000000..00ee342c4
--- /dev/null
+++ b/pcr/libmypaint/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=libmypaint
+pkgver=r519.60369db
+pkgrel=1
+pkgdesc='A library for making brushstrokes'
+arch=(i686 x86_64 armv7h)
+url=http://${pkgname#lib}.intilinux.com/
+license=(ISC)
+depends=(gegl gcc-libs glib2 json-c python2)
+makedepends=(git gperftools scons) # fail build with gobject-introspection; docs needs to build: doxygen python2-sphinx python2-breathe
+source=($pkgname::git+https://github.com/${pkgname#lib}/$pkgname)
+sha512sums=(SKIP)
+
+build() {
+ cd $srcdir/$pkgname
+ mkdir $srcdir/$pkgname-fakeinstall
+ scons \
+ prefix=$srcdir/$pkgname-fakeinstall/usr \
+ enable_docs=no \
+ enable_gegl=yes \
+ enable_gperftools=yes \
+ enable_introspection=no \
+ use_glib=yes \
+ use_sharedlib=yes \
+ install
+}
+
+package() {
+ cp -a $srcdir/$pkgname-fakeinstall/* $pkgdir/
+}