[arch-commits] Commit in gnome-session/trunk (PKGBUILD gnome-session.install)

Ionut Biru ibiru at archlinux.org
Sat Mar 10 09:42:09 EST 2012


    Date: Saturday, March 10, 2012 @ 09:42:09
  Author: ibiru
Revision: 152870

update to 3.3.90

Modified:
  gnome-session/trunk/PKGBUILD
  gnome-session/trunk/gnome-session.install

-----------------------+
 PKGBUILD              |   14 +++++++-------
 gnome-session.install |   10 ++--------
 2 files changed, 9 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-03-10 14:15:27 UTC (rev 152869)
+++ PKGBUILD	2012-03-10 14:42:09 UTC (rev 152870)
@@ -2,22 +2,22 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-session
-pkgver=3.2.1
+pkgver=3.3.90
 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')
+depends=('consolekit' 'dconf' 'gconf' 'gsettings-desktop-schemas' 'gtk3' 'hicolor-icon-theme' 'json-glib' 'libgl' 'libsm' 'libxtst' 'polkit-gnome' 'startup-notification' 'upower')
 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=('a87dcf57fec83cc8fad4e7b84542c5005a70a2107d184f247f0b112f07a043b3')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
+sha256sums=('319680644a4fe0256d0a6d5906d6cf7c4e4ad2e7f00a9d3950242285ab099ff6')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var --libexecdir=/usr/lib/gnome-session \
       --disable-schemas-compile
@@ -25,6 +25,6 @@
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }

Modified: gnome-session.install
===================================================================
--- gnome-session.install	2012-03-10 14:15:27 UTC (rev 152869)
+++ gnome-session.install	2012-03-10 14:42:09 UTC (rev 152870)
@@ -1,14 +1,8 @@
 post_install() {
-  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  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
 }



More information about the arch-commits mailing list