# Template file for 'gnome-applets'
pkgname=gnome-applets
version=3.5.92
revision=1
build_style=gnu-configure
configure_args="--disable-scrollkeeper --disable-schemas-install
--with-gconf-schema-file-dir=/usr/share/gconf/schemas --without-hal"
depends="hicolor-icon-theme desktop-file-utils pygtk"
makedepends="which pkg-config intltool itstool gnome-doc-utils
gtk+3-devel>=3.6.0_2 GConf-devel gnome-panel-devel>=3.6.0 libgtop-devel
libwnck-devel gnome-settings-daemon-devel>=3.6.0 polkit-devel
gucharmap-devel pygtk-devel libxml2-devel dbus-glib-devel
libgweather-devel>=3.6.0 NetworkManager-devel libcpufreq-devel
libnotify-devel gsettings-desktop-schemas-devel>=3.6.0"
fulldepends="gsettings-desktop-schemas>=3.6.0 gnome-icon-theme"
short_desc="GNOME panel applets"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnome.org"
license="GPL-2"
distfiles="${GNOME_SITE}/$pkgname/3.5/$pkgname-$version.tar.xz"
checksum=f6178cb702a39a4103fcb97e9a266bf6d05f05ac5064818f119c023d76170e83
long_desc="
 This package contains $short_desc."

gtk_iconcache_dirs="/usr/share/icons/hicolor"
gconf_schemas="${pkgname}.schemas"

post_install() {
	mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
	gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \
		--domain ${pkgname} ${wrksrc}/*.schemas
}
