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
"
