diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2019-02-10 19:34:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-02-17 21:56:31 +0700 |
commit | e310c32a0aae933abb570390f43b7e66a3c757c6 (patch) | |
tree | cf67e5ae5ab7a51a5e387c2b30e4d2ba45526f9c /graphics/PyMOL/PyMOL.SlackBuild | |
parent | 9943ad0a3d1b7abad2953735cf617f7c750e4ae0 (diff) | |
download | slackbuilds-e310c32a0aae933abb570390f43b7e66a3c757c6.tar.gz |
graphics/PyMOL: Updated for version 2.2.0.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
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 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 |