void-packages/srcpkgs/libgweather/template

38 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'libgweather'
pkgname=libgweather
2012-03-21 08:23:33 +00:00
version=3.4.1
2011-10-24 20:17:52 +00:00
homepage="http://www.gnome.org/"
2012-03-21 08:23:33 +00:00
distfiles="${GNOME_SITE}/$pkgname/3.4/$pkgname-$version.tar.xz"
build_style=gnu-configure
configure_args="--disable-schemas-install
--with-gconf-schema-file-dir=/usr/share/gconf/schemas
--enable-locations-compression --with-zoneinfo-dir=/usr/share/zoneinfo"
short_desc="Weather information access library"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-24 20:17:52 +00:00
license="LGPL-2.1"
2012-03-21 08:23:33 +00:00
checksum=ee9c4d09f33ae2b066dd1e696aa3e483a689cba6d63bcd388cc2ef95df9b1b60
long_desc="
libgweather is a library to access weather information from online
services for numerous locations."
gconf_schemas="gweather.schemas"
gtk_iconcache_dirs="/usr/share/icons/gnome"
subpackages="$pkgname-devel"
Add_dependency full gnome-icon-theme
Add_dependency build pkg-config
Add_dependency build intltool
Add_dependency build libxml2-devel
Add_dependency build gtk+3-devel
Add_dependency build libsoup-devel
Add_dependency build libsoup-gnome-devel
Add_dependency build GConf-devel
2012-03-21 08:23:33 +00:00
Add_dependency build gobject-introspection
2012-03-21 08:23:33 +00:00
post_install() {
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \
--domain ${pkgname}-3.0 ${wrksrc}/*.schemas
}