From 21efc9511d14394cc1d8426e2e0a6c668964fbe9 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Sep 2011 23:14:59 +0000 Subject: Sun Sep 25 23:14:59 UTC 2011 --- community/gnote/PKGBUILD | 19 ++++++++----------- community/gnote/gnote.install | 17 ++++++++--------- 2 files changed, 16 insertions(+), 20 deletions(-) (limited to 'community/gnote') diff --git a/community/gnote/PKGBUILD b/community/gnote/PKGBUILD index ee878996f..a8db0394c 100644 --- a/community/gnote/PKGBUILD +++ b/community/gnote/PKGBUILD @@ -1,19 +1,19 @@ -# $Id: PKGBUILD 53049 2011-07-30 13:32:24Z ibiru $ +# $Id: PKGBUILD 55914 2011-09-24 20:06:05Z ibiru $ # Maintainer: Ionut Biru # Contributor: uastasi pkgname=gnote -pkgver=0.7.5 +pkgver=0.8.0 pkgrel=1 -pkgdesc="Experimental port of Tomboy to C++ " +pkgdesc="A note taking application." arch=('i686' 'x86_64') url="http://live.gnome.org/Gnote" -license=('GPL') -depends=('gtkmm' 'gconf' 'gtkspell' 'libxslt') +license=('GPL3') +depends=('gtkmm3' 'libxslt' 'hicolor-icon-theme' 'desktop-file-utils' 'dconf') makedepends=('intltool' 'gnome-doc-utils' 'boost') options=('!libtool') install=gnote.install -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.7/${pkgname}-${pkgver}.tar.xz) -sha256sums=('ccb8a4922f167d9727fbc69f559b722004fb6bad3af329dad1fe5e2a3d3d18b8') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/0.8/${pkgname}-${pkgver}.tar.xz) +sha256sums=('f009852b264fb8754575524ef2937147c4d2c25eff97ecca507624ca8730c213') build() { cd "${srcdir}/${pkgname}-${pkgver}" @@ -22,7 +22,7 @@ build() { --localstatedir=/var \ --libexecdir=/usr/lib/gnote \ --disable-scrollkeeper \ - --disable-schemas-install \ + --disable-schemas-compile \ --disable-static make } @@ -30,7 +30,4 @@ build() { package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install - install -m755 -d "${pkgdir}/usr/share/gconf/schemas" - gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnote ${pkgdir}/etc/gconf/schemas/*.schemas - rm -rf ${pkgdir}/etc/ } diff --git a/community/gnote/gnote.install b/community/gnote/gnote.install index 780fae868..0f8eb1012 100644 --- a/community/gnote/gnote.install +++ b/community/gnote/gnote.install @@ -1,22 +1,21 @@ pkgname=gnote post_install() { - usr/sbin/gconfpkg --install ${pkgname} - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + 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 + usr/sbin/gconfpkg --uninstall ${pkgname} + fi } post_upgrade() { - post_install -} - -pre_remove() { - usr/sbin/gconfpkg --uninstall ${pkgname} + post_install } post_remove() { - gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + post_install } -- cgit v1.2.3-54-g00ecf