diff options
Diffstat (limited to 'community/gnote')
-rw-r--r-- | community/gnote/PKGBUILD | 19 | ||||
-rw-r--r-- | community/gnote/gnote.install | 17 |
2 files changed, 16 insertions, 20 deletions
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 <ibiru@archlinux.org> # Contributor: uastasi <uastasi@archlinux.us> 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 } |