summaryrefslogtreecommitdiff
path: root/pcr/libmypaint/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-11-08 22:25:16 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-11-08 23:06:30 -0300
commit1755bc97f46d46b5b82f7a506af5f730ce4328fa (patch)
tree9a22a1bb0d9bfdf3e8848692d8f7011a99186f7e /pcr/libmypaint/PKGBUILD
parent19c6789120d4d646174968123c1b407687a88a7b (diff)
downloadabslibre-1755bc97f46d46b5b82f7a506af5f730ce4328fa.tar.gz
abslibre-1755bc97f46d46b5b82f7a506af5f730ce4328fa.tar.bz2
abslibre-1755bc97f46d46b5b82f7a506af5f730ce4328fa.zip
libmypaint: add pkg to [pcr]
Diffstat (limited to 'pcr/libmypaint/PKGBUILD')
-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/
+}