summaryrefslogtreecommitdiff
path: root/repo/kbd/kbd.xibuild
blob: daa467f7ae9759d5e16a1e5651899897458f44e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

MAKEDEPS="make "
DEPS="musl pam"

PKG_VER=2.5.1
SOURCE=https://mirrors.edge.kernel.org/pub/linux/utils/kbd/kbd-$PKG_VER.tar.xz
DESC="Keytable files and keyboard utilities"

prepare () {
    # 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 
}