diff options
author | root <root@rshg047.dnsready.net> | 2011-05-08 22:33:52 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-05-08 22:33:52 +0000 |
commit | 886d3d0994eb8e9f3e797155619619e0ef1353f8 (patch) | |
tree | aecae53a57082f8f3e4b72755149285659c1bee3 /testing/gnome-control-center | |
parent | fe6dc99352fe2b801d251e55b2b8baa71441908e (diff) |
Sun May 8 22:33:51 UTC 2011
Diffstat (limited to 'testing/gnome-control-center')
-rw-r--r-- | testing/gnome-control-center/PKGBUILD | 34 | ||||
-rw-r--r-- | testing/gnome-control-center/gnome-control-center.install | 19 |
2 files changed, 53 insertions, 0 deletions
diff --git a/testing/gnome-control-center/PKGBUILD b/testing/gnome-control-center/PKGBUILD new file mode 100644 index 000000000..1031b6b1d --- /dev/null +++ b/testing/gnome-control-center/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 122550 2011-05-04 14:36:21Z stephane $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=gnome-control-center +pkgver=3.0.1.1 +pkgrel=2 +pkgdesc="The Control Center for GNOME" +arch=('i686' 'x86_64') +depends=('gtk3' 'gsettings-desktop-schemas' 'gnome-menus' 'gnome-desktop' 'gnome-settings-daemon' 'upower' 'libgtop' 'cups-pk-helper' 'accountsservice' 'sound-theme-freedesktop' 'krb5') +optdepends=('mesa-demos: provides glxinfo for graphics information' + 'apg: adds password generation for user accounts') +makedepends=('gnome-doc-utils' 'intltool' 'networkmanager') +url="http://www.gnome.org" +groups=('gnome') +install=gnome-control-center.install +license=('GPL') +options=('!libtool' '!emptydirs') +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/3.0/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('b191991d3932b363154e6cf2b5055bc711272065397daee2163b6fb04402ad79') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var --disable-static \ + --disable-scrollkeeper --disable-update-mimedb + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make DESTDIR="${pkgdir}" install +} + diff --git a/testing/gnome-control-center/gnome-control-center.install b/testing/gnome-control-center/gnome-control-center.install new file mode 100644 index 000000000..eb703319f --- /dev/null +++ b/testing/gnome-control-center/gnome-control-center.install @@ -0,0 +1,19 @@ +pkgname=gnome-control-center + +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then + usr/sbin/gconfpkg --uninstall ${pkgname} + fi +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |