summaryrefslogtreecommitdiffstats
path: root/kbd/Pkgfile
blob: 8d96b350164c1d2f6c5a4ce121bdeb06b1ba463f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
description="Keytable files and keyboard utilities"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/"
depends=()

name=kbd
version=1.15.2
release=1
source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-1.15.2.tar.gz)
build () 
{ 
    cd $name-$version;
    ./configure --prefix=/usr --mandir=/usr/man --datadir=/usr/share/kbd --disable-nls;
    make;
    make DESTDIR=$PKG install;
    ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz;
    rm -r $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun};
    rm $PKG/usr/bin/{loadunimap,mapscrn,resizecons,psf*table};
    rm $PKG/usr/man/man8/{loadunimap,mapscrn,resizecons}.8;
    rm $PKG/usr/man/man1/psf*table.1;
    find $PKG/usr/share/kbd/ -type f -name "README*" -delete
}