aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorDaniil Bratashov <dn2010@gmail.com>2015-06-10 04:18:08 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-06-10 04:39:58 +0700
commitf5432c423d88d78dff640aa181e612036cff41d1 (patch)
treedbc1d5323493f39719984b373ec31c50b8de95a6 /academic
parent491fce1a645f51e506446064780a289e159ad71c (diff)
academic/wxmacmolplt: Updated for version 7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/wxmacmolplt/README2
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.SlackBuild14
-rw-r--r--academic/wxmacmolplt/wxmacmolplt.info8
3 files changed, 13 insertions, 11 deletions
diff --git a/academic/wxmacmolplt/README b/academic/wxmacmolplt/README
index 10fdebf3d473..803f99ea8b53 100644
--- a/academic/wxmacmolplt/README
+++ b/academic/wxmacmolplt/README
@@ -4,3 +4,5 @@ MacMolPlt is designed to display the input and output of the GAMESS(US)
and patched to support PCGAMESS/Firefly quantum chemistry packages.
It produces animations and/or publication quality output from a variety
of input file formats.
+
+It can be built with wxGTK3 instead of wxPython.
diff --git a/academic/wxmacmolplt/wxmacmolplt.SlackBuild b/academic/wxmacmolplt/wxmacmolplt.SlackBuild
index 35f93cbdccf7..f9404489c6b5 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.5}
+VERSION=${VERSION:-7.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,13 +62,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix for PCGAMESS new raman activities format
patch -p1 < $CWD/wxmacmolplt-7.2.1-raman.patch
@@ -94,10 +93,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/share/icons/hicolor/128x128/apps
cp resources/wxmacmolplt.png $PKG/usr/share/icons/hicolor/128x128/apps
diff --git a/academic/wxmacmolplt/wxmacmolplt.info b/academic/wxmacmolplt/wxmacmolplt.info
index a8175b109cf1..35434cba58af 100644
--- a/academic/wxmacmolplt/wxmacmolplt.info
+++ b/academic/wxmacmolplt/wxmacmolplt.info
@@ -1,8 +1,8 @@
PRGNAM="wxmacmolplt"
-VERSION="7.5"
-HOMEPAGE="http://code.google.com/p/wxmacmolplt/"
-DOWNLOAD="http://wxmacmolplt.googlecode.com/files/wxmacmolplt-7.5.tar.gz"
-MD5SUM="18be5c5a1c86a92b86f2cadebe1d4c93"
+VERSION="7.6"
+HOMEPAGE="http://brettbode.github.io/wxmacmolplt/"
+DOWNLOAD="https://bintray.com/artifact/download/brettbode/generic/wxmacmolplt-7.6.tar.gz"
+MD5SUM="4ca75436f966d893d7685d8d1365cbce"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ming wxPython"