diff options
author | davidovski <david@davidovski.xyz> | 2022-02-21 21:39:04 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-02-21 21:39:04 +0000 |
commit | 1a229996c3bd26cc39e409fac83d29b3f5d5b17c (patch) | |
tree | d7c29fe19ed1d0cb01b89f3cbc47318740ebba63 /repo/apps/xterm.xibuild | |
parent | d360f4601f24febd6461b3163b2dd93401db67b0 (diff) |
added feh
Diffstat (limited to 'repo/apps/xterm.xibuild')
-rw-r--r-- | repo/apps/xterm.xibuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/repo/apps/xterm.xibuild b/repo/apps/xterm.xibuild new file mode 100644 index 0000000..d4df24e --- /dev/null +++ b/repo/apps/xterm.xibuild @@ -0,0 +1,41 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libxft libxaw ncurses luit xbitmaps libutempter libxkbfile) + +DESC="X Terminal Emulator" + +PKG_VER=370 +SOURCE=https://invisible-mirror.net/archives/xterm/xterm-$PKG_VER.tgz + +prepare () { + sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap && + printf '\tkbs=\\177,\n' >> terminfo && + + export TERMINFO=/usr/share/terminfo +} + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install + make DESTDIR=$PKG_DEST install-ti + + mkdir -pv $PKG_DEST/usr/share/applications && + cp -v *.desktop $PKG_DEST/usr/share/applications/ + + + mkdir -pv $PKG_DEST/etc/X11/app-defaults + cat >> $PKG_DEST/etc/X11/app-defaults/XTerm << "EOF" +*VT100*locale: true +*VT100*faceName: Monospace +*VT100*faceSize: 10 +*backarrowKeyIsErase: true +*ptyInitialErase: true +EOF + + +} |