summaryrefslogtreecommitdiff
path: root/repo/st/st.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/st/st.xibuild')
-rw-r--r--repo/st/st.xibuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/repo/st/st.xibuild b/repo/st/st.xibuild
new file mode 100644
index 0000000..3fa49a7
--- /dev/null
+++ b/repo/st/st.xibuild
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+NAME="st"
+DESC="Simple terminal emulator for X"
+
+MAKEDEPS="fontconfig freetype libx11 libxext libxft"
+
+PKG_VER=0.8.5
+SOURCE="https://dl.suckless.org/st/st-$PKG_VER.tar.gz"
+
+prepare() {
+ default_prepare
+ sed -i '/tic/d' Makefile
+}
+
+build() {
+ make
+}
+
+package() {
+ make install PREFIX=/usr DESTDIR="$PKG_DEST"
+ mkdir -p "$PKG_DEST"/usr/share/applications
+
+ cat > "$PKG_DEST"/usr/share/applications/st.desktop <<-EOF
+ [Desktop Entry]
+ Name=st
+ Comment=st is a simple virtual terminal emulator for X which sucks less
+ Exec=st
+ Terminal=false
+ Type=Application
+ Icon=gnome-xterm
+ Categories=System;TerminalEmulator;
+ EOF
+}
+