[arch-commits] Commit in gnome-control-center/repos (4 files)

Ionut Biru ibiru at archlinux.org
Wed Sep 28 19:30:18 UTC 2011


    Date: Wednesday, September 28, 2011 @ 15:30:18
  Author: ibiru
Revision: 138910

db-move: moved gnome-control-center from [gnome-unstable] to [testing] (i686)

Added:
  gnome-control-center/repos/testing-i686/
  gnome-control-center/repos/testing-i686/PKGBUILD
    (from rev 138832, gnome-control-center/repos/gnome-unstable-i686/PKGBUILD)
  gnome-control-center/repos/testing-i686/gnome-control-center.install
    (from rev 138832, gnome-control-center/repos/gnome-unstable-i686/gnome-control-center.install)
Deleted:
  gnome-control-center/repos/gnome-unstable-i686/

------------------------------+
 PKGBUILD                     |   37 +++++++++++++++++++++++++++++++++++++
 gnome-control-center.install |   19 +++++++++++++++++++
 2 files changed, 56 insertions(+)

Copied: gnome-control-center/repos/testing-i686/PKGBUILD (from rev 138832, gnome-control-center/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-09-28 19:30:18 UTC (rev 138910)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-control-center
+pkgver=3.2.0
+pkgrel=1
+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' 'gnome-online-accounts' 'network-manager-applet')
+optdepends=('mesa-demos: provides glxinfo for graphics information'
+            'apg: adds password generation for user accounts')
+makedepends=('gnome-doc-utils' 'intltool')
+url="http://www.gnome.org"
+groups=('gnome')
+install=gnome-control-center.install
+license=('GPL')
+options=('!libtool' '!emptydirs')
+source=(http://download.gnome.org/sources/${pkgname}/3.2/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('06c927dcbee2bf63e4960441ccb9bea55d12aa83078e5d71e9832d52fd1966aa')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --disable-static \
+      --disable-scrollkeeper --disable-update-mimedb
+
+  #https://bugzilla.gnome.org/show_bug.cgi?id=656229
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' -e 's/    if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then/      func_append compile_command " -Wl,-O1,--as-needed"\n      func_append finalize_command " -Wl,-O1,--as-needed"\n\0/' libtool
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  make DESTDIR="${pkgdir}" install
+}
+

Copied: gnome-control-center/repos/testing-i686/gnome-control-center.install (from rev 138832, gnome-control-center/repos/gnome-unstable-i686/gnome-control-center.install)
===================================================================
--- testing-i686/gnome-control-center.install	                        (rev 0)
+++ testing-i686/gnome-control-center.install	2011-09-28 19:30:18 UTC (rev 138910)
@@ -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
+}




More information about the arch-commits mailing list