diff options
Diffstat (limited to 'graphics/PyMOL/PyMOL.SlackBuild')
-rw-r--r-- | graphics/PyMOL/PyMOL.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/graphics/PyMOL/PyMOL.SlackBuild b/graphics/PyMOL/PyMOL.SlackBuild index 6d01b9550b4d6..d062b96b076b3 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 |