From 748ebd675afd0a763b4d9076a08b13fea9c7a3ba Mon Sep 17 00:00:00 2001 From: Daniil Bratashov Date: Fri, 30 Dec 2016 15:16:08 +0700 Subject: academic/wxmacmolplt: Updated for version 7.7. Signed-off-by: Willy Sudiarto Raharjo --- academic/wxmacmolplt/wxmacmolplt.SlackBuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'academic/wxmacmolplt/wxmacmolplt.SlackBuild') diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild index 3a62855cb5dee..8a405598432b9 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 . \ -- cgit v1.2.3