# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=caribou
pkgver=0.4.21
pkgrel=1
pkgdesc="on screen keyboard implementation"
url="https://wiki.gnome.org/Projects/Caribou"
arch="all"
license="LGPL"
depends=""
depends_dev="gtk+2.0-dev gtk+3.0-dev py-gobject3-dev clutter-dev libxklavier-dev libgee-dev libxml2-dev"
makedepends="$depends_dev intltool itstool libxml2-utils libxslt py-gobject3"
install=""
subpackages="$pkgname-dev $pkgname-lang"
source="https://download.gnome.org/sources/caribou/${pkgver%.*}/caribou-$pkgver.tar.xz"
builddir="$srcdir/caribou-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="5fc0cf54a1cad50d41e659adbbb932b51d69d18951562f87497e99aaae17ac72b453b759dd7289ff8f68a79574dfce510b9de6bedc61408c14cb48b83eaf08da  caribou-0.4.21.tar.xz"
