APP=gtksourceview
VERSION=3.24.11
BUILD=1sml
HOMEPAGE="http://projects.gnome.org/gtksourceview/"
DOWNLOAD="https://gitlab.gnome.org/GNOME/gtksourceview/-/archive/3.24.11/gtksourceview-3.24.11.tar.bz2"
DESC="A text widget adding syntax highlighting and more to GNOME"
REQUIRES="libxml2 vala gobject-introspection gtk3 "

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

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

  ./configure \
    --prefix="" \
    --disable-gtk-doc \
    --disable-gtk-doc-html \
    --disable-gtk-doc-pdf 

  make
  make install DESTDIR=$PKG

  cp COPYING $PKGDOCS/

  mkfinalpkg
}

SHA512SUMS="
f680e94d8f25356703706f2a7f63afdc9ccea374a137d18df4e9a16c0658431ce357a51311b8740f9263353dea4591b174dbb81532b667219abfad3e1c09efdb  gtksourceview-3.24.11.tar.lz
"
