# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=clutter-gtk
pkgver=1.8.4
pkgrel=0
pkgdesc="Gtk clutter embed library"
url="http://clutter-project.org/"
arch="all"
license="LGPL"
depends=""
depends_dev="gtk+3.0-dev clutter-dev"
makedepends="$depends_dev libxslt libxml2-utils itstool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/clutter-gtk/1.8/clutter-gtk-$pkgver.tar.xz"
builddir="$srcdir/clutter-gtk-$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="810f879a56cd71f1e9c4678ef704a997ee652d052cfea56b3ed9478f7a813a35dd2fdcded028ce17411ae02da52fa31e0fb8d1f4130c7b9f6d25eeb774b51ada  clutter-gtk-1.8.4.tar.xz"
