aboutsummaryrefslogtreecommitdiff
path: root/repos/xorg/xterm/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:15:54 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2024-06-29 23:15:54 +0800
commitae4593e20cef97c7323d522b40994a59425cd6d5 (patch)
tree7b3e8750bbbfa32e917869e325027108ee59ee85 /repos/xorg/xterm/abuild
parentb5aa76f45da627817380276080b2b8bba6e74f68 (diff)
downloadalicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.tar.gz
alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.zip
added xorg repo
Diffstat (limited to 'repos/xorg/xterm/abuild')
-rw-r--r--repos/xorg/xterm/abuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repos/xorg/xterm/abuild b/repos/xorg/xterm/abuild
new file mode 100644
index 00000000..bb99ad93
--- /dev/null
+++ b/repos/xorg/xterm/abuild
@@ -0,0 +1,17 @@
+name=xterm
+version=390
+release=1
+source="https://invisible-mirror.net/archives/$name/$name-$version.tgz
+ posix-ptys.patch"
+export TERMINFO=/usr/share/terminfo
+build_opt="--with-app-defaults=/usr/share/X11/app-defaults --enable-freetype --enable-wide-chars --with-x"
+
+prebuild() {
+ sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap
+ printf '\tkbs=\\177,\n' >> terminfo
+}
+
+postbuild() {
+ # exist in busybox
+ rm $PKG/usr/bin/resize
+}