diff options
-rw-r--r-- | office/kmymoney2/README | 1 | ||||
-rw-r--r-- | office/kmymoney2/doinst.sh | 5 | ||||
-rw-r--r-- | office/kmymoney2/kmymoney2.SlackBuild | 16 | ||||
-rw-r--r-- | office/kmymoney2/kmymoney2.info | 8 | ||||
-rw-r--r-- | office/kmymoney2/slack-desc | 10 |
5 files changed, 28 insertions, 12 deletions
diff --git a/office/kmymoney2/README b/office/kmymoney2/README index 58b2de1805..d9a14aefbe 100644 --- a/office/kmymoney2/README +++ b/office/kmymoney2/README @@ -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. - diff --git a/office/kmymoney2/doinst.sh b/office/kmymoney2/doinst.sh new file mode 100644 index 0000000000..22d4849bce --- /dev/null +++ b/office/kmymoney2/doinst.sh @@ -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 + diff --git a/office/kmymoney2/kmymoney2.SlackBuild b/office/kmymoney2/kmymoney2.SlackBuild index 5977737f5e..d64253a237 100644 --- a/office/kmymoney2/kmymoney2.SlackBuild +++ b/office/kmymoney2/kmymoney2.SlackBuild @@ -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 diff --git a/office/kmymoney2/kmymoney2.info b/office/kmymoney2/kmymoney2.info index 5e7dc4a428..abb15039bf 100644 --- a/office/kmymoney2/kmymoney2.info +++ b/office/kmymoney2/kmymoney2.info @@ -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" diff --git a/office/kmymoney2/slack-desc b/office/kmymoney2/slack-desc index 85fae90ee5..d2cf53b498 100644 --- a/office/kmymoney2/slack-desc +++ b/office/kmymoney2/slack-desc @@ -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. |