void-packages/srcpkgs/libgweather/template

40 lines
1.2 KiB
Plaintext

# Template file for 'libgweather'
pkgname=libgweather
version=3.10.1
revision=1
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=ae8e785f6798b4fe4cf1461c57faf1c0625716ccb92ea927e091840a1205cfc7
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
}
}