summaryrefslogtreecommitdiffstats
path: root/xorg-xterm/Pkgfile
blob: 10a0c9346c268ae5828e50a61e0b73255b61f0c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Description: Emulateur de terminal X
# URL: http://invisible-island.net/xterm/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: xorg-server
# Run on: expat,fontconfig,freetype,xorg-libice,xorg-libsm,xorg-libx11,xorg-libxau,xorg-libxaw,xorg-libxcb,xorg-libxdmcp,xorg-libxext,xorg-libxft,xorg-libxmu,xorg-libxpm,xorg-libxrender,xorg-libxt

name=xorg-xterm
version=276
release=1
source=(ftp://invisible-island.net/xterm/xterm-$version.tgz)

build() {
	cd xterm-$version
	sed -i '/v0/,+1s/new:/new:kb=^?:/' termcap
	echo -e '\tkbs=\\177,' >>terminfo 
	TERMINFO=/usr/lib/terminfo ./configure $XORG_CONFIG \
	--enable-luit \
	--enable-wide-chars \
	--with-app-defaults=$XORG_PREFIX/share/X11/app-defaults
	make
	make DESTDIR=$PKG install
	make DESTDIR=$PKG install-ti
cat >> $PKG/$XORG_PREFIX/share/X11/app-defaults/XTerm << "EOF"
*VT100*locale: true
*VT100*faceName: Monospace
*VT100*faceSize: 10
*backarrowKeyIsErase: true
*ptyInitialErase: true
EOF
}