summaryrefslogtreecommitdiff
path: root/community/gnote
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-26 13:21:55 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-09-26 13:21:55 -0300
commit60e119a0f3297314f4bcd2b2b821eccd28992cd6 (patch)
tree83078f34ba0e5220164fe3f3b5cdff27ce87aaf9 /community/gnote
parent8aa6cf7dacd74c155e7b2dd7af68a5cb4460e5b3 (diff)
parent21efc9511d14394cc1d8426e2e0a6c668964fbe9 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/lightspark/PKGBUILD community/camlp5/PKGBUILD community/gnote/PKGBUILD community/gtk-gnutella/PKGBUILD extra/ffmpeg/PKGBUILD extra/koffice/PKGBUILD extra/pyopenssl/PKGBUILD extra/virtuoso/PKGBUILD gnome-unstable/empathy/PKGBUILD gnome-unstable/epiphany/PKGBUILD gnome-unstable/folks/PKGBUILD gnome-unstable/gdm/PKGBUILD gnome-unstable/gjs/PKGBUILD gnome-unstable/gnome-games/PKGBUILD gnome-unstable/gnome-session/PKGBUILD gnome-unstable/gnome-shell/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD gnome-unstable/gthumb/PKGBUILD gnome-unstable/libgnomekbd/PKGBUILD gnome-unstable/libpeas/PKGBUILD gnome-unstable/mutter/PKGBUILD gnome-unstable/totem/PKGBUILD multilib/lib32-libffi/PKGBUILD multilib/wine/PKGBUILD testing/xorg-server/PKGBUILD
Diffstat (limited to 'community/gnote')
-rw-r--r--community/gnote/PKGBUILD19
-rw-r--r--community/gnote/gnote.install17
2 files changed, 16 insertions, 20 deletions
diff --git a/community/gnote/PKGBUILD b/community/gnote/PKGBUILD
index 6bf0b4acf..600afe34b 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' 'mips64el')
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
}