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

Balló György bgyorgy at nymeria.archlinux.org
Tue Apr 16 00:57:43 UTC 2013


    Date: Tuesday, April 16, 2013 @ 02:57:43
  Author: bgyorgy
Revision: 88290

upgpkg: drivel 3.0.3-3

- Replace unused libgnomeui dependency with gnome-vfs
- Install GConf schema
- Update upstream URL

Modified:
  drivel/trunk/PKGBUILD
  drivel/trunk/drivel.install

----------------+
 PKGBUILD       |   13 ++++++++-----
 drivel.install |   13 +++++++++++--
 2 files changed, 19 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-15 23:39:58 UTC (rev 88289)
+++ PKGBUILD	2013-04-16 00:57:43 UTC (rev 88290)
@@ -5,20 +5,23 @@
 
 pkgname=drivel
 pkgver=3.0.3
-pkgrel=2
+pkgrel=3
 pkgdesc="GTK client for working with online journals (blogs)."
-url="http://www.dropline.net/drivel/index.php"
+url="http://drivel.sourceforge.net/"
 arch=('i686' 'x86_64')
 license=("GPL")
-depends=('curl' 'gtksourceview2' 'gtkspell' 'libgnomeui>=2.0.0' 'libsoup')
-makedepends=('perlxml' 'pkgconfig' 'intltool>=0.21' 'gnome-doc-utils>=0.3.2')
+depends=('curl' 'gnome-vfs' 'gtksourceview2' 'gtkspell' 'libsoup' 'desktop-file-utils')
+makedepends=('intltool>=0.21' 'gnome-doc-utils>=0.3.2')
 install=drivel.install
 source=(http://downloads.sourceforge.net/drivel/$pkgname-$pkgver.tar.gz)
 md5sums=('295a583d6ed652ab591070245283fb5b')
 
 build() {
   cd $srcdir/$pkgname-$pkgver
-  LDFLAGS=-lm ./configure --prefix=/usr --sysconfdir=/etc
+  sed -i 's/ -Werror//' configure
+  LDFLAGS=-lm ./configure --prefix=/usr --sysconfdir=/etc \
+      --disable-desktop-update --disable-schemas-install \
+      --with-gconf-schema-file-dir=/usr/share/gconf/schemas
   make
 }
 

Modified: drivel.install
===================================================================
--- drivel.install	2013-04-15 23:39:58 UTC (rev 88289)
+++ drivel.install	2013-04-16 00:57:43 UTC (rev 88290)
@@ -1,13 +1,22 @@
+pkgname=drivel
+
 post_install() {
-  [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons
+  usr/sbin/gconfpkg --install ${pkgname}
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   update-desktop-database -q
+  update-mime-database usr/share/mime
 }
 
 post_upgrade() {
   post_install $1
 }
 
+pre_remove() {
+  usr/sbin/gconfpkg --uninstall ${pkgname}
+}
+
 post_remove() {
-  [ -e /usr/bin/gtk-update-icon-cache ] && gtk-update-icon-cache -q -t -f usr/share/icons
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
   update-desktop-database -q
+  update-mime-database usr/share/mime
 }




More information about the arch-commits mailing list