summaryrefslogtreecommitdiffstats
path: root/kbd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kbd/Pkgfile')
-rwxr-xr-xkbd/Pkgfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/kbd/Pkgfile b/kbd/Pkgfile
new file mode 100755
index 000000000..dbe847f12
--- /dev/null
+++ b/kbd/Pkgfile
@@ -0,0 +1,22 @@
+# Description: Contient table des touches clavier et utilitaire pour clavier
+# URL: ftp://devel.altlinux.org/legion/kbd/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=kbd
+version=1.15.2
+release=1
+source=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$version.tar.gz \
+http://www.linuxfromscratch.org/patches/lfs/development/kbd-$version-backspace-1.patch \
+ )
+build() {
+cd $name-$version
+patch -Np1 -i ../kbd-$version-backspace-1.patch
+./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --datadir=/lib/kbd
+make
+make DESTDIR=$PKG install
+mkdir -p $PKG/bin
+mv -v $PKG/usr/bin/{kbd_mode,openvt,setfont} $PKG/bin/
+}