summaryrefslogtreecommitdiff
path: root/repo/system/kbd.xibuild
blob: aca0429ada75cab61abf6cc8828ca9187ae94062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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"

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 
}