# Template file for 'libmateweather'
pkgname=libmateweather
version=1.26.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-locations-compression
 --with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool itstool glib-devel"
makedepends="gtk+3-devel libsoup-devel"
depends="dconf"
short_desc="Provides access to weather information from the Internet for MATE"
maintainer="skmpz <dem.procopiou@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://mate-desktop.org"
changelog="https://raw.githubusercontent.com/mate-desktop/libmateweather/master/NEWS"
distfiles="https://pub.mate-desktop.org/releases/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=a7fd9713099c88826fb67249771cd0cdb92ee9d4784068b1a165840b84607b15

libmateweather-devel_package() {
	short_desc+=" - development files"
	depends="${makedepends} ${sourcepkg}-${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
		vmove usr/share/gtk-doc
	}
}
