summaryrefslogtreecommitdiff
path: root/repo/st/st.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
committerdavidovski <david@davidovski.xyz>2022-06-04 15:08:04 +0100
commit873665024ebfaa761ee49b508a79db7178aeb778 (patch)
tree6cd3b4ce3a9f4b0586ffa48e73a6ba4c8da2db43 /repo/st/st.xibuild
parent4445f6e15185f58dc599390ab74df3ca19b437b7 (diff)
added gnupg
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
+}
+