diff options
Diffstat (limited to 'repo/apps')
-rw-r--r-- | repo/apps/feh.xibuild | 21 | ||||
-rw-r--r-- | repo/apps/rxvt-unicode.xibuild | 69 | ||||
-rw-r--r-- | repo/apps/xterm.xibuild | 41 |
3 files changed, 131 insertions, 0 deletions
diff --git a/repo/apps/feh.xibuild b/repo/apps/feh.xibuild new file mode 100644 index 0000000..e33ad4f --- /dev/null +++ b/repo/apps/feh.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(make) +DEPS=(curl file imlib2 libexif libxinerama libpng) + +DESC="Fast and light imlib2-based image viewer" + +PKG_VER=3.8 +SOURCE=https://feh.finalrewind.org/feh-$PKG_VER.tar.bz2 + +prepare () { + sed -i "s:doc/feh:&-3.8:" config.mk +} + +build () { + make PREFIX=/usr +} + +package () { + make DESTDIR=$PKG_DEST PREFIX=/usr install +} diff --git a/repo/apps/rxvt-unicode.xibuild b/repo/apps/rxvt-unicode.xibuild new file mode 100644 index 0000000..ecf2df8 --- /dev/null +++ b/repo/apps/rxvt-unicode.xibuild @@ -0,0 +1,69 @@ +#!/bin/bash + +MAKEDEPS=(make ncurses) +DEPS=(libxft perl startup-notification libnsl libptytty) + +DESC="Unicode fork of rxvt terminal emulator" + +PKG_VER=9.30 +SOURCE=http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-$PKG_VER.tar.bz2 + + +build () { + export TERMINFO=/usr/share/terminfo + ./configure \ + --prefix=/usr \ + --enable-256-color \ + --enable-combining \ + --enable-fading \ + --enable-font-styles \ + --enable-iso14755 \ + --enable-keepscrolling \ + --enable-lastlog \ + --enable-mousewheel \ + --enable-next-scroll \ + --enable-perl \ + --enable-pointer-blank \ + --enable-rxvt-scroll \ + --enable-selectionscrolling \ + --enable-slipwheeling \ + --disable-smart-resize \ + --enable-startup-notification \ + --enable-transparency \ + --enable-unicode3 \ + --enable-utmp \ + --enable-wtmp \ + --enable-xft \ + --enable-xim \ + --enable-xterm-scroll \ + --disable-pixbuf \ + --with-terminfo \ + --disable-frills + make +} + +package () { + export TERMINFO="terminfo" + install -d "${TERMINFO}" + make DESTDIR=$PKG_DEST install + + install -dm 755 "$PKG_DEST/usr/share/applications" + cat > $PKG_DEST/usr/share/applications/urxvt.desktop << "EOF" +[Desktop Entry] +Encoding=UTF-8 +Name=Rxvt-Unicode Terminal +Comment=Use the command line +GenericName=Terminal +Exec=urxvt +Terminal=false +Type=Application +Icon=utilities-terminal +Categories=GTK;Utility;TerminalEmulator; +#StartupNotify=true +Keywords=console;command line;execute; +EOF + + install -dm 755 "${PKG_DEST}/usr/share/" + tic -o ${PKG_DEST}/usr/share/terminfo -s doc/etc/rxvt-unicode.terminfo + +} 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 + + +} |