# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=totem-pl-parser
pkgver=3.10.7
pkgrel=0
pkgdesc="GNOME playlist parser library"
url="http://www.gnome.org/"
arch="all"
license="LGPL"
depends=""
depends_dev=""
makedepends="gnome-desktop-dev libsoup-dev libxml2-dev json-glib-dev gmime-dev libxml2-utils libxslt itstool $depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/totem-pl-parser/3.10/totem-pl-parser-$pkgver.tar.xz"
builddir="$srcdir/totem-pl-parser-$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="681ebd61680a4aab3fc4d1d1d158d1d938c0a015f25464169862e0fa3b108af0d0392151a0f4661aa0edafdd7f83ea7f3296dfd01cabdcf3bcac36be488e764e  totem-pl-parser-3.10.7.tar.xz"
