summaryrefslogtreecommitdiff
path: root/repo/apps/rxvt-unicode/rxvt-unicode.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
committerdavidovski <david@davidovski.xyz>2022-05-04 23:52:30 +0100
commit739c65c54cb0e957df5e9b76f93fb02554e5cac3 (patch)
tree09ddfa0a342f3ea9de136cb50abdd79821bf1b53 /repo/apps/rxvt-unicode/rxvt-unicode.xibuild
parent4c585ad54388285500fd18a6aaa516894e0f2c16 (diff)
moved everything to new file formatting
Diffstat (limited to 'repo/apps/rxvt-unicode/rxvt-unicode.xibuild')
-rw-r--r--repo/apps/rxvt-unicode/rxvt-unicode.xibuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/repo/apps/rxvt-unicode/rxvt-unicode.xibuild b/repo/apps/rxvt-unicode/rxvt-unicode.xibuild
new file mode 100644
index 0000000..ddae254
--- /dev/null
+++ b/repo/apps/rxvt-unicode/rxvt-unicode.xibuild
@@ -0,0 +1,68 @@
+#!/bin/sh
+
+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
+
+}