# Maintainer: Natanael Copa pkgname=libxklavier pkgver=5.4 pkgrel=8 pkgdesc="High-level API for X Keyboard Extension" url="https://gswitchit.sourceforge.net/" arch="all" license="LGPL-2.0-or-later" subpackages="$pkgname-dev $pkgname-doc" depends="xkeyboard-config iso-codes" depends_dev="gettext-dev libxkbfile-dev" makedepends="$depends_dev glib-dev libxi-dev iso-codes-dev gobject-introspection-dev python3 libxml2-dev" source="https://people.freedesktop.org/~svu/libxklavier-$pkgver.tar.bz2" prepare() { update_config_sub default_prepare } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --with-xkb-base=/usr/share/X11/xkb \ --with-xkb-bin-base=/usr/bin \ --disable-static make } check() { make check } package() { make DESTDIR="$pkgdir" install } sha512sums="e9342d94f6cd67e900e44d9751ee0d8c75bec8e3a7b30989612bd71a5f890be52ff843465162dbbe0bfc9004da76e1d47158a4671b8f915e51c91f9d82f7baae libxklavier-5.4.tar.bz2"