diff options
author | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
---|---|---|
committer | James Meyer <James.meyer@operamail.com> | 2008-10-02 03:19:12 (GMT) |
commit | 0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch) | |
tree | c0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/klibc-kbd/PKGBUILD | |
download | linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2 |
initial import
Diffstat (limited to 'abs/core-testing/klibc-kbd/PKGBUILD')
-rw-r--r-- | abs/core-testing/klibc-kbd/PKGBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/abs/core-testing/klibc-kbd/PKGBUILD b/abs/core-testing/klibc-kbd/PKGBUILD new file mode 100644 index 0000000..8c4e0db --- /dev/null +++ b/abs/core-testing/klibc-kbd/PKGBUILD @@ -0,0 +1,45 @@ +# $Id: PKGBUILD 1645 2008-05-14 12:09:34Z thomas $ +# Maintainer: Tobias Powalowski <tpowa@archlinux.org> + +pkgname=klibc-kbd +pkgver=1.15.20080312 +pkgrel=15 +pkgdesc="Keytable files and keyboard utilities" +arch=('i686' 'x86_64') +url="ftp://ftp.altlinux.org/pub/people/legion/kbd/" +license=('GPL') +groups=('base') +depends=('klibc' $(basename /lib/klibc-*.so .so) 'kbd') +source=(ftp://ftp.archlinux.org/other/kbd/kbd-$pkgver.tar.gz + #ftp://ftp.altlinux.org/pub/people/legion/kbd/kbd-${pkgver}.tar.gz + no-isatty.patch + no-exit.patch + keymap_install + keymap_hook) +md5sums=('709b087bb9d6c073bade70eda2da7770' + '53e9612ac5fc1b23601f793410742ed3' + '8c1bec330e8c98355502ac861561667d' + '735d7268f567deee4db3bed951a8303a' + '85457e44dfd7046224e87f0add8da4b2') + +build() { + cd ${startdir}/src + #cd ${startdir}/src/kbd-${pkgver} + patch -Np1 -i ../no-isatty.patch + patch -Np1 -i ../no-exit.patch + + aclocal + autoconf + automake --add-missing + ./configure --datadir=/share/kbd --enable-klibc + + cd src/ + make kbd_mode loadkeys setfont || return 1 + + install -D loadkeys ${startdir}/pkg/lib/initcpio/kbd/loadkeys + install -D kbd_mode ${startdir}/pkg/lib/initcpio/kbd/kbd_mode + install -D setfont ${startdir}/pkg/lib/initcpio/kbd/setfont + # install hook + install -Dm644 ${startdir}/src/keymap_hook ${startdir}/pkg/lib/initcpio/hooks/keymap + install -Dm644 ${startdir}/src/keymap_install ${startdir}/pkg/lib/initcpio/install/keymap +} |