talimat 631 B

12345678910111213141516171819202122
  1. # Tanım: A terminal emulator based on GTK and VTE
  2. # URL: https://launchpad.net/sakura
  3. # Paketçi: milisarge
  4. # Gerekler: cmake vte3 xorg-libxft
  5. # Grup:
  6. isim=sakura
  7. surum=3.6.0
  8. devir=1
  9. kaynak=(https://launchpad.net/sakura/trunk/3.6.0/+download/sakura-$surum.tar.bz2
  10. segfault.patch)
  11. derle() {
  12. cd "$SRC/${isim}-${surum}"
  13. sed -i 's|#define DEFAULT_FONT "Bitstream Vera Sans Mono 14"|#define DEFAULT_FONT "Bitstream Vera Sans Mono 10"|g' src/sakura.c
  14. patch -Np0 -i ${SRC}/segfault.patch
  15. cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RELEASE .
  16. make
  17. make DESTDIR=${PKG} install
  18. rm -rf ${PKG}/usr/share/doc
  19. }