APP=rest
VERSION=0.8.1
BUILD=1sml
HOMEPAGE="https://gitlab.gnome.org/GNOME/librest"
DOWNLOAD="https://gitlab.gnome.org/GNOME/librest/-/archive/0.8.1/librest-0.8.1.tar.bz2"
DESC="Library for accessing RESTful web services"
REQUIRES="glib libsoup libxml2 gobject-introspection"

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

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

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

  make
  make install DESTDIR=$PKG 

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
d24a506cff0c62c621267f74cbff3121c5c1bfdd141a3ad7656e3cd1e122d10f8ab3a46e8cf36717b0cadc1c83bf4c5f6735a98d655034a56260b45711ac1ed9  rest-0.8.1.tar.lz
"
