summaryrefslogtreecommitdiff
path: root/office
diff options
context:
space:
mode:
authorLenard Spencer <lspencer31@cfl.rr.com>2018-05-03 23:44:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-05-05 06:46:30 +0700
commitea2703dffdb00167bf5cdccdd4bad81a0689113e (patch)
tree952cf775a8c3e45d386b0aa65c6baade57f68588 /office
parent318f44fc38d8b1fc4084dfbb41f52945fa93ca41 (diff)
downloadslackbuilds-ea2703dffdb00167bf5cdccdd4bad81a0689113e.tar.gz
office/gnucash3: Updated for version 3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office')
-rw-r--r--office/gnucash3/doinst.sh6
-rw-r--r--office/gnucash3/gnucash3.SlackBuild5
-rw-r--r--office/gnucash3/gnucash3.info8
3 files changed, 10 insertions, 9 deletions
diff --git a/office/gnucash3/doinst.sh b/office/gnucash3/doinst.sh
index f2495d1d7f..937d628308 100644
--- a/office/gnucash3/doinst.sh
+++ b/office/gnucash3/doinst.sh
@@ -12,11 +12,15 @@ config() {
}
config etc/gnucash/environment.new
-
+c
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
+if [ -x /usr/bin/update-mime-database ]; then
+ /usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
+fi
+
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
diff --git a/office/gnucash3/gnucash3.SlackBuild b/office/gnucash3/gnucash3.SlackBuild
index d945f2c0ba..bca45adf04 100644
--- a/office/gnucash3/gnucash3.SlackBuild
+++ b/office/gnucash3/gnucash3.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=gnucash3
SRCNAM=gnucash
-VERSION=${VERSION:-3.0}
+VERSION=${VERSION:-3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -147,8 +147,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Don't clobber these
-mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new || true
-mv $PKG/etc/gnucash/config $PKG/etc/gnucash/config.new || true
+mv $PKG/etc/gnucash/environment $PKG/etc/gnucash/environment.new
mkdir -p $PKG/usr/doc/$SRCNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog DOCUMENTERS HACKING LICENSE NEWS README* TODO \
diff --git a/office/gnucash3/gnucash3.info b/office/gnucash3/gnucash3.info
index 01a9c9bf40..a8ee4bdb33 100644
--- a/office/gnucash3/gnucash3.info
+++ b/office/gnucash3/gnucash3.info
@@ -1,10 +1,8 @@
PRGNAM="gnucash3"
-VERSION="3.0"
+VERSION="3.1"
HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.0.tar.bz2 \
- https://github.com/google/googletest/archive/release-1.8.0/googletest-release-1.8.0.tar.gz"
-MD5SUM="57b0fdbfde05454e03a3fa6102ddd0f3 \
- 16877098823401d1bf2ed7891d7dce36"
+DOWNLOAD="http://downloads.sourceforge.net/gnucash/gnucash-3.1.tar.bz2"
+MD5SUM="ccc7c4ca07ae8c3da8f8d178fc069516"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="webkit2gtk python3 gtest"