# Contributor: William Pitcock # Maintainer: Natanael Copa pkgname=libgweather pkgver=3.28.2 pkgrel=0 pkgdesc="GNOME weather library" url="https://www.gnome.org/" arch="all" license="LGPL" depends="tzdata" makedepends="gtk+3.0-dev libsoup-dev libxml2-dev glib-dev geocode-glib-dev gobject-introspection-dev libxml2-utils gtk-doc py-six glade-dev meson ninja" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" checkdepends="gsettings-desktop-schemas" source="https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" builddir="${srcdir}/${pkgname}-${pkgver}" build() { mkdir -p "$builddir"/build cd "$builddir"/build meson \ --prefix=/usr \ --buildtype=release \ --sysconfdir=/etc \ -Dgtk_doc=true \ .. ninja } check() { cd "$builddir"/build ninja test } package() { cd "$builddir"/build export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir" ninja install } sha512sums="b92716f5f7d7789e12f8fd66ad23de35e921d493ebf4618f68cc669e1b9be8ae6fbb929ee9a027fefe0ad9550f0d39c8647aa0d7ad7e35f1980bee8c9de19b4e libgweather-3.28.2.tar.xz"