updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / gnote-lite / PKGBUILD
blobb397b352a06b5e5e9eceff59b234ac68c6ebcf05
1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
2 # Contributor: bmpvieira <mail AT bmpvieira DOT com>
3 # Contributor: uastasi <uastasi@archlinux.us>
5 pkgname=gnote-lite
6 pkgver=0.7.5
7 pkgrel=1
8 pkgdesc="Experimental port of Tomboy to C++, without the libpanelappletmm dependency. Suitable for non-Gnome environments."
9 arch=('i686' 'x86_64')
10 url="http://live.gnome.org/Gnote"
11 license=('GPL')
12 depends=('boost>=1.41' 'gtkspell' 'libxslt' 'gconf' 'gtkmm' 'dbus-c++-gitorious')
13 makedepends=('intltool' 'gnome-doc-utils')
14 conflicts=('gnote')
15 options=('!libtool')
16 install=gnote.install
17 source=(http://ftp.gnome.org/pub/gnome/sources/gnote/0.7/gnote-$pkgver.tar.bz2)
19 build() {
20     cd "${srcdir}/gnote-${pkgver}"
22     export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2"
23     ./configure --prefix=/usr \
24                 --sysconfdir=/etc \
25                 --localstatedir=/var \
26                     --libexecdir=/usr/lib/gnote \
27                     --disable-scrollkeeper \
28                     --disable-schemas-install \
29                     --disable-static \
30                     --disable-applet 
31     make
34 package() {
35     cd "${srcdir}/gnote-${pkgver}"
37     make DESTDIR="${pkgdir}" install || return 1
38     install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
39     gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/gnote.schemas" --domain gnote ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
40     rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
43 md5sums=('579e70d23dc568eae8d2f303464f5672')