--- /dev/null
+--- ./configure.ac.orig 2015-03-14 13:24:20.032681400 +0100
++++ ./configure.ac 2015-03-14 13:24:25.643002700 +0100
+@@ -226,7 +226,7 @@
+
+ # Search for the required modules.
+
+-VTE_PKGS="glib-2.0 >= $GLIB_REQUIRED gobject-2.0 pango >= $PANGO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gobject-2.0 gio-2.0 gio-unix-2.0 zlib $GNUTLS_PKGS"
++VTE_PKGS="glib-2.0 >= $GLIB_REQUIRED gobject-2.0 pango >= $PANGO_REQUIRED gtk+-$GTK_API_VERSION >= $GTK_REQUIRED gobject-2.0 gio-2.0 zlib $GNUTLS_PKGS"
+ PKG_CHECK_MODULES([VTE],[$VTE_PKGS])
+ AC_SUBST([VTE_PKGS])
+
--- /dev/null
+# Maintainer: Andrea Zagli <andrea.zagli.free@gmail.com>
+
+_realname=vte
+pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
+pkgver=0.39.90
+pkgrel=1
+arch=('any')
+pkgdesc="Terminal emulator widget for GTK+ 3.0 (mingw-w64)"
+options=(strip staticlibs)
+depends=("${MINGW_PACKAGE_PREFIX}-gtk3"
+ "${MINGW_PACKAGE_PREFIX}-gsettings-desktop-schemas"
+ "${MINGW_PACKAGE_PREFIX}-adwaita-icon-theme"
+ "${MINGW_PACKAGE_PREFIX}-glade"
+ "${MINGW_PACKAGE_PREFIX}-gnutls"
+ "${MINGW_PACKAGE_PREFIX}-libxml2")
+makedepends=("${MINGW_PACKAGE_PREFIX}-gobject-introspection"
+ "${MINGW_PACKAGE_PREFIX}-vala")
+options=('strip' 'staticlibs')
+license=("LGPL 2.1")
+url="http://www.gnome.org"
+source=(http://ftp.gnome.org/pub/gnome/sources/${_realname}/${pkgver%.*}/${_realname}-$pkgver.tar.xz
+ 001-win.patch)
+sha256sums=('9d127e8dc9ca8267fe65f280bf3afb17d68ef154163f84b3bb2fc79e73abbc97'
+ '55fa6fca3c336e10ae964d507d935c3c5b7b01be1fdb82084899921d799bc2ab')
+
+prepare() {
+ cd "${srcdir}"/${_realname}-${pkgver}
+
+ patch -p1 -i ${srcdir}/001-win.patch
+
+ autoreconf -fi
+}
+
+build() {
+ mkdir -p build-${MINGW_CHOST}
+ cd build-${MINGW_CHOST}
+
+ ../${_realname}-${pkgver}/configure \
+ --prefix=${MINGW_PREFIX} \
+ --libexecdir=${MINGW_PREFIX}/lib \
+ --host=${MINGW_CHOST} \
+ --target=${MINGW_CHOST} \
+ --build=${MINGW_CHOST}
+
+ make
+}
+
+package() {
+ cd "$srcdir/build-${MINGW_CHOST}"
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 "${srcdir}/${_realname}-${pkgver}/COPYING" "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/COPYING"
+}