diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2020-12-06 15:40:44 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-12-12 07:09:29 +0700 |
commit | ab2ee18691720456c24168546ee90569522823e9 (patch) | |
tree | 399109d7504e62fc0f0b6609b2158c51809a2ef9 | |
parent | e06ac49397e54381ba46f46939b20dbd0d9267ef (diff) | |
download | slackbuilds-ab2ee18691720456c24168546ee90569522823e9.tar.gz |
office/moneydance: Updated for version 2021.2006.
This version only works on x86_64, so x86 users are out of luck.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | office/moneydance/moneydance.SlackBuild | 25 | ||||
-rw-r--r-- | office/moneydance/moneydance.info | 10 |
2 files changed, 19 insertions, 16 deletions
diff --git a/office/moneydance/moneydance.SlackBuild b/office/moneydance/moneydance.SlackBuild index 8d51115337..3a4bf1be72 100644 --- a/office/moneydance/moneydance.SlackBuild +++ b/office/moneydance/moneydance.SlackBuild @@ -1,8 +1,8 @@ #!/bin/sh -# + # Slackware build script for moneydance -# Copyright 2008-2017 Robby Workman, Tuscaloosa, AL, USA +# Copyright 2008-2020 Robby Workman, Tuscaloosa, AL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=moneydance -VERSION=${VERSION:-2017.1597} +VERSION=${VERSION:-2021.2006} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -38,9 +38,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ]; then - MDARCH=x86 -elif [ "$ARCH" = "x86_64" ]; then +if [ "$ARCH" = "x86_64" ]; then MDARCH=amd64 else printf "$ARCH is not supported.\n"; exit 1 @@ -48,13 +46,17 @@ fi set -e -rm -rf $PKG -mkdir -p $PKG/opt $OUTPUT -tar xvf $CWD/Moneydance_linux_${MDARCH}.tar.gz -C $PKG/opt +rm -rf $TMP/$PRGNAM $PKG +mkdir -p $TMP/$PRGNAM $PKG +cd $TMP/$PRGNAM +ar -x $CWD/${PRGNAM}_linux_amd64.deb +tar xvf data.tar.bz2 -C $PKG + +rm -f $PKG/opt/Moneydance/create_desktop_file.sh mkdir -p $PKG/usr/bin ln -s /opt/Moneydance/Moneydance $PKG/usr/bin/moneydance -ln -s /opt/Moneydance/Moneydance $PKG/usr/bin +ln -s /opt/Moneydance/Moneydance $PKG/usr/bin/Moneydance mkdir -p $PKG/usr/share/applications cat $CWD/moneydance.desktop > $PKG/usr/share/applications/$PRGNAM.desktop @@ -65,8 +67,9 @@ ln -s /opt/Moneydance/resources/moneydance_icon32.png \ $PKG/usr/share/pixmaps/$PRGNAM.png mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mv $PKG/opt/Moneydance/README.md $PKG/usr/doc/$PRGNAM-$VERSION ln -s /opt/Moneydance/resources/license.txt \ - $PKG/usr/doc/$PRGNAM-$VERSION + $PKG/usr/doc/$PRGNAM-$VERSION/license.txt cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/office/moneydance/moneydance.info b/office/moneydance/moneydance.info index 7cb9d06d34..5144ebfca4 100644 --- a/office/moneydance/moneydance.info +++ b/office/moneydance/moneydance.info @@ -1,10 +1,10 @@ PRGNAM="moneydance" -VERSION="2017.1597" +VERSION="2020.2006" HOMEPAGE="http://moneydance.com" -DOWNLOAD="http://infinitekind.com/stabledl/2017/Moneydance_linux_x86.tar.gz" -MD5SUM="a238bf03130bdf944fecd1fcf2ab8bb7" -DOWNLOAD_x86_64="http://infinitekind.com/stabledl/2017/Moneydance_linux_amd64.tar.gz" -MD5SUM_x86_64="80ce4c0c690c483bb09cf22d0ac64cab" +DOWNLOAD="UNSUPPORTED" +MD5SUM="" +DOWNLOAD_x86_64="https://infinitekind.com/stabledl/current/moneydance_linux_amd64.deb" +MD5SUM_x86_64="a537fa1f72492d6de2e60aae09c87b8b" REQUIRES="" MAINTAINER="Robby Workman" EMAIL="rworkman@slackbuilds.org" |