# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gtksourceview
version=3.24.11
build=1sml
homepage="http://projects.gnome.org/gtksourceview/"
download="https://gitlab.gnome.org/GNOME/gtksourceview/-/archive/$version/gtksourceview-$version.tar.bz2"
desc="A text widget adding syntax highlighting and more to GNOME"
requires="libxml2 vala gobject-introspection gtk3"

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

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

build() {
  ./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
"
