# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=libmateweather pkgver=1.22.0 pkgrel=0 pkgdesc="A library to access weather information from online services for numerous locations" url="https://github.com/mate-desktop/libmateweather" arch="all" license="GPL-2.0" depends="mate-common" makedepends="libsoup-dev libtool intltool gtk+3.0-dev libxml2-utils tzdata" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz install-sh.patch" builddir="$srcdir/$pkgname-$pkgver" build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --with-zoneinfo-dir make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="${pkgdir}" install } sha512sums="43371fc615dda2b9042633a63ac4c1fb0b1ea43b20c783e443b0f57e10ad8fddedbd593f03bd6c942729f0a9c80484266fe1ef900d128fa4b02f80d6a80ae9bd libmateweather-1.22.0.tar.xz c5b37c91f46ac09fe810cdc040c0cc8b3e457cf23f1fc8965a5e88105b441052772d3b46fd02d6ae35e91c1df81ff4618c9c61319e6ab7314e80243c72222147 install-sh.patch"