summaryrefslogtreecommitdiff
path: root/office/gnucash
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2020-04-02 00:23:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-02 00:23:14 +0700
commit1a6877b2d018332b77d01b8e76bfe6566d912f62 (patch)
tree8a12ddef3739d33b62925ac2008a2d993ff5ec86 /office/gnucash
parent8d9200a7139de77e7df4574cfbd01a98e72d5473 (diff)
downloadslackbuilds-1a6877b2d018332b77d01b8e76bfe6566d912f62.tar.gz
office/gnucash: Updated for version 3.9.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/gnucash')
-rw-r--r--office/gnucash/README3
-rw-r--r--office/gnucash/gnucash.SlackBuild11
-rw-r--r--office/gnucash/gnucash.info6
3 files changed, 9 insertions, 11 deletions
diff --git a/office/gnucash/README b/office/gnucash/README
index 20215f5293..f09d1bc8cb 100644
--- a/office/gnucash/README
+++ b/office/gnucash/README
@@ -8,9 +8,6 @@ As quick and intuitive to use as a checkbook register, it is based
on professional accounting principles to ensure balanced books and
accurate reports.
-The dependencies webkitgtk, goffice0.8 and libgnomecanvas have been
-dropped, with webkit2gtk, python3, and gtest being the new dependencies.
-
Pass OFX="yes" for OFX (USA) (requies libofx)
Pass AQ="yes" to enable aqbanking (Germany) (requires aqbanking)
Pass WITHPYTHON="yes" to enable Python bindings for report gereration.
diff --git a/office/gnucash/gnucash.SlackBuild b/office/gnucash/gnucash.SlackBuild
index 05e1dd5e52..973c487721 100644
--- a/office/gnucash/gnucash.SlackBuild
+++ b/office/gnucash/gnucash.SlackBuild
@@ -24,12 +24,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnucash
-VERSION=${VERSION:-3.8}
+VERSION=${VERSION:-3.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-SRCVERSION="${VERSION}b"
-
+PACKAGER=${PACKAGER:-"Just Another Slacker"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i586 ;;
@@ -79,7 +78,7 @@ else
fi
if [ "$OFX" = "yes" ]; then
- OFXBANKING="DWITH_OFX=ON"
+ OFXBANKING="-DWITH_OFX=ON"
echo " building with OFX enabled"
sleep 1
else
@@ -108,7 +107,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCVERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-${VERSION}.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -126,10 +125,12 @@ cd build
-DLIBDIR=/usr/lib${LIBDIRSUFFIX} \
-DSYSCONFDIR=/etc \
-DCOMPILE_GSCHEMAS=OFF \
+ -DCMAKE_HAVE_LIBC_PTHREAD=OFF \
$DBIARGS \
$W_PYTHON \
$OFXBANKING \
$AQBANKING \
+ -DGNUCASH_BUILD_ID="$VERSION by $PACKAGER" \
-DCMAKE_BUILD_TYPE=release ..
make
diff --git a/office/gnucash/gnucash.info b/office/gnucash/gnucash.info
index 964e8b4caa..458ec93299 100644
--- a/office/gnucash/gnucash.info
+++ b/office/gnucash/gnucash.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash"
-VERSION="3.8"
+VERSION="3.9"
HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.8b.tar.bz2"
-MD5SUM="32f853781ad7aa2a032a482df102a77f"
+DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.9.tar.bz2"
+MD5SUM="25b2a17777f25e943ab58bfe7c35867a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk pygobject3-python3 gtest"