# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-weather pkgver=3.34.0 pkgrel=0 pkgdesc="GNOME Weather application" url="https://wiki.gnome.org/Apps/Weather" arch="noarch !s390x" # missing gjs license="GPL-2.0-only" makedepends="meson glib-dev gobject-introspection-dev gtk+3.0-dev gjs-dev geoclue-dev libgweather-dev" checkdepends="appstream-glib desktop-file-utils" subpackages="$pkgname-lang" source="https://download.gnome.org/sources/gnome-weather/${pkgver%.*}/gnome-weather-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="f8fd91deef1516b4a18a599415d54a04413a5771916a5c7105e22876e239fe22c325f2e3196f7bff23293893c85fe886fa3a8b4b380aecab62b5b02de58c7185 gnome-weather-3.34.0.tar.xz"