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

Jan de Groot jgc at archlinux.org
Sun Oct 28 21:21:24 UTC 2007


    Date: Sunday, October 28, 2007 @ 17:21:24
  Author: jgc
    Path: /home/cvs-extra/extra/gnome/gnome-mount

Modified: PKGBUILD (1.4 -> 1.5) gnome-mount.install (1.2 -> 1.3)

upgpkg: gnome-mount 0.7-1


---------------------+
 PKGBUILD            |   16 ++++++++--------
 gnome-mount.install |   14 ++------------
 2 files changed, 10 insertions(+), 20 deletions(-)


Index: extra/gnome/gnome-mount/PKGBUILD
diff -u extra/gnome/gnome-mount/PKGBUILD:1.4 extra/gnome/gnome-mount/PKGBUILD:1.5
--- extra/gnome/gnome-mount/PKGBUILD:1.4	Sun Apr 22 11:16:11 2007
+++ extra/gnome/gnome-mount/PKGBUILD	Sun Oct 28 17:21:24 2007
@@ -1,21 +1,21 @@
-#$Id: PKGBUILD,v 1.4 2007/04/22 15:16:11 jgc Exp $
+#$Id: PKGBUILD,v 1.5 2007/10/28 21:21:24 jgc Exp $
 # Maintainer: Jan de Groot <jgc at arclinux.org>
 
 pkgname=gnome-mount
-pkgver=0.6
+pkgver=0.7
 pkgrel=1
 pkgdesc="GNOME mount program"
 arch=(i686 x86_64)
 license=('GPL')
-url="http://people.freedesktop.org/~david/dist/"
-depends=('hal>=0.5.9' 'gnome-keyring>=0.8.1-2' 'gconf>=2.18.0.1-2'
+url="http://hal.freedesktop.org/"
+depends=('hal>=0.5.10' 'gnome-keyring>=2.20.1' 'gconf>=2.20.1'
          'libnotify>=0.4.4')
-makedepends=('pkgconfig' 'perlxml' 'nautilus>=2.18.1')
-options=('nolibtool')
+makedepends=('pkgconfig' 'perlxml' 'nautilus>=2.20.0')
+options=('!libtool')
 groups=('gnome')
 install=gnome-mount.install
-source=(http://people.freedesktop.org/~david/dist/${pkgname}-${pkgver}.tar.gz)
-md5sums=('d2612aecfa73806e072316033d78b203')
+source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
+md5sums=('6a2f14925376c2c494df89cbfbdb2ca5')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}
Index: extra/gnome/gnome-mount/gnome-mount.install
diff -u extra/gnome/gnome-mount/gnome-mount.install:1.2 extra/gnome/gnome-mount/gnome-mount.install:1.3
--- extra/gnome/gnome-mount/gnome-mount.install:1.2	Sun Apr 22 11:16:11 2007
+++ extra/gnome/gnome-mount/gnome-mount.install	Sun Oct 28 17:21:24 2007
@@ -1,8 +1,7 @@
 pkgname=gnome-mount
 
 post_install() {
-  export 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 opt/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
-  export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source`
-  
-  usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null
+  usr/sbin/gconfpkg --uninstall ${pkgname}
 }
 
 op=$1




More information about the arch-commits mailing list