diff options
Diffstat (limited to 'repo/x11')
-rw-r--r-- | repo/x11/xclock.xibuild | 18 | ||||
-rw-r--r-- | repo/x11/xeyes.xibuild | 18 | ||||
-rw-r--r-- | repo/x11/xorg-xinit.xibuild | 18 | ||||
-rw-r--r-- | repo/x11/xterm.xibuild | 41 |
4 files changed, 95 insertions, 0 deletions
diff --git a/repo/x11/xclock.xibuild b/repo/x11/xclock.xibuild new file mode 100644 index 0000000..b7c1960 --- /dev/null +++ b/repo/x11/xclock.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libx11 libxmu libxaw libxrender libxft libxkbfile) + +DESC="X clock from X.Org" + +PKG_VER=1.0.9 +SOURCE=https://www.x.org/pub/individual/app/xclock-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xeyes.xibuild b/repo/x11/xeyes.xibuild new file mode 100644 index 0000000..cca8801 --- /dev/null +++ b/repo/x11/xeyes.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libx11 libxt libxext libxmu libxrender libxi) + +DESC="Eyes that follow the mouse, X demo" + +PKG_VER=1.2.0 +SOURCE=https://www.x.org/archive/individual/app/xeyes-$PKG_VER.tar.gz + +build () { + ./configure $XORG_CONFIG + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xorg-xinit.xibuild b/repo/x11/xorg-xinit.xibuild new file mode 100644 index 0000000..b4328b5 --- /dev/null +++ b/repo/x11/xorg-xinit.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(libx11 xorg-xauth xorg-xrdb xorg-xmodmap) + +DESC="X.Org initialisation program" + +PKG_VER=1.4.1 +SOURCE=https://www.x.org/pub/individual/app/xinit-$PKG_VER.tar.bz2 + +build () { + ./configure $XORG_CONFIG --with-xinitdir=/etc/X11/app-defaults && + make +} + +package () { + make DESTDIR=$PKG_DEST install +} diff --git a/repo/x11/xterm.xibuild b/repo/x11/xterm.xibuild new file mode 100644 index 0000000..d4df24e --- /dev/null +++ b/repo/x11/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 + + +} |