From e310c32a0aae933abb570390f43b7e66a3c757c6 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sun, 10 Feb 2019 19:34:30 +0100 Subject: graphics/PyMOL: Updated for version 2.2.0. Signed-off-by: Dimitris Zlatanidis --- graphics/PyMOL/PyMOL.SlackBuild | 17 ++++++++--------- graphics/PyMOL/PyMOL.info | 8 ++++---- graphics/PyMOL/pymol.png | Bin 5331 -> 0 bytes 3 files changed, 12 insertions(+), 13 deletions(-) delete mode 100644 graphics/PyMOL/pymol.png (limited to 'graphics/PyMOL') diff --git a/graphics/PyMOL/PyMOL.SlackBuild b/graphics/PyMOL/PyMOL.SlackBuild index 6d01b9550b..d062b96b07 100644 --- a/graphics/PyMOL/PyMOL.SlackBuild +++ b/graphics/PyMOL/PyMOL.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for PyMOL -# Copyright 2014-2018 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2014-2019 Dimitris Zlatanidis Orestiada, Greece # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=PyMOL -SRCNAM=$(echo ${PRGNAM,,}-v) -VERSION=${VERSION:-2.1.0} -SRCDIR=$(echo $SRCNAM | cut -c1-5) +SRCNAM=$(echo ${PRGNAM,,}-open-source) +VERSION=${VERSION:-2.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCDIR -tar xvf $CWD/$SRCNAM$VERSION.tar.bz2 -cd $SRCDIR +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -82,10 +81,10 @@ mkdir -p $PKG/usr/share/applications install -D -m644 $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop mkdir -p $PKG/usr/share/pixmaps/ -install -D -m644 $CWD/$SRCDIR.png $PKG/usr/share/pixmaps/$SRCDIR.png +install -D -m644 data/pymol/icons/icon2.svg $PKG/usr/share/pixmaps/pymol.svg mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog LICENSE README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog LICENSE README* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/graphics/PyMOL/PyMOL.info b/graphics/PyMOL/PyMOL.info index f4683aef8d..cbb0c4659e 100644 --- a/graphics/PyMOL/PyMOL.info +++ b/graphics/PyMOL/PyMOL.info @@ -1,10 +1,10 @@ PRGNAM="PyMOL" -VERSION="2.1.0" +VERSION="2.2.0" HOMEPAGE="http://pymol.org" -DOWNLOAD="https://sourceforge.net/projects/pymol/files/pymol/2/pymol-v2.1.0.tar.bz2" -MD5SUM="ef2ab2ce11d65785ca3258b4e6982dfb" +DOWNLOAD="https://github.com/schrodinger/pymol-open-source/archive/v2.2.0/pymol-open-source-2.2.0.tar.gz " +MD5SUM="aa6cde489112de7978daf377b265d748" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-pmw msgpack-c" +REQUIRES="python-pmw msgpack-c glm" MAINTAINER="Dimitris Zlatanidis" EMAIL="d.zlatanidis@gmail.com" diff --git a/graphics/PyMOL/pymol.png b/graphics/PyMOL/pymol.png deleted file mode 100644 index 6a5f13dc18..0000000000 Binary files a/graphics/PyMOL/pymol.png and /dev/null differ -- cgit v1.2.3