diff options
Diffstat (limited to 'extra/gnucash/PKGBUILD')
-rw-r--r-- | extra/gnucash/PKGBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/extra/gnucash/PKGBUILD b/extra/gnucash/PKGBUILD new file mode 100644 index 000000000..21700489e --- /dev/null +++ b/extra/gnucash/PKGBUILD @@ -0,0 +1,40 @@ +# $Id: PKGBUILD 114787 2011-03-16 02:24:49Z eric $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: Mark Schneider <queueRAM@gmail.com> + +pkgname=gnucash +pkgver=2.4.4 +pkgrel=1 +pkgdesc="A personal and small-business financial-accounting application" +arch=('i686' 'x86_64') +url="http://www.gnucash.org" +license=("GPL") +depends=('gtkhtml' 'slib' 'goffice' 'guile' 'libofx' + 'libgnomeui' 'hicolor-icon-theme' 'libdbi' 'aqbanking' + 'desktop-file-utils') +makedepends=('intltool') +optdepends=('evince: for print preview' + 'gnucash-docs: (AUR) for user documentation' + 'perl-finance-quote: for stock information lookups' + 'perl-date-manip: for stock information lookups') +options=('!libtool' '!makeflags') +install=gnucash.install +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2) +md5sums=('6ae973bf925cde0721c7c465536bc096') +sha1sums=('016fccdfe5134783c95dcd5add5190270ade59f2') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man \ + --sysconfdir=/etc --libexecdir=/usr/lib --enable-ofx --enable-aqbanking + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + + install -dm755 "${pkgdir}/usr/share/gconf/schemas" + gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain gnucash "${pkgdir}"/etc/gconf/schemas/*.schemas + rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas +} |