summaryrefslogtreecommitdiffstats
path: root/kbd
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-21 10:17:01 +0100
committerLukc <lukc@upyum.com>2010-12-21 10:17:01 +0100
commitadbfca3f1c6cb484fd60e86f1128f10d403f82de (patch)
treee63e2685e02540d246c17e2f9173ecf77461e44f /kbd
parent9297001520e52030027142e2c2eb9982aa17e1e5 (diff)
downloadbase-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.gz
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.bz2
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.tar.xz
base-adbfca3f1c6cb484fd60e86f1128f10d403f82de.zip
Recette de kbd mise à jour.
Diffstat (limited to 'kbd')
-rw-r--r--kbd/Pkgfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/kbd/Pkgfile b/kbd/Pkgfile
index 6226018..d940e17 100644
--- a/kbd/Pkgfile
+++ b/kbd/Pkgfile
@@ -1,4 +1,4 @@
-description="Keytable files and keyboard utilities"
+description="Keytable files and keyboard utilities."
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/"
@@ -7,11 +7,13 @@ depends=()
name=kbd
version=1.15.2
release=1
-source=(ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-1.15.2.tar.gz)
+source=(ftp://ftp.altlinux.org/pub/people/legion/$name/$name-$version.tar.gz)
build ()
{
cd $name-$version;
./configure \
+ ${CHOST:+--build=${CHOST}} \
+ ${CTARGET:+--host=${CTARGET}} \
--prefix=$prefix \
--mandir=$mandir \
--datadir=$sharedir/kbd \
@@ -19,9 +21,9 @@ build ()
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;
+ rm -f -r $PKG$prefix/share/kbd/keymaps/{ppc,mac,atari,amiga,sun};
+ rm -f $PKG$prefix/bin/{loadunimap,mapscrn,resizecons,psf*table};
+ rm -f $PKG$mandir/man8/{loadunimap,mapscrn,resizecons}.8;
+ rm -f $PKG$mandir/man1/psf*table.1;
find $PKG$prefix/share/kbd/ -type f -name "README*" -delete
}