pkgname=telepathy-glib
pkgver=0.24.1
pkgrel=0
pkgdesc="GLib bindings for the Telepathy D-Bus protocol"
arch="all"
url="http://telepathy.freedesktop.org"
license="LGPL2.1"
depends="dbus-glib"
depends_dev="dbus-glib-dev gobject-introspection-dev"
makedepends="$depends_dev python2 diffutils libxslt"
source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
options="!check"

build() {
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--libexecdir=/usr/lib/telepathy \
		--enable-static=no
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}
sha512sums="2fed94f76a19d6069f671cdd45d2fd8a4b4ad27c4601aff66041ca205456be397c76a86f92cc9bf20fa4eb6d4c15a67ed8196644c143c37e945f382229a63335  telepathy-glib-0.24.1.tar.gz"
