mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
office/kmymoney2: Updated for version 0.8.8
This commit is contained in:
parent
ca605988b8
commit
5bf1dcb43d
5 changed files with 28 additions and 12 deletions
|
@ -16,4 +16,3 @@ The ultimate objectives of KMyMoney are...
|
||||||
can help ensure that your finances are kept in correct order.
|
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 or ofxbanking.
|
||||||
|
|
||||||
|
|
5
office/kmymoney2/doinst.sh
Normal file
5
office/kmymoney2/doinst.sh
Normal 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
|
||||||
|
|
|
@ -3,13 +3,12 @@
|
||||||
# Slackware build script for: kmymoney2
|
# Slackware build script for: kmymoney2
|
||||||
# Written by: Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
|
# Written by: Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
PRGNAM=kmymoney2
|
PRGNAM=kmymoney2
|
||||||
VERSION=0.8.6
|
VERSION=0.8.8
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/SBo}
|
TMP=${TMP:-/tmp/SBo}
|
||||||
PKG=$TMP/package-$PRGNAM
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
@ -23,25 +22,29 @@ elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
rm -rf $TMP/$PRGNAM-$VERSION
|
rm -rf $TMP/$PRGNAM-$VERSION
|
||||||
cd $TMP
|
cd $TMP
|
||||||
tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
chmod -R a-s,u+w,go+r-w .
|
chmod -R a-s,u+w,go+r-w .
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure --prefix=/opt/kde \
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
|
--mandir=/usr/man \
|
||||||
--program-prefix="" \
|
--program-prefix="" \
|
||||||
--program-suffix="" \
|
--program-suffix="" \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--enable-leak-check \
|
--enable-leak-check \
|
||||||
--enable-pdf-docs
|
--disable-pdf-docs
|
||||||
|
|
||||||
make
|
make
|
||||||
make install-strip DESTDIR=$PKG
|
make install-strip DESTDIR=$PKG
|
||||||
|
@ -58,6 +61,7 @@ find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
|
||||||
|
|
||||||
mkdir $PKG/install
|
mkdir $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="kmymoney2"
|
PRGNAM="kmymoney2"
|
||||||
VERSION="0.8.6"
|
VERSION="0.8.8"
|
||||||
HOMEPAGE="http://kmymoney2.sourceforge.net/index-home.html"
|
HOMEPAGE="http://kmymoney2.sourceforge.net/index-home.html"
|
||||||
DOWNLOAD="http://dl.sourceforge.net/kmymoney2/kmymoney2-0.8.6.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/kmymoney2/kmymoney2-0.8.8.tar.bz2"
|
||||||
MD5SUM="4a1f1ff16c1f02d4e6ce3263c44daf74"
|
MD5SUM="3b31f026b6065ce65a1948fb91e804d0"
|
||||||
MAINTAINER="Michiel van Wessem"
|
MAINTAINER="Michiel van Wessem"
|
||||||
EMAIL="michiel.van.wessem@gmail.com"
|
EMAIL="michiel@slackbuilds.org"
|
||||||
APPROVED="rworkman"
|
APPROVED="rworkman"
|
||||||
|
|
|
@ -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:
|
||||||
kmymoney2: KmyMoney 2 is a simple financial accounting manager for KDE
|
kmymoney2: KmyMoney 2 is a simple financial accounting manager for KDE
|
||||||
kmymoney2: for personal or small-business use.
|
kmymoney2: for personal or small-business use.
|
||||||
|
|
Loading…
Reference in a new issue