summaryrefslogtreecommitdiff
path: root/repo/system/kbd.xibuild
blob: 5892d90c62e18fa396f62a5926fe460f28c41c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash

DEPS=(glibc pam)

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 () {
    
    # remove redundant resizecons program
    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 DESTDIR=$PKG_DEST install 
}