summaryrefslogtreecommitdiff
path: root/kbd/Pkgfile
blob: fc87e5556dc75701d7de9e5c8cb893772d66b98e (plain)
    1 # Description: Keytable files and keyboard utilities
    2 # URL:         ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/
    3 # Maintainer:  Per Lidén <per@fukt.bth.se>
    4 
    5 name=kbd
    6 version=1.12
    7 release=2
    8 source=(ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/$name-$version.tar.gz \
    9         kbd-1.12-alias.patch)
   10 
   11 build() {
   12     cd $name-$version
   13     patch -p1 < $SRC/kbd-1.12-alias.patch
   14     ./configure --prefix=/usr \
   15 		--mandir=/usr/man \
   16 		--datadir=/usr/share/kbd \
   17 		--disable-nls
   18     make
   19     make DESTDIR=$PKG install
   20     ln -sf default8x16.psfu.gz $PKG/usr/share/kbd/consolefonts/default.gz
   21     rm -rf $PKG/usr/share/kbd/keymaps/{ppc,mac,atari,amiga,sun} \
   22 	   $PKG/usr/bin/{psfxtable,resizecons,mapscrn,loadunimap} \
   23 	   $PKG/usr/bin/{psfaddtable,psfgettable,psfstriptable} \
   24 	   $PKG/usr/man/man1/{psfaddtable.1,psfgettable.1,psfstriptable.1,psfxtable.1} \
   25 	   $PKG/usr/man/man8/{loadunimap.8,mapscrn.8,resizecons.8}
   26     find $PKG/usr/share/kbd/ -name "README*" -exec rm {} \;
   27     chmod -R 0644 $PKG/usr/man/man?/*
   28 }

Generated by cgit