summaryrefslogtreecommitdiff
path: root/pcr/libmypaint/PKGBUILD
blob: 00ee342c45c061065d519fdda715452a5198efe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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/
}