# Contributor: Rasmus Thomsen # Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=libgweather pkgver=3.34.0 pkgrel=0 pkgdesc="GNOME weather library" url="https://wiki.gnome.org/Projects/LibGWeather" arch="all" license="LGPL-2.1-or-later" depends="tzdata gsettings-desktop-schemas" makedepends="gtk+3.0-dev libsoup-dev libxml2-dev vala 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" source="https://download.gnome.org/sources/libgweather/${pkgver%.*}/libgweather-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --buildtype=release \ --sysconfdir=/etc \ --buildtype=release \ -Dgtk_doc=true \ -Denable_vala=true \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="44451837039965251d86f6f538c943a771ab1944d9190ddb2c6bdb34b3ed0e33756c537e84f24487fd5f28b107e8d3af05a6c20a68f83734ac26ff69a8bd0aba libgweather-3.34.0.tar.xz"