# Contributor: Alan Lacerda # Maintainer: Alan Lacerda pkgname=libmateweather pkgver=1.21.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="http://pub.mate-desktop.org/releases/${pkgver%.*}/$pkgname-$pkgver.tar.xz" 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="dab6d10dcf6db51a7b321690066983e06b3e237842660125b0dc36b565a04e5910f0091826091e78a9c2634932a73bf45f4749c505fd42f407f4a5f921ed68c9 libmateweather-1.21.0.tar.xz"