From b76b9e904afff3c93685569cb5f523888354e146 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Mon, 11 Feb 2013 13:42:18 +0100
Subject: [PATCH] kbd: remove long_desc; cross build support.

---
 srcpkgs/kbd/template | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/kbd/template b/srcpkgs/kbd/template
index 7b6246b476..7cd83f30ce 100644
--- a/srcpkgs/kbd/template
+++ b/srcpkgs/kbd/template
@@ -1,22 +1,18 @@
 # Template file for 'kbd'
 pkgname=kbd
 version=1.15.5
-revision=1
-build_style=configure
-configure_args="--prefix=/usr --datadir=/usr/share/kbd
- --localedir=/usr/share/kbd/locale --mandir=/usr/share/man"
+revision=2
+build_style=gnu-configure
+configure_args="--datadir=/usr/share/kbd --localedir=/usr/share/kbd/locale"
 makedepends="flex pam-devel"
+crossmakedepends="libfl-devel pam-devel"
+replaces="kbd-common<1.15.5"
 short_desc="Linux keyboard utilities"
 maintainer="Juan RP <xtraeme@gmail.com>"
 license="GPL-2"
 homepage="ftp://ftp.altlinux.org/pub/people/legion/kbd/"
 distfiles="${homepage}/kbd-${version}.tar.gz"
 checksum=e35fa29f690dbbfb721706b2c8edc760c697640904fec65e81194ae8840c5c62
-long_desc="
- This package allows you to set up the Linux console, change the font,
- resize text mode virtual consoles and remap the keyboard."
-
-replaces="kbd-common<1.15.5"
 
 pre_configure() {
 	# Rename keymap files with the same names