# Contributor: Síle Ekaterin Liszka # Maintainer: Síle Ekaterin Liszka pkgname=libgweather pkgver=4.4.0 pkgrel=0 pkgdesc="Gnome weather library" url="https://gnome.pages.gitlab.gnome.org/libgweather/" arch="all" options="!check" # broken tests license="GPL-2.0-only AND LGPL-2.1-only AND LGPL-2.0-only AND BSD-3-Clause" depends="" makedepends="meson ninja geocode-glib-dev gi-docgen glib-dev gobject-introspection-dev json-glib-dev libsoup3-dev libxml2-dev py3-pygobject vala-dev" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz" build() { meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ --wrap-mode=nofallback \ . output meson compile -C output } check() { meson test --no-rebuild -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums="dd232d36b168132a7c7cf06ffff16e88eb6e3e9e003e39b975df3d294ada401ab7d34de386dcc53452de6b0f8c68ff7f0cf6a94492e353828e00d4a1204b5d00 libgweather-4.4.0.tar.xz"