talimat 958 B

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