aboutsummaryrefslogtreecommitdiff
path: root/office/kmymoney/kmymoney.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/kmymoney/kmymoney.SlackBuild')
-rw-r--r--office/kmymoney/kmymoney.SlackBuild7
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 \