summaryrefslogtreecommitdiff
path: root/graphics/PyMOL
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/PyMOL')
-rw-r--r--graphics/PyMOL/PyMOL.SlackBuild17
-rw-r--r--graphics/PyMOL/PyMOL.info8
-rw-r--r--graphics/PyMOL/pymol.pngbin5331 -> 0 bytes
3 files changed, 12 insertions, 13 deletions
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
--- a/graphics/PyMOL/pymol.png
+++ /dev/null
Binary files differ