# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=grilo
pkgver=0.3.4
pkgrel=0
pkgdesc="GNOME media discovery framework"
url="https://wiki.gnome.org/Projects/Grilo"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends="gnome-desktop-dev liboauth-dev gmime-dev libsoup-dev libxml2-dev totem-pl-parser-dev gobject-introspection-dev itstool libxslt libxml2-utils docbook-xml docbook-xsl $depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/grilo/0.3/grilo-$pkgver.tar.xz"
builddir="$srcdir/grilo-$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="d3800a1873364dc8b56748924eee71928f9e08ad82d8ee2ffaf265cca7e26476081e543f42f26db57c088b2b063f86244e6718116710fc39fdea623868992145  grilo-0.3.4.tar.xz"
