diff options
Diffstat (limited to 'community/gnote')
-rw-r--r-- | community/gnote/PKGBUILD | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/community/gnote/PKGBUILD b/community/gnote/PKGBUILD index d2fb73ada..ec1807a21 100644 --- a/community/gnote/PKGBUILD +++ b/community/gnote/PKGBUILD @@ -1,23 +1,22 @@ -# $Id: PKGBUILD 41039 2011-03-03 11:13:48Z ibiru $ +# $Id: PKGBUILD 45878 2011-04-30 20:15:23Z ibiru $ # Maintainer: Ionut Biru <ibiru@archlinux.org> # Contributor: uastasi <uastasi@archlinux.us> pkgname=gnote -pkgver=0.7.3 -pkgrel=3 +pkgver=0.7.4 +pkgrel=1 pkgdesc="Experimental port of Tomboy to C++ " arch=('i686' 'x86_64') url="http://live.gnome.org/Gnote" license=('GPL') -depends=('boost-libs' 'gtkspell' 'libpanelappletmm' 'libxslt') +depends=('gtkmm' 'gconf' 'gtkspell' 'libxslt') 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.bz2) -sha256sums=('4853315711baf7647cdae4c2f7d23e22e2b13322605efe3dd98796a06f928321') +sha256sums=('19bf64397278b85703979fd4943692f6c44579e597bad27acf04a64d6813e6f2') build() { cd "${srcdir}/${pkgname}-${pkgver}" - export CXXFLAGS="${CXXFLAGS} -DBOOST_FILESYSTEM_VERSION=2" ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -26,8 +25,12 @@ build() { --disable-schemas-install \ --disable-static make +} + +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 -f ${pkgdir}/etc/gconf/schemas/*.schemas + rm -rf ${pkgdir}/etc/gconf/ } |