summaryrefslogtreecommitdiff
path: root/office/kmymoney2
diff options
context:
space:
mode:
Diffstat (limited to 'office/kmymoney2')
-rw-r--r--office/kmymoney2/README7
-rw-r--r--office/kmymoney2/doinst.sh6
-rw-r--r--office/kmymoney2/kmymoney2.SlackBuild22
-rw-r--r--office/kmymoney2/kmymoney2.info9
4 files changed, 33 insertions, 11 deletions
diff --git a/office/kmymoney2/README b/office/kmymoney2/README
index 227c622bc7..e5aa6e25d4 100644
--- a/office/kmymoney2/README
+++ b/office/kmymoney2/README
@@ -12,4 +12,9 @@ The ultimate objectives of KMyMoney are...
* Accuracy. Using time tested double entry accounting principles KMyMoney
can help ensure that your finances are kept in correct order.
-This compiles a package without support for kbanking or ofxbanking.
+This compiles a package without support for kbanking. Standard this compiles
+also without support for ofxbanking.
+
+IF you want to enable support for ofxbanking, you need to have libofx
+installed (a build script for this is available at SlackBuilds.org), and
+start the script with this: OFX=YES ./kmymoney2.SlackBuild
diff --git a/office/kmymoney2/doinst.sh b/office/kmymoney2/doinst.sh
index c3651bc867..76cc38a548 100644
--- a/office/kmymoney2/doinst.sh
+++ b/office/kmymoney2/doinst.sh
@@ -1,5 +1,9 @@
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database usr/share/applications >/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 usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/office/kmymoney2/kmymoney2.SlackBuild b/office/kmymoney2/kmymoney2.SlackBuild
index 5fdb6e1ac2..fa41ae9ab7 100644
--- a/office/kmymoney2/kmymoney2.SlackBuild
+++ b/office/kmymoney2/kmymoney2.SlackBuild
@@ -1,7 +1,6 @@
#!/bin/sh
# Slackware build script for: kmymoney2
-
# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
@@ -25,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kmymoney2
-VERSION=0.9.2
+VERSION=${VERSION:-0.9.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -35,6 +34,10 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# (note this needs libofx from SlackBuilds.org. By default
+# this will be disabled.
+OFX=${OFX:-NO}
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
@@ -58,6 +61,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# If OFX=yes, build with ofxsupport
+if [ "$OFX" = "YES" ]; then
+ useofx="en"
+else
+ useofx="dis"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -65,10 +75,12 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
- --disable-debug \
- --enable-leak-check \
+ --${useofx}able-ofxplugin \
+ --${useofx}able-ofxbanking \
+ --disable-leak-check \
--disable-pdf-docs \
- --build=$ARCH-slackware-linux
+ --disable-debug \
+ --build=$ARCH-slackware-linux \
make
make install-strip DESTDIR=$PKG
diff --git a/office/kmymoney2/kmymoney2.info b/office/kmymoney2/kmymoney2.info
index c3b0a0fb8f..04014155b4 100644
--- a/office/kmymoney2/kmymoney2.info
+++ b/office/kmymoney2/kmymoney2.info
@@ -1,8 +1,9 @@
PRGNAM="kmymoney2"
-VERSION="0.9.2"
+VERSION="0.9.3"
HOMEPAGE="http://kmymoney2.sourceforge.net/index-home.html"
-DOWNLOAD="http://downloads.sourceforge.net/kmymoney2/kmymoney2-0.9.2.tar.bz2"
-MD5SUM="5d4edb7c4dc8d894243a26c7bc91efb6"
+DOWNLOAD="http://downloads.sourceforge.net/kmymoney2/kmymoney2-0.9.3.tar.bz2"
+MD5SUM="d33041029530091c4ac6196cd8408bda"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
-APPROVED="rworkman"
+APPROVED="dsomero"
+