From 1755bc97f46d46b5b82f7a506af5f730ce4328fa Mon Sep 17 00:00:00 2001 From: "coadde [Márcio Alexandre Silva Delgado]" Date: Sun, 8 Nov 2015 22:25:16 -0300 Subject: libmypaint: add pkg to [pcr] --- pcr/libmypaint/PKGBUILD | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 pcr/libmypaint/PKGBUILD 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 + +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/ +} -- cgit v1.2.3-54-g00ecf