# Maintainer: William Pitcock <nenolod@dereferenced.org>
setvar pkgname = 'gnome-online-accounts'
setvar pkgver = '3.26.0'
setvar pkgrel = '0'
setvar pkgdesc = ""client for GNOME web services""
setvar url = ""http://www.gnome.org/""
# limited by webkit2gtk
setvar arch = ""x86 x86_64 ppc64le aarch64""
setvar license = ""GPL""
setvar makedepends = ""gnome-desktop-dev libxslt itstool libxml2-utils 
	webkit2gtk-dev json-glib-dev rest-dev libsecret-dev 
	docbook-xsl docbook-xml""
setvar subpackages = ""$pkgname-dev $pkgname-doc $pkgname-lang""
setvar source = ""http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz""
setvar builddir = ""$srcdir/$pkgname-$pkgver""

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

proc check {
	cd $builddir
	make check
}

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

setvar sha512sums = ""ce11fe02e77c8000be869cefdc95d1a053fe1ae00150b15916492ad2a93f2f8884e50d0e8f7ca5331ab61e6757a7728cd88408d0239295e4338a415aabc4bca2  gnome-online-accounts-3.26.0.tar.xz""