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

Eric Bélanger eric at nymeria.archlinux.org
Sat Jul 13 02:26:08 UTC 2013


    Date: Saturday, July 13, 2013 @ 04:26:08
  Author: eric
Revision: 190022

upgpkg: liferea 1.10.0-1

Upstream update, Update depends, Add optdepends, Update install scriptlet

Modified:
  liferea/trunk/PKGBUILD
  liferea/trunk/liferea.install

-----------------+
 PKGBUILD        |   16 +++++++---------
 liferea.install |   13 +++++--------
 2 files changed, 12 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-07-12 22:00:10 UTC (rev 190021)
+++ PKGBUILD	2013-07-13 02:26:08 UTC (rev 190022)
@@ -2,31 +2,29 @@
 # Maintainer: Eric Bélanger <eric at archlinux.org>
 
 pkgname=liferea
-pkgver=1.8.15
+pkgver=1.10.0
 pkgrel=1
 pkgdesc="A desktop news aggregator for online news feeds and weblogs"
 arch=('i686' 'x86_64')
 url="http://liferea.sourceforge.net/"
 license=('GPL')
-depends=('gconf' 'webkitgtk2' 'libnotify' 'libunique' 'json-glib' 'hicolor-icon-theme'
-         'desktop-file-utils')
+depends=('webkitgtk' 'libnotify' 'json-glib' 'libpeas' 'python2-gobject' 
+         'gnome-icon-theme' 'desktop-file-utils')
 makedepends=('intltool')
+optdepends=('gnome-keyring: for keyring plugin support'
+            'libgnome-keyring: for keyring plugin support')
 options=('!libtool' '!emptydirs')
 install=liferea.install
 source=(http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.bz2)
-sha1sums=('9a86773996d61d03c03e9a5137a2c0a3e2539f4f')
+sha1sums=('aac8e1dac30361758e3565cfddfd317f9f60b64a')
 
 build() {
   cd liferea-${pkgver}
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-compile
   make
 }
 
 package() {
   cd liferea-${pkgver}
   make DESTDIR="${pkgdir}" install
-  
-  install -d "${pkgdir}/usr/share/gconf/schemas"
-  gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
-  rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
 }

Modified: liferea.install
===================================================================
--- liferea.install	2013-07-12 22:00:10 UTC (rev 190021)
+++ liferea.install	2013-07-13 02:26:08 UTC (rev 190022)
@@ -1,24 +1,21 @@
 pkgname=liferea
 
 post_install() {
-  usr/sbin/gconfpkg --install ${pkgname}
+  glib-compile-schemas usr/share/glib-2.0/schemas
   gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   update-desktop-database -q
 }
 
 pre_upgrade() {
-  pre_remove $1
+  if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+    gconfpkg --uninstall $pkgname
+  fi
 }
 
 post_upgrade() {
   post_install $1
 }
 
-pre_remove() {
-  usr/sbin/gconfpkg --uninstall ${pkgname}
-}
-
 post_remove() {
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  update-desktop-database -q
+  post_install $1
 }




More information about the arch-commits mailing list