summaryrefslogtreecommitdiff
path: root/office/moneydance/moneydance.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/moneydance/moneydance.SlackBuild')
-rw-r--r--office/moneydance/moneydance.SlackBuild15
1 files changed, 7 insertions, 8 deletions
diff --git a/office/moneydance/moneydance.SlackBuild b/office/moneydance/moneydance.SlackBuild
index fc9a6852da..96c808762b 100644
--- a/office/moneydance/moneydance.SlackBuild
+++ b/office/moneydance/moneydance.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for moneydance
-# Copyright 2008 Robby Workman, Northport, AL, USA
+# Copyright 2008,2009 Robby Workman, Northport, AL, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=moneydance
-VERSION=2008_b631
-ARCH=x86 # Leave this alone for moneydance
+VERSION=2010_b721
+ARCH=noarch # Leave this alone for moneydance
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,13 +42,12 @@ tar xvf $CWD/moneydance_other.tar.gz -C $PKG/opt
install -D -m 0644 $CWD/moneydance.desktop \
$PKG/usr/share/applications/$PRGNAM.desktop
mkdir $PKG/usr/share/pixmaps
-( cd $PKG/usr/share/pixmaps
- ln -s /opt/moneydance/moneydance.png .
-)
+( cd $PKG/usr/share/pixmaps ; ln -s ../../../opt/moneydance/moneydance.png . )
+( cd $PKG/usr/share/pixmaps ; ln -s ../../../opt/moneydance/moneydance.xpm . )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
( cd $PKG/usr/doc/$PRGNAM-$VERSION
- ln -s /opt/moneydance/license.txt .
+ ln -s ../../../opt/moneydance/license.txt .
cat $CWD/moneydance.SlackBuild > moneydance.SlackBuild
)
@@ -59,4 +58,4 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
chown -R root:root .
chmod -R a-s,go+r-w,u+rw .
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}