blob: 5da983045ce084536ec9ce42a387c014b2650ecd (
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="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
}
|