# Tanım: VTE widget seti için Python bağları
# URL: http://developer.gnome.org/arch/gnome/widgets/vte.html
# Paketçi: milisarge
# Gerekler: vte vala

isim=python-vte
surum=0.28.2
devir=1
kaynak=(ftp://ftp.gnome.org/pub/gnome/sources/vte/${surum%.*}/vte-$surum.tar.xz )

derle() {
  cd vte-$surum

  ./configure --prefix=/usr \
              --libexecdir=/usr/lib/$isim \
              --disable-static \
              --disable-debugging \
              --enable-python \
              --disable-gtk-doc \
              --with-xft2 \
              --with-pangox

  make
  make DESTDIR=$PKG install


  rm -rf $PKG/usr/lib/libvte.la
  rm -rf $PKG/usr/lib/libvte.so*
  rm -rf $PKG/usr/lib/libvte.so.9.2800.2
  rm -rf $PKG/usr/lib/pkgconfig/
  rm -rf $PKG/usr/lib/vte/
  rm -rf $PKG/usr/include
  rm -rf $PKG/usr/share
  rm -rf $PKG/usr/bin
  rm -rf $PKG/usr/{share}/{gtk-doc,locale}
  rm -rf $PKG/usr/lib/vte/gnome-pty-helper
}
