summaryrefslogtreecommitdiff
path: root/repo/system/kbd.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 15:02:47 +0000
commit003727289cc45e29eff0c0c48ad0f9660f96644f (patch)
tree0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/kbd.xibuild
parentd2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff)
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/kbd.xibuild')
-rw-r--r--repo/system/kbd.xibuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/system/kbd.xibuild b/repo/system/kbd.xibuild
index 5892d90..8136769 100644
--- a/repo/system/kbd.xibuild
+++ b/repo/system/kbd.xibuild
@@ -6,13 +6,17 @@ PKG_VER=2.4.0
SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$PKG_VER.tar.xz
DESC="Keytable files and keyboard utilities"
-build () {
-
+patch () {
# remove redundant resizecons program
sed -i '/RESIZECONS_PROGS=/s/yes/no/' configure
sed -i 's/resizecons.8 //' docs/man/man8/Makefile.in
+}
+build () {
./configure --prefix=/usr --disable-vlock
make
+}
+
+package () {
make DESTDIR=$PKG_DEST install
}