From bf827b924a1e66676e6d7bd1f2b9bd44b01e83c5 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Sun, 5 Jan 2020 00:21:38 -0600 Subject: [PATCH] academic/megax: Updated for version 10.1.6_1. Signed-off-by: Robby Workman --- academic/megax/megax.SlackBuild | 11 ++++++----- academic/megax/megax.info | 10 +++++----- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/academic/megax/megax.SlackBuild b/academic/megax/megax.SlackBuild index 544a941f5c..4710ababcc 100644 --- a/academic/megax/megax.SlackBuild +++ b/academic/megax/megax.SlackBuild @@ -4,7 +4,7 @@ # This takes the place of "megacc" in 2018, as it includes also the GUI # of the program (megax) in addition to megacc. -# Copyright 2017-2018 Petar Petrov slackalaxy@gmail.com +# Copyright 2017-2020 Petar Petrov slackalaxy@gmail.com # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,11 +25,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=megax -VERSION=${VERSION:-10.0.5_1} -DEBVER=10.0.5-1 +VERSION=${VERSION:-10.1.6_1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +DEBVER=$(echo $VERSION | tr _ -) + if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i386 ;; @@ -83,8 +84,8 @@ cp -a usr/local/share/man $PKG/usr mkdir -p $PKG/usr/bin cd $PKG/usr/bin -ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/megacc -ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/runmega.sh megax + ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/megacc + ln -s ../lib${LIBDIRSUFFIX}/$PRGNAM/runmega.sh megax cd - find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/academic/megax/megax.info b/academic/megax/megax.info index cf60b8de0d..2f53c52fb5 100644 --- a/academic/megax/megax.info +++ b/academic/megax/megax.info @@ -1,10 +1,10 @@ PRGNAM="megax" -VERSION="10.0.5_1" +VERSION="10.1.6_1" HOMEPAGE="http://www.megasoftware.net/" -DOWNLOAD="https://www.megasoftware.net/releases/megax_10.0.5-1_i386.deb" -MD5SUM="0c6d46f647d967328f0d36dfeb9faf72" -DOWNLOAD_x86_64="https://www.megasoftware.net/releases/megax_10.0.5-1_amd64.deb" -MD5SUM_x86_64="0a292812ef7f006f9f65a267f0c16df5" +DOWNLOAD="https://www.megasoftware.net/releases/megax_10.1.6-1_i386.deb" +MD5SUM="04d125f5dc9fd43ee3550cc65c4c7fbd" +DOWNLOAD_x86_64="https://www.megasoftware.net/releases/megax_10.1.6-1_amd64.deb" +MD5SUM_x86_64="3f3d3f937443e6baca0b8530e075fab8" REQUIRES="" MAINTAINER="Petar Petrov" EMAIL="slackalaxy@gmail.com"