diff options
Diffstat (limited to 'academic/megax/megax.SlackBuild')
-rw-r--r-- | academic/megax/megax.SlackBuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/academic/megax/megax.SlackBuild b/academic/megax/megax.SlackBuild index 544a941f5c2a5..4710ababcc912 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 \ |