void-packages/srcpkgs/libgweather/template

39 lines
1.2 KiB
Text

# Template file for 'libgweather'
pkgname=libgweather
version=3.10.0
revision=2
build_style=gnu-configure
configure_args="--disable-schemas-compile
--enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libxml2-devel libsoup-gnome-devel>=2.44 gtk+3-devel>=3.10 vala-devel gnome-icon-theme"
short_desc="GNOME Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=4feab6e5c6eb4df85e7d134982a18a6196e63bc8179cfe5a25fc727482c52996
long_desc="
libgweather is a library to access weather information from online
services for numerous locations."
libgweather-devel_package() {
depends="gdk-pixbuf-devel gtk+3-devel libxml2-devel
libsoup-devel>=2.44 ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gir-1.0
vmove usr/share/gtk-doc
vmove usr/share/vala
}
}
libgweather_package() {
depends="libsoup-gnome>=2.44 gnome-icon-theme"
pkg_install() {
vmove all
}
}