aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenard Spencer <lspencer31@cfl.rr.com>2018-07-04 08:18:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-07-07 06:54:15 +0700
commit04ba9eb00e55af6a0d2e4c98794e370d094d72be (patch)
treeeba989f36dbeeb19e8e70cf31b6b573780717a66
parent0d5198863a4e68c52bee919e9137aec3e6300d1d (diff)
office/gnucash-docs: Added (Gnucash help and user guides).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--office/gnucash-docs/README13
-rw-r--r--office/gnucash-docs/gnucash-docs.SlackBuild7
-rw-r--r--office/gnucash-docs/gnucash-docs.info6
-rw-r--r--office/gnucash-docs/slack-desc2
4 files changed, 17 insertions, 11 deletions
diff --git a/office/gnucash-docs/README b/office/gnucash-docs/README
index c4119d7e668da..442bde372cb0d 100644
--- a/office/gnucash-docs/README
+++ b/office/gnucash-docs/README
@@ -2,13 +2,16 @@ This is the documentation package for Gnucash.
This builds the internal help and user guides for Gnucash.
+For the HTML help and user guides to read outside the Gnucash
+application, pass HTML="yes" to the script.
+
For the EPUB help and user guides, pass EPUB="yes" to the script.
For the PDF help and user guides, make sure fop is installed and
configured, and pass PDF="yes" to the script.
-For the HTML help and user guides to read outside the Gnucash
-application, pass HTML="yes" to the script.
+After installation, HTML, EPUB, and PDF documentation can be found
+in /usr/doc/gnucash-$VERSION.
For a specific language, pass DOCLANG="xx", where xx is:
C for English (default)
@@ -18,6 +21,10 @@ pt for Portugese
ja for Japanese (guide only, no help - defaults to C)
ru for Russian (guide only, no help - defaults to C)
-Note: This script builds the internal guides in all available
+Note 1: This script builds the internal guides in all available
languages, but the HTML guides are only in the spacified language
to save space and avoid any excessive package bloat.
+
+Note 2: This builds the docs for version 3.x of Gnucash. If you
+need the old stable 2.6 branch, use gnucash-legacy-docs, also
+available on SBo.
diff --git a/office/gnucash-docs/gnucash-docs.SlackBuild b/office/gnucash-docs/gnucash-docs.SlackBuild
index 5b5e17c436626..1fbedc76fce33 100644
--- a/office/gnucash-docs/gnucash-docs.SlackBuild
+++ b/office/gnucash-docs/gnucash-docs.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=gnucash-docs
DESTNAM=gnucash
-VERSION=${VERSION:-2.6.20}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -38,7 +38,7 @@ fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
-PKG=$TMP/package-$DESTNAM
+PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
ARCH=noarch # does not install any binary files
@@ -72,7 +72,6 @@ make -j1 install DESTDIR=$PKG docdir=/usr/doc/$DESTNAM-$VERSION
# Build and install the HTML docs for the specified language (default to C)
-
if [ "$HTML" = "yes" ]; then
mkdir -p $PKG/usr/doc/$DESTNAM-$VERSION/html
cd guide/${DOCLANG:-C} || cd guide/C
diff --git a/office/gnucash-docs/gnucash-docs.info b/office/gnucash-docs/gnucash-docs.info
index 45d920b37d00a..df75e626af91b 100644
--- a/office/gnucash-docs/gnucash-docs.info
+++ b/office/gnucash-docs/gnucash-docs.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash-docs"
-VERSION="2.6.20"
+VERSION="3.2"
HOMEPAGE="http://www.gnucash.org"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-2.6.20.tar.gz"
-MD5SUM="b55a5a2d2486ec3e2c3b392bc397b822"
+DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-docs-3.2.tar.gz"
+MD5SUM="997d5e3d073cec77b8f1d68b534d4544"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="gnucash rarian yelp"
diff --git a/office/gnucash-docs/slack-desc b/office/gnucash-docs/slack-desc
index 9694e69099d1a..68b503bcae405 100644
--- a/office/gnucash-docs/slack-desc
+++ b/office/gnucash-docs/slack-desc
@@ -8,7 +8,7 @@
|-----handy-ruler------------------------------------------------------|
gnucash-docs: gnucash-docs (Gnucash help and user guides)
gnucash-docs:
-gnucash-docs: Documentation files for Gnucash
+gnucash-docs: Documentation files for Gnucash 3.x
gnucash-docs:
gnucash-docs: http://www.gnucash.org
gnucash-docs: