APP=libcroco
VERSION=0.6.13
BUILD=1sml
HOMEPAGE='https://gitlab.gnome.org/GNOME/libcroco'
DESC="CSS2 parsing and manipulation library"
REQUIRES="zlib pcre glib libxml2 xz"

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

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --disable-static 

  make
  make install DESTDIR=$PKG

  cp COPYING* $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
a339be95dde686c8edfd474d9fb84865d31719e7d3a4e758177bba1c83eac5e3a53ee07f6e01c98084467e29e316bcc1749b6ee37dbe0739cf7972b72951a63e  libcroco-0.6.13.tar.lz
"
