summaryrefslogtreecommitdiffstats
path: root/kbd/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-02-22 22:13:24 +0000
committerpiernov <piernov@piernov.org>2012-02-22 22:13:24 +0000
commit8a2cbb57c6b10d020cdc9fdd9a4006752dd216c8 (patch)
tree6ff88fb6abe6f42277dfb1283306a8c0d3d48c19 /kbd/Pkgfile
parent41dcb106cdf6b60d77aff89cbab5f9dc32675354 (diff)
downloadnutyx-pakxe-8a2cbb57c6b10d020cdc9fdd9a4006752dd216c8.tar.gz
nutyx-pakxe-8a2cbb57c6b10d020cdc9fdd9a4006752dd216c8.tar.bz2
nutyx-pakxe-8a2cbb57c6b10d020cdc9fdd9a4006752dd216c8.tar.xz
nutyx-pakxe-8a2cbb57c6b10d020cdc9fdd9a4006752dd216c8.zip
kbd 1.15.3-1 màj port
Diffstat (limited to 'kbd/Pkgfile')
-rwxr-xr-xkbd/Pkgfile28
1 files changed, 15 insertions, 13 deletions
diff --git a/kbd/Pkgfile b/kbd/Pkgfile
index dbe847f12..8de954bf3 100755
--- a/kbd/Pkgfile
+++ b/kbd/Pkgfile
@@ -4,19 +4,21 @@
# Packager: thierryn1 at hispeed dot ch
name=kbd
-version=1.15.2
+version=1.15.3
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 \
- )
+source=(http://ftp.altlinux.com/pub/people/legion/kbd/kbd-$version.tar.gz
+ http://www.linuxfromscratch.org/patches/lfs/development/kbd-1.15.2-backspace-1.patch
+ fix-es-translation.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/
+ cd $name-$version
+ patch -p1 < ../fix-es-translation.patch
+ patch -Np1 -i ../kbd-1.15.2-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/
}