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

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


    Date: Wednesday, September 28, 2011 @ 15:30:50
  Author: ibiru
Revision: 138937

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

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

-----------------------+
 PKGBUILD              |   30 ++++++++++++++++++++++++++++++
 gnome-session.install |   18 ++++++++++++++++++
 2 files changed, 48 insertions(+)

Copied: gnome-session/repos/testing-i686/PKGBUILD (from rev 138832, gnome-session/repos/gnome-unstable-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-09-28 19:30:50 UTC (rev 138937)
@@ -0,0 +1,30 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-session
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="The GNOME Session Handler"
+arch=(i686 x86_64)
+license=('GPL' 'LGPL')
+depends=('upower' 'gtk3' 'gconf' 'json-glib' 'startup-notification' 'hicolor-icon-theme' 'libxtst' 'polkit-gnome' 'libgl' 'gsettings-desktop-schemas' 'consolekit' 'libsm' 'dconf')
+makedepends=('intltool' 'mesa' 'xtrans')
+options=('!emptydirs')
+install=gnome-session.install
+url="http://www.gnome.org"
+groups=('gnome')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('4b23d95b1ee622c7d1d600d3a88c8ded787d9a49567b0235208d2e600f131e3e')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var --libexecdir=/usr/lib/gnome-session \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Copied: gnome-session/repos/testing-i686/gnome-session.install (from rev 138832, gnome-session/repos/gnome-unstable-i686/gnome-session.install)
===================================================================
--- testing-i686/gnome-session.install	                        (rev 0)
+++ testing-i686/gnome-session.install	2011-09-28 19:30:50 UTC (rev 138937)
@@ -0,0 +1,18 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.91.91.3-3) < 0 )); then
+    usr/sbin/gconfpkg --uninstall gnome-session
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}




More information about the arch-commits mailing list