app=vte
version=0.28.2
build=1sml
homepage="https://wiki.gnome.org/Apps/Terminal/VTE"
download="http://ftp.gnome.org/pub/gnome/sources/vte/0.28/vte-0.28.2.tar.xz"
desc="Virtual Terminal Emulator widget"
requires="gperf gdk-pixbuf"

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

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

  cp $srcdir/config.sub .

  CFLAGS="$CFLAGS -D_GNU_SOURCE" \
  ./configure \
    --prefix="" \
    --disable-nls \
    --disable-python \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
28fdfefe1f668e494d6a91b90b0cae7fd4d85e3d1bde8069fff1e81ad189d9ea46c6d162fb9b38079eb2d5e0d823641d072b9573c37121a118aba08bef308724  vte-0.28.2.tar.lz
"
