void-packages/srcpkgs/libmateweather/template

34 lines
1.1 KiB
Bash

# Template file for 'libmateweather'
pkgname=libmateweather
version=1.28.0
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-locations-compression
--with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config itstool glib-devel gettext automake
mate-common autoconf-archive"
makedepends="gtk+3-devel libxml2-devel libglib-devel libsoup3-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%.*}/libmateweather-${version}.tar.xz"
checksum=554373deb5b393b9d84b275dd2ca66c9a4a2d0e6ec92044fab8aa53e3032d2b5
pre_configure() {
autoreconf -fi
}
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
}
}