From 04ba9eb00e55af6a0d2e4c98794e370d094d72be Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Wed, 4 Jul 2018 08:18:36 +0700 Subject: office/gnucash-docs: Added (Gnucash help and user guides). Signed-off-by: Willy Sudiarto Raharjo --- office/gnucash-docs/README | 13 ++++++++++--- office/gnucash-docs/gnucash-docs.SlackBuild | 7 +++---- office/gnucash-docs/gnucash-docs.info | 6 +++--- office/gnucash-docs/slack-desc | 2 +- 4 files changed, 17 insertions(+), 11 deletions(-) (limited to 'office') diff --git a/office/gnucash-docs/README b/office/gnucash-docs/README index c4119d7e66..442bde372c 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 5b5e17c436..1fbedc76fc 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 45d920b37d..df75e626af 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 9694e69099..68b503bcae 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: -- cgit v1.2.3