# Maintainer: Natanael Copa pkgname=libxklavier pkgver=5.0 pkgrel=4 pkgdesc="High-level API for X Keyboard Extension" url="http://gswitchit.sourceforge.net" license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends="xkeyboard-config iso-codes" makedepends="pkgconfig libxkbfile-dev libxml2-dev glib-dev libxi-dev iso-codes gettext-dev libiconv-dev" source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2" depends_dev="libxml2-dev glib-dev gettext-dev libxkbfile-dev" build () { cd "$srcdir"/$pkgname-$pkgver ./configure --prefix=/usr \ --with-xkb-base=/usr/share/X11/xkb \ --disable-static || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 } md5sums="134c7ea177ff901123b909de77394780 libxklavier-5.0.tar.bz2"