aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/kbd.sh
diff options
context:
space:
mode:
authorWilliam Harrington <kb0iic@berzerkula.org>2021-04-06 14:09:59 -0500
committerWilliam Harrington <kb0iic@berzerkula.org>2021-04-06 14:09:59 -0500
commitaf28b78b8e659f995b39a5dde2ce2cef0da9fbe0 (patch)
treea80d4cfef7713f7aa26137c0da553358af4cd7b2 /chapter8/kbd.sh
parent783a4c48e04e81783848f0cb0f757f6a836d7f6e (diff)
Add chapter8 script commands.
Diffstat (limited to 'chapter8/kbd.sh')
-rw-r--r--chapter8/kbd.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/chapter8/kbd.sh b/chapter8/kbd.sh
index 7a693aa..81b369c 100644
--- a/chapter8/kbd.sh
+++ b/chapter8/kbd.sh
@@ -1,3 +1,15 @@
#!/bin/bash
+patch -Np1 -i ../kbd-"${VERSION}"-backspace-1.patch
+sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
+sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
+
+./configure --prefix=/usr --disable-vlock
+
+make
+
+make -j1 install
+
+mkdir -v /usr/share/doc/kbd-"${VERSION}"
+cp -R -v docs/doc/* /usr/share/doc/kbd-"${VERSION}"