# Contributor: Natanael Copa # Maintainer: Rasmus Thomsen pkgname=libgweather pkgver=3.32.2 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="61543e5eaf8c04605a91a6f47811b3a0ed2b04c2f50eae9b8d08a4e24904db4731748fa27a0863d2cdab5fde776ec55abe9fd9fb2a72c7bd546665d59957cb4d libgweather-3.32.2.tar.xz"