[arch-commits] CVS update of extra/gnome/libgnome (PKGBUILD libgnome.install)

Jan de Groot jgc at archlinux.org
Thu Sep 20 21:23:53 UTC 2007


    Date: Thursday, September 20, 2007 @ 17:23:53
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/libgnome

Modified: PKGBUILD (1.25 -> 1.26) libgnome.install (1.7 -> 1.8)

upgpkg: libgnome 2.20.0-1
Remove empty directories, update to GNOME 2.20


------------------+
 PKGBUILD         |   16 +++++++---------
 libgnome.install |   14 ++------------
 2 files changed, 9 insertions(+), 21 deletions(-)


Index: extra/gnome/libgnome/PKGBUILD
diff -u extra/gnome/libgnome/PKGBUILD:1.25 extra/gnome/libgnome/PKGBUILD:1.26
--- extra/gnome/libgnome/PKGBUILD:1.25	Sun Apr 22 09:57:43 2007
+++ extra/gnome/libgnome/PKGBUILD	Thu Sep 20 17:23:53 2007
@@ -1,24 +1,22 @@
-# $Id: PKGBUILD,v 1.25 2007/04/22 13:57:43 jgc Exp $ 
+# $Id: PKGBUILD,v 1.26 2007/09/20 21:23:53 jgc Exp $ 
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=libgnome
-pkgver=2.18.0
-pkgrel=2
+pkgver=2.20.0
+pkgrel=1
 pkgdesc="Common libraries for GNOME"
 arch=(i686 x86_64)
 license=('LGPL')
-depends=('gnome-vfs>=2.18.1' 'esd>=0.2.37' 'libbonobo>=2.18.0-2')
+depends=('gnome-vfs>=2.20.0' 'esd>=0.2.37' 'libbonobo>=2.20.0')
 makedepends=('pkgconfig' 'perlxml')
-options=('nolibtool')
+options=('!libtool' '!emptydirs')
 url="http://www.gnome.org"
 install=libgnome.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.18/${pkgname}-${pkgver}.tar.bz2
-	bgo424949.patch)
-md5sums=('73426589d7c6fa3266fe4e8f3be2f5b5' '27f1271f646f3a125e302fbd9014297e')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.20/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('a52049befc0e8d91ff6c735d45552d78')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
-  patch -Np2 -i ${startdir}/src/bgo424949.patch || return 1
   ./configure --prefix=/usr --sysconfdir=/etc \
               --localstatedir=/var --disable-static
   make || return 1
Index: extra/gnome/libgnome/libgnome.install
diff -u extra/gnome/libgnome/libgnome.install:1.7 extra/gnome/libgnome/libgnome.install:1.8
--- extra/gnome/libgnome/libgnome.install:1.7	Sun Apr 22 09:57:43 2007
+++ extra/gnome/libgnome/libgnome.install	Thu Sep 20 17:23:53 2007
@@ -1,8 +1,7 @@
 pkgname=libgnome
 
 post_install() {
-  GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` \
-    usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null
+  usr/sbin/gconfpkg --install ${pkgname}
 }
 
 pre_upgrade() {
@@ -14,16 +13,7 @@
 }
 
 pre_remove() {
-  if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(usr/share/gconf/schemas/${pkgname}.schemas)
-  elif [ -f gnome/share/gconf/schemas/${pkgname}.schemas ]; then
-    schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas)
-  else
-    schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`)
-  fi
-
-  GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` \
-    usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+  usr/sbin/gconfpkg --install ${pkgname}
 }
 
 op=$1




More information about the arch-commits mailing list