talimat 960 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Tanım: X Pencere Sistemi icin terminal emulatoru
  2. # URL: http://invisible-island.net/xorg-term/
  3. # Paketçi: milisarge
  4. # Gerekler: xorg-app xorg-fontconfig xorg-libxft
  5. # Grup: sistem
  6. _isim=xterm
  7. isim=xorg-term
  8. surum=322
  9. devir=1
  10. kaynak=(ftp://invisible-island.net/${_isim}/${_isim}-$surum.tgz
  11. $isim.list)
  12. derle() {
  13. cd ${_isim}-*
  14. sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
  15. printf '\tkbs=\\177,\n' >> terminfo
  16. TERMINFO=/usr/share/terminfo \
  17. ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  18. --with-app-defaults=/etc/X11/app-defaults
  19. make
  20. make DESTDIR=$PKG install
  21. make DESTDIR=$PKG install-ti
  22. cat >> $PKG/etc/X11/app-defaults/XTerm << "EOF"
  23. *VT100*locale: true
  24. *VT100*faceName: Monospace
  25. *VT100*faceSize: 10
  26. *backarrowKeyIsErase: true
  27. *ptyInitialErase: true
  28. EOF
  29. install -m755 -d $PKG/usr/share/applications
  30. install -m644 {xterm,uxterm}.desktop $PKG/usr/share/applications/
  31. for file in `cat $SRC/$isim.list`
  32. do
  33. rm $PKG/$file
  34. done
  35. }