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

Jan de Groot jgc at archlinux.org
Fri Apr 3 17:17:37 EDT 2009


    Date: Friday, April 3, 2009 @ 17:17:37
  Author: jgc
Revision: 33018

upgpkg: gnome-bluetooth 0.12.0-1
    Remove desktop-file-utils dependency, as we include no desktop file anymore. Take care of old gconf schemas, the new package does not have them

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

-------------------------+
 PKGBUILD                |   10 +++-------
 gnome-bluetooth.install |   23 +++--------------------
 2 files changed, 6 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-03 21:13:24 UTC (rev 33017)
+++ PKGBUILD	2009-04-03 21:17:37 UTC (rev 33018)
@@ -8,9 +8,9 @@
 arch=('i686' 'x86_64')
 url="http://www.usefulinc.com/software/gnome-bluetooth/"
 license=('GPL' 'LGPL')
-depends=('libbtctl>=0.10.0' 'libgnomeui>=2.24.1' 'desktop-file-utils' 'gconf>=2.26.0-2')
+depends=('libbtctl>=0.10.0' 'libgnomeui>=2.24.1')
 makedepends=('gob2' 'intltool' 'pygtk>=2.14.1')
-options=('!libtool' '!emptydirs')
+options=('!libtool')
 install=gnome-bluetooth.install
 source=(http://ftp.gnome.org/pub/GNOME/sources/gnome-bluetooth/0.12/${pkgname}-${pkgver}.tar.bz2)
 md5sums=('881a01ce964b8c02b5d40be8b5aedcaf')
@@ -24,9 +24,5 @@
       -e 's|^pydir = /usr|pydir = |' \
       -i src/Makefile || return 1
   make || return 1
-  make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
-     
-  install -m755 -d "${pkgdir}/usr/share/gconf/schemas" || return 1
-  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnome-bluetooth ${pkgdir}/etc/gconf/schemas/*.schemas
-  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+  make DESTDIR="${pkgdir}" install || return 1
 }

Modified: gnome-bluetooth.install
===================================================================
--- gnome-bluetooth.install	2009-04-03 21:13:24 UTC (rev 33017)
+++ gnome-bluetooth.install	2009-04-03 21:17:37 UTC (rev 33018)
@@ -1,22 +1,5 @@
-pkgname=gnome-bluetooth
-
-post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
-  update-desktop-database -q
-}
-
 pre_upgrade() {
-  pre_remove $1
+  if [ -f usr/share/gconf/schemas/gnome-bluetooth.schemas ]; then
+    usr/sbin/gconfpkg --uninstall gnome-bluetooth
+  fi
 }
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
-post_remove() {
-  update-desktop-database -q
-}



More information about the arch-commits mailing list