From adbfca3f1c6cb484fd60e86f1128f10d403f82de Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 10:17:01 +0100 Subject: Recette de kbd mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kbd/Pkgfile | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'kbd/Pkgfile') 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 " maintainer="Lukc " 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 } -- cgit v1.2.3-70-g09d2