summaryrefslogtreecommitdiff
path: root/academic/wxmacmolplt/wxmacmolplt.SlackBuild
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2016-12-30 15:16:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-12-31 08:22:20 +0700
commit748ebd675afd0a763b4d9076a08b13fea9c7a3ba (patch)
treeb8d1c63c3fd432a814e585d9bae43003c2e2fb2e /academic/wxmacmolplt/wxmacmolplt.SlackBuild
parent67b13229942415f5202f4edc67f579fd225d0543 (diff)
downloadslackbuilds-748ebd675afd0a763b4d9076a08b13fea9c7a3ba.tar.gz
academic/wxmacmolplt: Updated for version 7.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/wxmacmolplt/wxmacmolplt.SlackBuild')
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
index 3a62855cb5..8a40559843 100644
--- a/academic/wxmacmolplt/wxmacmolplt.SlackBuild
+++ b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=wxmacmolplt
-VERSION=${VERSION:-7.6.2}
+VERSION=${VERSION:-7.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,13 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+
+if [ -f $CWD/$PRGNAM-$VERSION.tar.gz ]; then
+ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+elif [ -f $CWD/7pzccnku3uv0mmf6il6yiqghf4b34lc7.gz ]; then
+ tar xvf $CWD/7pzccnku3uv0mmf6il6yiqghf4b34lc7.gz
+fi
+
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \