APP=libmypaint
VERSION=1.6.1
BUILD=1sml
HOMEPAGE='https://github.com/mypaint/libmypaint'
DESC="library for making brushstrokes used by MyPaint and others"
REQUIRES="glib json-c json-glib"

build() {
  mkandenterbuilddir
  rm -rf $APP-$VERSION

  tar xf $SRCDIR/$APP-$VERSION.tar.?z*
  cd $APP-$VERSION 
  fixbuilddirpermissions

  ./configure \
    --prefix="" 

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
7d26880a3a4a140b3770ecf0b913bb6153fe20654ddee98b441479fed17990e1f4f617c55a76fe2a4bb94d2d194cda9d4e9b0e4b9a002f189249734bcde395c1  libmypaint-1.6.1.tar.lz
"
