summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2020-01-05 00:21:38 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:59 +0700
commitbf827b924a1e66676e6d7bd1f2b9bd44b01e83c5 (patch)
tree51827966a9cb27c770fb88e498aeb6b5c70a5a62
parent7a1da46683546f5c490cf6f2529105114253467f (diff)
downloadslackbuilds-bf827b924a1e66676e6d7bd1f2b9bd44b01e83c5.tar.gz
academic/megax: Updated for version 10.1.6_1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--academic/megax/megax.SlackBuild11
-rw-r--r--academic/megax/megax.info10
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"