summaryrefslogtreecommitdiffstats
path: root/kbd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kbd/Pkgfile')
-rw-r--r--kbd/Pkgfile28
1 files changed, 16 insertions, 12 deletions
diff --git a/kbd/Pkgfile b/kbd/Pkgfile
index 8d96b35..6226018 100644
--- a/kbd/Pkgfile
+++ b/kbd/Pkgfile
@@ -1,6 +1,6 @@
description="Keytable files and keyboard utilities"
-packager=""
-maintainer="CRUX System Team, core-ports at crux dot nu"
+packager="CRUX System Team <core-ports AT crux DOT nu>"
+maintainer="Lukc <lukc AT upyum DOT com>"
url="ftp://ftp.win.tue.nl/pub/linux-local/utils/kbd/"
depends=()
@@ -10,14 +10,18 @@ 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
+ cd $name-$version;
+ ./configure \
+ --prefix=$prefix \
+ --mandir=$mandir \
+ --datadir=$sharedir/kbd \
+ $(use_enable nls);
+ make;
+ make DESTDIR=$PKG install;
+ ln -sf default8x16.psfu.gz $PKG$prefix/share/kbd/consolefonts/default.gz;
+ rm -r $PKG$prefix/share/kbd/keymaps/{ppc,mac,atari,amiga,sun};
+ rm $PKG$prefix/bin/{loadunimap,mapscrn,resizecons,psf*table};
+ rm $PKG$mandir/man8/{loadunimap,mapscrn,resizecons}.8;
+ rm $PKG$mandir/man1/psf*table.1;
+ find $PKG$prefix/share/kbd/ -type f -name "README*" -delete
}