office/gnucash: Updated for version 2.6.19 + new maintainer.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Lenard Spencer 2018-03-29 21:15:13 +07:00 committed by Willy Sudiarto Raharjo
parent e8475f35c9
commit 18ce7d3644
3 changed files with 39 additions and 20 deletions

View file

@ -8,5 +8,10 @@ As quick and intuitive to use as a checkbook register, it is based
on professional accounting principles to ensure balanced books and
accurate reports.
Reuires libgnomecanvas, goffice0.8, and webkitgtk.
Pass OFX="yes" for OFX (USA) (requies libofx)
Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
If you want the SQL database integration, you must first have libdbi
and libdbi-drivers installed, and then pass the DBI=true flag.
and libdbi-drivers installed, and then pass the DBI="yes" flag.

View file

@ -3,6 +3,7 @@
# Slackware build script for gnucash
# Copyright 2015 Trayan Denev, tdenev@gmail.com
# This version Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnucash
VERSION=${VERSION:-2.6.13}
VERSION=${VERSION:-2.6.19}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,9 +41,6 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
DBI=${DBI:-false}
OPT_ARGS=""
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
@ -63,12 +61,28 @@ else
LIBDIRSUFFIX=""
fi
if [ ! "$DBI" = "false" ] ; then
OPT_ARGS+="--enable-dbi --with-dbi-dbd-dir=/usr/lib${LIBDIRSUFFIX}/dbd/ "
echo $0 : building with dbi enabled
sleep 0.5
if [ "$DBI" = "yes" ]; then
DBIARGS="--enable-dbi --with-dbi-dbd-dir=/usr/lib${LIBDIRSUFFIX}/dbd/ "
echo " building with dbi enabled"
sleep 1
else
OPT_ARGS+="--disable-dbi "
DBIARGS="--disable-dbi "
fi
if [ "$OFX" = "yes" ]; then
OFXBANKING="--enable-ofx"
echo " building with OFX enabled"
sleep 1
else
OFXBANKING="--disable-ofx"
fi
if [ "$AQ" = "yes" ]; then
AQBANKING="--enable-aqbanking"
echo " building with aqbanking enabled"
sleep 1
else
AQBANKING="--disable-aqbanking"
fi
set -e
@ -97,11 +111,11 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-python \
--enable-ofx \
--disable-aqbanking \
$OFXBANKING \
$AQBANKING \
--disable-schemas-compile \
--build=$ARCH-slackware-linux \
$OPT_ARGS
$DBIARGS \
--build=$ARCH-slackware-linux
# --enable-register2 (not ready for 2.6.0 release)

View file

@ -1,10 +1,10 @@
PRGNAM="gnucash"
VERSION="2.6.13"
VERSION="2.6.19"
HOMEPAGE="http://www.gnucash.org/"
DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-2.6.13.tar.bz2"
MD5SUM="3854e7b7a636941104c5b9e549eeb4c5"
DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-2.6.19.tar.bz2"
MD5SUM="f7c6584b628f1e9baa9207c6fae6a850"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libofx libgnomecanvas goffice0.8 webkitgtk"
MAINTAINER="Trayan Denev"
EMAIL="tdenev@gmail.com"
REQUIRES="libgnomecanvas goffice0.8 webkitgtk"
MAINTAINER="Lenard Spencer"
EMAIL="lspencer31@cfl.rr.com"