aboutsummaryrefslogtreecommitdiffstats
path: root/community/sxmo-st/APKBUILD
diff options
context:
space:
mode:
authorAnjandev Momi <anjan@momi.ca>2021-06-03 02:27:30 +0000
committerAriadne Conill <ariadne@dereferenced.org>2021-06-03 04:00:20 +0000
commit2e649ff37d313915b77930c0bfd67a67afec9de6 (patch)
tree8855786ce6798789a8acf1111eef7dc8cbdb727c /community/sxmo-st/APKBUILD
parentc5dd29dc85dfc223acac82309268911934470263 (diff)
downloadaports-2e649ff37d313915b77930c0bfd67a67afec9de6.tar.gz
aports-2e649ff37d313915b77930c0bfd67a67afec9de6.tar.bz2
aports-2e649ff37d313915b77930c0bfd67a67afec9de6.tar.xz
community/sxmo-st: move from testing
Diffstat (limited to 'community/sxmo-st/APKBUILD')
-rw-r--r--community/sxmo-st/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/sxmo-st/APKBUILD b/community/sxmo-st/APKBUILD
new file mode 100644
index 0000000000..52dde98e7b
--- /dev/null
+++ b/community/sxmo-st/APKBUILD
@@ -0,0 +1,41 @@
+# Maintainer: Anjandev Momi <anjan@momi.ca>
+pkgname=sxmo-st
+pkgver=0.8.3.4
+pkgrel=0
+pkgdesc="St fork for Sxmo UI; supports scrollback, invert, and other patches"
+url="https://git.sr.ht/~mil/sxmo-st"
+arch="all"
+license="MIT"
+depends="ncurses-terminfo"
+makedepends="fontconfig-dev freetype-dev libx11-dev libxext-dev libxft-dev"
+subpackages="$pkgname-dbg $pkgname-doc"
+provides="st"
+source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~mil/sxmo-st/archive/$pkgver.tar.gz"
+options="!check" # has no tests
+
+prepare() {
+ default_prepare
+ sed -i '/tic/d' Makefile
+}
+
+build() {
+ make -C "$builddir"
+}
+
+package() {
+ make install PREFIX=/usr DESTDIR="$pkgdir"
+ mkdir -p "$pkgdir"/usr/share/applications
+
+ cat > "$pkgdir"/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
+}
+
+sha512sums="a4cb72680e070d1703c4359618fa7ed36d5460496ab1320025f89809d7fa5387a6f9aae1e1143b261e57ea5f49d9b71bb68dad7653538b0238d2e50259029190 sxmo-st-0.8.3.4.tar.gz"