# Maintainer: PktSurf <smlinux@pktsurf.in>
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"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix="" \
    --disable-introspection

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

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