From 04afbf26fc41bb44d1981ecc5acf0ed7bf72129f Mon Sep 17 00:00:00 2001
From: Cecil <knoppmyth@gmail.com>
Date: Sun, 30 Jan 2011 21:16:37 -0800
Subject: gnome-keyring:bumped to latest.

---
 abs/extra/gnome-keyring/PKGBUILD              | 34 +++++++++++----------------
 abs/extra/gnome-keyring/gnome-keyring.install | 16 ++++---------
 2 files changed, 18 insertions(+), 32 deletions(-)

diff --git a/abs/extra/gnome-keyring/PKGBUILD b/abs/extra/gnome-keyring/PKGBUILD
index d0ea53d..5da3d28 100644
--- a/abs/extra/gnome-keyring/PKGBUILD
+++ b/abs/extra/gnome-keyring/PKGBUILD
@@ -1,34 +1,28 @@
-#$Id: PKGBUILD 15806 2008-10-19 09:55:58Z jgc $
-#Maintainer: Jan De Groot <jgc@archlinux.org>
+#$Id: PKGBUILD 97123 2010-10-26 16:27:27Z ibiru $
+# Maintainer: Jan De Groot <jgc@archlinux.org>
 
 pkgname=gnome-keyring
-pkgver=2.24.1
+pkgver=2.32.1
 pkgrel=1
 pkgdesc="GNOME Password Management daemon"
 arch=(i686 x86_64)
 license=('GPL' 'LGPL')
-depends=('gconf>=2.24.0' 'hal>=0.5.11')
-makedepends=('perlxml' 'pkgconfig')
+depends=('gtk2>=2.22.0' 'dconf')
+makedepends=('intltool' 'pkgconfig' 'python2')
+groups=('gnome')
 options=('!libtool' '!emptydirs')
 url="http://www.gnome.org"
 install=gnome-keyring.install
-source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.24/${pkgname}-${pkgver}.tar.bz2
-	gnome-keyring.service)
-md5sums=('aa5552dc129f3509ee39145b7f0bf977' '16062d82eb8062201fb24f3e0ceb49a6')
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.32/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('31fecec1430a97f59a6159a5a2ea8d6a1b44287f1e9e595b3594df46bf7f18f9')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
   ./configure --prefix=/usr --sysconfdir=/etc \
-              --localstatedir=/var --disable-static \
-	      --libexecdir=/usr/lib/gnome-keyring \
-	      --with-pam-dir=/lib/security || return 1
-  make || return 1
-  make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
-
-  install -m755 -d "${pkgdir}/usr/share/dbus-1/services"
-  install -m644 "${srcdir}/gnome-keyring.service" "${pkgdir}/usr/share/dbus-1/services/" || return 1
-     
-  install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
-  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
-  rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+      --localstatedir=/var --disable-static \
+      --libexecdir=/usr/lib/gnome-keyring \
+      --with-pam-dir=/lib/security --with-root-certs=/etc/ssl/certs \
+      --disable-schemas-compile
+  make
+  make DESTDIR="${pkgdir}" install
 }
diff --git a/abs/extra/gnome-keyring/gnome-keyring.install b/abs/extra/gnome-keyring/gnome-keyring.install
index 8874c6e..e5204bc 100644
--- a/abs/extra/gnome-keyring/gnome-keyring.install
+++ b/abs/extra/gnome-keyring/gnome-keyring.install
@@ -1,19 +1,11 @@
-pkgname=gnome-keyring
-
 post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
-}
-
-pre_upgrade() {
-  pre_remove $1
+    usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
 }
 
 post_upgrade() {
-  post_install $1
+    post_install $1
 }
 
-pre_remove() {
-  if [ -f usr/share/gconf/${pkgname}.schemas ]; then
-    usr/sbin/gconfpkg --uninstall ${pkgname}
-  fi
+post_remove() {
+    post_install $1
 }
-- 
cgit v0.12

