diff options
author | Gilcio Amaral <gilcio.amaral@gmail.com> | 2010-07-05 14:39:55 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-07-06 02:33:55 -0500 |
commit | 6df3ca4bae71fb9d51bb70feffb762524fba7f98 (patch) | |
tree | e24e780fe87b231963a8ce1a675d4cb34824d250 /office/kmymoney/kmymoney.SlackBuild | |
parent | 8939bda3eaffc963b2749e6cf77f715862584888 (diff) |
office/kmymoney: Fixed slack-desc and build tweaks.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/kmymoney/kmymoney.SlackBuild')
-rw-r--r-- | office/kmymoney/kmymoney.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/office/kmymoney/kmymoney.SlackBuild b/office/kmymoney/kmymoney.SlackBuild index b313f79e4a101..25adaf6d8f3d2 100644 --- a/office/kmymoney/kmymoney.SlackBuild +++ b/office/kmymoney/kmymoney.SlackBuild @@ -2,8 +2,8 @@ # SlackBuild script for kmymoney +# Written by Gilcio Amaral <gilcio.amaral@gmail.com. # Copyright 2007-2008 Michiel van Wessem, Manchester, United Kingdom -# Copyright 2010 Gilcio Amaral <gilcio.amaral@gmail.com. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -27,13 +27,15 @@ PRGNAM=kmymoney VERSION=${VERSION:-3.98.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; + # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -90,6 +92,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 \ |