kbd: new subpkg -common with keymap/console data.
This commit is contained in:
parent
94185db3cd
commit
755a859ae3
3 changed files with 26 additions and 4 deletions
1
srcpkgs/kbd-common
Symbolic link
1
srcpkgs/kbd-common
Symbolic link
|
@ -0,0 +1 @@
|
|||
kbd
|
15
srcpkgs/kbd/kbd-common.template
Normal file
15
srcpkgs/kbd/kbd-common.template
Normal file
|
@ -0,0 +1,15 @@
|
|||
# Template file for 'kbd-common'.
|
||||
#
|
||||
noarch=yes
|
||||
short_desc="${short_desc} -- development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the keymaps and console fonts."
|
||||
|
||||
replaces="kbd<1.15.3_6"
|
||||
|
||||
do_install() {
|
||||
for d in consolefonts consoletrans unimaps keymaps; do
|
||||
vmove usr/share/kbd/${d} usr/share/kbd
|
||||
done
|
||||
}
|
|
@ -1,9 +1,7 @@
|
|||
# Template file for 'kbd'
|
||||
pkgname=kbd
|
||||
version=1.15.3
|
||||
revision=5
|
||||
homepage="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
|
||||
distfiles="${KERNEL_SITE}/utils/kbd/kbd-$version.tar.bz2"
|
||||
revision=6
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --datadir=/usr/share/kbd
|
||||
--localedir=/usr/share/kbd/locale --mandir=/usr/share/man"
|
||||
|
@ -11,14 +9,22 @@ makedepends="flex"
|
|||
short_desc="Linux keyboard utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
homepage="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
|
||||
distfiles="http://ftp.cc.uoc.gr/mirrors/ftp.kernel.org/pub/linux/utils/kbd/kbd-${version}.tar.bz2"
|
||||
checksum=63fafacf72635a064a370d044b75d9134083a5c15629b0b0f2a27b49bc07bbcf
|
||||
long_desc="
|
||||
This package allows you to set up the Linux console, change the font,
|
||||
resize text mode virtual consoles and remap the keyboard."
|
||||
|
||||
depends="kbd-common"
|
||||
subpackages="kbd-common"
|
||||
|
||||
post_install() {
|
||||
# Remove olpc keymaps, they conflict with qwerty ones!
|
||||
# and who in earth uses olpc anyway??
|
||||
rm -rf ${DESTDIR}/usr/share/kbd/keymaps/i386/olpc
|
||||
# Remove keymaps for sun, amiga and atari.
|
||||
for f in sun amiga atari; do
|
||||
rm -rf ${DESTDIR}/usr/share/kbd/keymaps/${f}
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue