summaryrefslogtreecommitdiff
path: root/office/kmymoney/kmymoney.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kmymoney/kmymoney.SlackBuild')
-rw-r--r--office/kmymoney/kmymoney.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/office/kmymoney/kmymoney.SlackBuild b/office/kmymoney/kmymoney.SlackBuild
index 3ed282822f..0c80717ff8 100644
--- a/office/kmymoney/kmymoney.SlackBuild
+++ b/office/kmymoney/kmymoney.SlackBuild
@@ -2,8 +2,7 @@
# SlackBuild script for kmymoney
-# Maintained by Gilcio Amaral <gilcio.amaral@gmail.com.
-
+# Copyright 2010 Gilcio Amaral <gilcio.amaral@gmail.com.
# Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom
# All rights reserved.
#
@@ -27,7 +26,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kmymoney
-VERSION=${VERSION:-4.5.3}
+VERSION=${VERSION:-4.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,13 +57,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION-2.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -82,6 +81,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
+
make VERBOSE=1
make install VERBOSE=1 DESTDIR=$PKG
cd ..
@@ -93,7 +93,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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS BUGS COPYING ChangeLog* INSTALL README* TODO \
+cp -a AUTHORS BUGS COPYING ChangeLog* INSTALL README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild