diff options
author | Balló György | 2017-06-30 09:39:13 +0200 |
---|---|---|
committer | Balló György | 2017-06-30 09:39:13 +0200 |
commit | 2a522618d0109f26174f3edf2baefbba62a3f49b (patch) | |
tree | 0d4246cc00abadfd1ae192ebc116ac847c65f2bd /PKGBUILD | |
download | aur-2a522618d0109f26174f3edf2baefbba62a3f49b.tar.gz |
Moved from [extra]
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b94ed9684f64 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# $Id: PKGBUILD 299071 2017-06-20 16:53:25Z juergen $ +# Maintainer: Juergen Hoetzel <juergen@archlinux.org> +# Contributor: Mark Schneider <queueRAM@gmail.com> + +pkgname=gnucash +pkgver=2.6.16 +pkgrel=3 +pkgdesc="A personal and small-business financial-accounting application" +arch=('i686' 'x86_64') +url="http://www.gnucash.org" +license=("GPL") +depends=('guile' 'slib' 'goffice0.8' 'libdbi-drivers' 'libmariadbclient' 'postgresql-libs' 'aqbanking' 'desktop-file-utils' 'webkitgtk2' 'libgnome-keyring' 'libgnomecanvas' 'dconf') +makedepends=('intltool' 'gcc' 'pkgconfig') +optdepends=('evince: for print preview' + 'yelp: help browser' + 'perl-finance-quote: for stock information lookups' + 'perl-date-manip: for stock information lookups') +options=('!makeflags' '!emptydirs') +source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha1sums=('b7b3ffce1c05996ee1c4505a5fd8e44dd4c9bfa3') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \ + --libexecdir=/usr/lib --disable-schemas-compile --enable-ofx --enable-aqbanking + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install + cd src/doc/design + make DESTDIR="${pkgdir}" install-info + + 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 + + # Delete the gnucash-valgrind executable because the source files + # are not included with the package and the executable is hardlinked + # to the location that it was built at. + rm -f "${pkgdir}"/usr/bin/gnucash-valgrind + +} |