academic/wxmacmolplt: Updated for version 7.6.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
491fce1a64
commit
f5432c423d
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue