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

Ionut Biru ibiru at archlinux.org
Sun Feb 27 20:36:44 UTC 2011


    Date: Sunday, February 27, 2011 @ 15:36:44
  Author: ibiru
Revision: 111607

upgpkg: gnome-shell 2.91.90-1
update to 2.91.90

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

---------------------+
 PKGBUILD            |   28 +++++++++++++++++-----------
 gnome-shell.install |    5 +++++
 2 files changed, 22 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-02-27 20:20:10 UTC (rev 111606)
+++ PKGBUILD	2011-02-27 20:36:44 UTC (rev 111607)
@@ -3,28 +3,34 @@
 # Contributor: Flamelab <panosfilip at gmail.com
 
 pkgname=gnome-shell
-pkgver=2.29.1
+pkgver=2.91.90
 pkgrel=1
-pkgdesc="The next generation GNOME Shell. Experimental, GNOME 3.0 version."
+pkgdesc="The next generation GNOME Shell"
 arch=('i686' 'x86_64')
 url="http://live.gnome.org/GnomeShell"
 license=('GPL2')
-depends=('gnome-desktop>=2.29.92' 'gnome-python' 'gnome-menus>=2.29.92' 'mutter>=2.29.1' 'librsvg' 'gjs>=0.6')
-makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.19.5' 'gir-repository')
+depends=('mutter' 'gconf' 'gjs' 'gnome-menus' 'gnome-desktop' 'libcroco' 'libcanberra' 'libpulse' 'telepathy-glib' 'polkit-gnome' 'gobject-introspection' 
+'evolution-data-server')
+makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils' 'bluez')
 options=('!libtool' '!emptydirs')
 install=gnome-shell.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.29/gnome-shell-$pkgver.tar.bz2)
-sha256sums=('710b863c0beea45543f8057d31b028ec85e19efeedda2b964d784d6fc1729c0b')
+source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-shell/2.91/gnome-shell-$pkgver.tar.bz2)
+sha256sums=('0cb01d1b9cdd060883a88fab9377b8c4498ac24a967c5135e6ab6c05f598e332')
 
 build() {
-  cd ${srcdir}/${pkgname}-${pkgver}
+  cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc \
-        --localstatedir=/var --disable-static || return 1
-  make || return 1
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+        --localstatedir=/var --disable-static \
+        --disable-schemas-compile
+  make
+}
 
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+
   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
-  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
+  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-shell ${pkgdir}/etc/gconf/schemas/*.schemas
   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
 }
 

Modified: gnome-shell.install
===================================================================
--- gnome-shell.install	2011-02-27 20:20:10 UTC (rev 111606)
+++ gnome-shell.install	2011-02-27 20:36:44 UTC (rev 111607)
@@ -1,6 +1,7 @@
 pkgname=gnome-shell
 
 post_install() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
   usr/sbin/gconfpkg --install ${pkgname}
 }
 
@@ -15,3 +16,7 @@
 pre_remove() {
   usr/sbin/gconfpkg --uninstall ${pkgname}
 }
+
+post_remove() {
+  glib-compile-schemas usr/share/glib-2.0/schemas
+}




More information about the arch-commits mailing list