aboutsummaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2020-04-23 22:18:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-24 08:18:57 +0700
commit616adeaab0cf58382843b08cf27d1fa0c3e2c083 (patch)
treecbd0c92386cecaf422ff36005f86a05e213cf579 /office
parentc5444b8a62813f77c18133905e034f2b026f47ab (diff)
office/gnucash-docs: Updated for version 3.10.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild21
-rw-r--r--office/gnucash-docs/gnucash-docs.info6
2 files changed, 12 insertions, 15 deletions
diff --git a/office/gnucash-docs/gnucash-docs.SlackBuild b/office/gnucash-docs/gnucash-docs.SlackBuild
index 063cc837aef9..5566d7ded811 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gnucash-docs
-# Copyright 2018 Lenard Spencer <lspencer31@cfl.rr.com>
+# Copyright 2018, 2019, 2020 Lenard Spencer <lenardrspencer@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=gnucash-docs
DESTNAM=gnucash
-VERSION=${VERSION:-3.9}
+VERSION=${VERSION:-3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -38,10 +38,7 @@ OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch # does not install any binary files
-# Set DOCLANG to C if it is empty:
-if [ ! "$DOCLANG" ]; then
- DOCLANG=C
-fi
+DOCLANG=${DOCLANG:-"C"}
set -e
@@ -69,10 +66,10 @@ make -j1 install DESTDIR=$PKG docdir=/usr/doc/$DESTNAM-$VERSION
if [ "$HTML" = "yes" ]; then
mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd guide/${DOCLANG:-C} || cd guide/C
+ cd guide/$DOCLANG || cd guide/C
make html
cp -vR gnucash-guide $PKG/usr/doc/$DESTNAM-$VERSION/html
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
+ cd ../../help/$DOCLANG || cd ../../help/C
make html
cp -vR gnucash-help $PKG/usr/doc/$DESTNAM-$VERSION/html
cd ../..
@@ -81,10 +78,10 @@ fi
if [ -x /opt/fop/fop ]; then
if [ "$PDF" = "yes" ]; then
mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
+ cd guide/$DOCLANG || cd guide/C
make pdf
cp -vR gnucash-guide.pdf $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
+ cd ../../help/$DOCLANG || cd ../../help/C
make pdf
cp -vR gnucash-help.pdf $PKG/usr/doc/$DESTNAM-$VERSION
cd ../..
@@ -93,10 +90,10 @@ fi
if [ "$EPUB" = "yes" ]; then
mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION
- cd guide/${DOCLANG:-C} || cd guide/C
+ cd guide/$DOCLANG || cd guide/C
make epub
cp -vR gnucash-guide.epub $PKG/usr/doc/$DESTNAM-$VERSION
- cd ../../help/${DOCLANG:-C} || cd ../../help/C
+ cd ../../help/$DOCLANG || cd ../../help/C
make epub
cp -vR gnucash-help.epub $PKG/usr/doc/$DESTNAM-$VERSION
cd ../..
diff --git a/office/gnucash-docs/gnucash-docs.info b/office/gnucash-docs/gnucash-docs.info
index 7a38a3319fe1..a51f5f4e27e7 100644
--- a/office/gnucash-docs/gnucash-docs.info
+++ b/office/gnucash-docs/gnucash-docs.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash-docs"
-VERSION="3.9"
+VERSION="3.10"
HOMEPAGE="http://www.gnucash.org"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-3.9.tar.gz"
-MD5SUM="0e54f9c3b63efcaf9146c6040b89abe5"
+DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-3.10.tar.gz"
+MD5SUM="ef2f1466a3c61c34209e069221b9fd96"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnucash rarian yelp"