# Tanım: A terminal emulator based on GTK and VTE
# URL: https://launchpad.net/sakura
# Paketçi: milisarge
# Gerekler: cmake vte3 xorg-libxft 
# Grup: 

isim=sakura
surum=3.6.0
devir=1
kaynak=(https://launchpad.net/sakura/trunk/3.6.0/+download/sakura-$surum.tar.bz2
		segfault.patch)

derle() {
  cd "$SRC/${isim}-${surum}"
  sed -i 's|#define DEFAULT_FONT "Bitstream Vera Sans Mono 14"|#define DEFAULT_FONT "Bitstream Vera Sans Mono 10"|g' src/sakura.c
  patch -Np0 -i ${SRC}/segfault.patch
  cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE . 
  make 
  make DESTDIR=${PKG} install 
  rm -rf ${PKG}/usr/share/doc
}
