2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: X Pencere Sistemi icin terminal emulatoru
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://invisible-island.net/xorg-term/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: xorg-app xorg-fontconfig xorg-libxft
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
_isim=xterm
|
|
|
|
|
isim=xorg-term
|
|
|
|
|
surum=322
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(ftp://invisible-island.net/${_name}/${_name}-$surum.tgz
|
|
|
|
|
$isim.list)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
cd ${_name}-*
|
|
|
|
|
|
|
|
|
|
sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
|
|
|
|
|
printf '\tkbs=\\177,\n' >> terminfo
|
|
|
|
|
|
|
|
|
|
TERMINFO=/usr/share/terminfo \
|
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
|
|
|
--with-app-defaults=/etc/X11/app-defaults
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
make DESTDIR=$PKG install-ti
|
|
|
|
|
|
|
|
|
|
cat >> $PKG/etc/X11/app-defaults/XTerm << "EOF"
|
|
|
|
|
*VT100*locale: true
|
|
|
|
|
*VT100*faceName: Monospace
|
|
|
|
|
*VT100*faceSize: 10
|
|
|
|
|
*backarrowKeyIsErase: true
|
|
|
|
|
*ptyInitialErase: true
|
|
|
|
|
EOF
|
|
|
|
|
install -m755 -d $PKG/usr/share/applications
|
|
|
|
|
install -m644 {xterm,uxterm}.desktop $PKG/usr/share/applications/
|
2017-10-28 14:10:23 +02:00
|
|
|
|
for file in `cat $SRC/$isim.list`
|
2016-02-24 01:27:23 +01:00
|
|
|
|
do
|
|
|
|
|
rm $PKG/$file
|
|
|
|
|
done
|
|
|
|
|
}
|