app=vte5
version=0.50.4
build=1sml
homepage="https://wiki.gnome.org/Apps/Terminal/VTE"
download="https://gitlab.gnome.org/GNOME/vte/-/archive/0.50.4/vte-0.50.4.tar.bz2"
desc="GTK+ terminal widget library for use in writing terminal emulators"
requires="gtk3"

build() {
  mkandenterbuilddir
  rm -rf vte-$version

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

  ./configure \
    --prefix="" \
    --sysconfdir=/etc \
    --enable-vala=no \
    --disable-introspection \
    --disable-static

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
7a3fa071559e35151bc72b7f349401844be63b5314aba663591796d694c76e2e84c6bc5f3f14cdccd864546515156c9683be66151c2c6b80ef45921d49f73b27  vte-0.50.4.tar.lz
"