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

Eric Belanger eric at archlinux.org
Tue May 6 22:00:53 EDT 2008


    Date: Tuesday, May 6, 2008 @ 22:00:52
  Author: eric
Revision: 1385

upgpkg: planner 0.14.3-1
    upstream update, disbled SMP build, added pygtk makedepends, updated .install file to use gconfpkg

Modified:
  planner/trunk/PKGBUILD
  planner/trunk/planner.install

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-05-06 20:37:02 UTC (rev 1384)
+++ PKGBUILD	2008-05-07 02:00:52 UTC (rev 1385)
@@ -3,20 +3,20 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=planner
-pkgver=0.14.2
-pkgrel=2
+pkgver=0.14.3
+pkgrel=1
 pkgdesc="Gnome Project Management System"
 arch=(i686 x86_64)
 license=('GPL')
 url="http://live.gnome.org/Planner"
-depends=('libgnomeprintui>=2.18.0' 'libgnomeui>=2.18.1-2' 'evolution-data-server>=1.10.1-2' 'libxslt' 'scrollkeeper' 'desktop-file-utils')
-makedepends=('pkgconfig' 'perlxml' 'gnome-doc-utils>=0.10.3')
+depends=('libgnomeprintui>=2.18.0' 'libgnomeui>=2.18.1-2' 'evolution-data-server>=2.22.1' 'libxslt' 'desktop-file-utils')
+makedepends=('pkgconfig' 'perlxml' 'gnome-doc-utils>=0.11.2' 'pygtk')
 conflicts=('mrproject' 'libmrproject')
 replaces=('mrproject' 'libmrproject' )
-options=('nolibtool')
+options=('!libtool' '!makeflags')
 install=planner.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/planner/0.14/planner-${pkgver}.tar.bz2)
-md5sums=('d03081c6562a94b64628689500f55195')
+source=(http://ftp.gnome.org/pub/GNOME/sources/planner/${pkgver%.*}/planner-${pkgver}.tar.bz2)
+md5sums=('9aee1307f8b9d643241473791f0efa64')
 
 build() {
   cd ${startdir}/src/${pkgname}-${pkgver}

Modified: planner.install
===================================================================
--- planner.install	2008-05-06 20:37:02 UTC (rev 1384)
+++ planner.install	2008-05-07 02:00:52 UTC (rev 1385)
@@ -1,9 +1,7 @@
 pkgname=planner
 
 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
-  scrollkeeper-update -q -p var/lib/scrollkeeper
+  usr/sbin/gconfpkg --install ${pkgname}
   update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 }
@@ -17,25 +15,10 @@
 }
 
 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}
 }
 
 post_remove() {
-  scrollkeeper-update -q -p var/lib/scrollkeeper
   update-desktop-database -q
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
 }
-
-op=$1
-shift
-
-$op $*





More information about the arch-commits mailing list