# Template file for 'gnome-control-center' pkgname=gnome-control-center version=3.0.0.1 distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2" build_style=gnu_configure configure_args="--disable-schemas-install --disable-scrollkeeper --with-gconf-schema-file-dir=/usr/share/gconf/schemas --disable-cups --localstatedir=/var --disable-update-mimedb --disable-static" short_desc="GNOME control center" maintainer="Juan RP " checksum=9f3e95ba559d73cfe714d4dbc7ac70a342cfd9999d506552b79f9e61a171e1d9 long_desc=" This packages the control center for the GNOME desktop." gconf_schemas="$pkgname.schemas" gtk_iconcache_dirs="/usr/share/icons/hicolor" subpackages="$pkgname-devel" triggers="mimedb" Add_dependency run glibc Add_dependency run libxml2 Add_dependency run gnome-desktop Add_dependency run libX11 Add_dependency run gtk+3 Add_dependency run startup-notification Add_dependency run atk Add_dependency run glib Add_dependency run pango Add_dependency run cairo Add_dependency run freetype Add_dependency run fontconfig Add_dependency run gdk-pixbuf Add_dependency run libpng Add_dependency run upower Add_dependency run dbus-glib Add_dependency run dbus-libs Add_dependency run libXi Add_dependency run libgnomekbd Add_dependency run libxklavier Add_dependency run GConf Add_dependency run libgtop Add_dependency run libcanberra Add_dependency run libpulseaudio Add_dependency run polkit Add_dependency run gnome-menus Add_dependency run NetworkManager Add_dependency build pkg-config Add_dependency build intltool Add_dependency build gnome-doc-utils Add_dependency build libxml2-devel Add_dependency build gnome-desktop-devel Add_dependency build gtk+3-devel Add_dependency build startup-notification-devel Add_dependency build atk-devel Add_dependency build glib-devel Add_dependency build pango-devel Add_dependency build cairo-devel Add_dependency build freetype-devel Add_dependency build fontconfig-devel Add_dependency build gdk-pixbuf-devel Add_dependency build libpng-devel Add_dependency build upower-devel Add_dependency build dbus-glib-devel Add_dependency build dbus-devel Add_dependency build libXi-devel Add_dependency build libgnomekbd-devel Add_dependency build libxklavier-devel Add_dependency build GConf-devel Add_dependency build libgtop-devel Add_dependency build libcanberra-devel Add_dependency build pulseaudio-devel Add_dependency build polkit-devel Add_dependency build gnome-menus-devel Add_dependency build NetworkManager-devel Add_dependency full desktop-file-utils Add_dependency full hicolor-icon-theme post_install() { rm -f ${DESTDIR}//usr/share/applications/mimeinfo.cache mv ${DESTDIR}/usr/share/pkgconfig/* ${DESTDIR}/usr/lib/pkgconfig mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc} gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/${gconf_schemas} \ --domain ${pkgname}-2.0 ${wrksrc}/*.schemas }