CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
gcc: added plugins support
[ports/core-arm.git] / kbd / Pkgfile
1 # Description: Keytable files and keyboard utilities
2 # URL: ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on:
6
7 name=kbd
8 version=1.15.5
9 release=1
10 source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --prefix=/usr \
16 --mandir=/usr/man \
17 --datadir=/usr/share/kbd \
18 --disable-vlock \
19 --disable-nls
20 make
21 make DESTDIR=$PKG install
22
23 ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
24
25 rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun}
26 rm $PKG/usr/bin/{loadunimap,mapscrn,psf*table}
27 rm $PKG/usr/man/man8/{loadunimap,mapscrn,resizecons}.8
28 rm $PKG/usr/man/man1/psf*table.1
29 find $PKG/usr/share/kbd/ -type f -name "README*" -delete
30 }