office/kmymoney2: Updated for version 0.8.8

This commit is contained in:
Michiel van Wessem 2010-05-11 19:46:14 +02:00 committed by Robby Workman
parent ca605988b8
commit 5bf1dcb43d
5 changed files with 28 additions and 12 deletions

View file

@ -16,4 +16,3 @@ The ultimate objectives of KMyMoney are...
can help ensure that your finances are kept in correct order.
This compiles a package without support for kbanking or ofxbanking.

View file

@ -0,0 +1,5 @@
if [ -x usr/bin/update-desktop-database ]; then
usr/bin/update-desktop-database usr/share/applications >/dev/null 2>&1
fi

View file

@ -3,13 +3,12 @@
# Slackware build script for: kmymoney2
# Written by: Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
set -e
PRGNAM=kmymoney2
VERSION=0.8.6
VERSION=0.8.8
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@ -23,25 +22,29 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure --prefix=/opt/kde \
./configure \
--prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--mandir=/usr/man \
--program-prefix="" \
--program-suffix="" \
--disable-debug \
--enable-leak-check \
--enable-pdf-docs
--disable-pdf-docs
make
make install-strip DESTDIR=$PKG
@ -58,6 +61,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz

View file

@ -1,8 +1,8 @@
PRGNAM="kmymoney2"
VERSION="0.8.6"
VERSION="0.8.8"
HOMEPAGE="http://kmymoney2.sourceforge.net/index-home.html"
DOWNLOAD="http://dl.sourceforge.net/kmymoney2/kmymoney2-0.8.6.tar.gz"
MD5SUM="4a1f1ff16c1f02d4e6ce3263c44daf74"
DOWNLOAD="http://downloads.sourceforge.net/kmymoney2/kmymoney2-0.8.8.tar.bz2"
MD5SUM="3b31f026b6065ce65a1948fb91e804d0"
MAINTAINER="Michiel van Wessem"
EMAIL="michiel.van.wessem@gmail.com"
EMAIL="michiel@slackbuilds.org"
APPROVED="rworkman"

View file

@ -1,4 +1,12 @@
kmymoney2: KmyMoney
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description. Line
# up the first '|' above the ':' following the base package name, and the '|'
# on the right side marks the last column you can put a character in. You must
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
kmymoney2: KmyMoney (simple financial accounting manager)
kmymoney2:
kmymoney2: KmyMoney 2 is a simple financial accounting manager for KDE
kmymoney2: for personal or small-business use.