|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2008,2009,2011,2012,2013 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2008,2009,2011,2012,2013,2014 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -29,7 +29,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-pymol} |
|
|
|
|
VERSION=${VERSION:-1.6.0.0} |
|
|
|
|
VERSION=${VERSION:-1.7.0.0} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-v$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-https://downloads.sourceforge.net/pymol/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -92,6 +92,7 @@ mv $PKG/$SITEPKG/pymol/pymol_path $PKG/usr/share/pymol
|
|
|
|
|
# setup.py, to add the PYMOL_DATA and PYMOL_SCRIPTS variables) |
|
|
|
|
cat > $PKG/usr/bin/pymol <<EOF |
|
|
|
|
#!/bin/sh |
|
|
|
|
export PYMOL_PATH=/usr/share/pymol |
|
|
|
|
export PYMOL_DATA=/usr/share/pymol/data |
|
|
|
|
export PYMOL_SCRIPTS=/usr/share/pymol/scripts |
|
|
|
|
python $SITEPKG/pymol/__init__.py \$* |
|
|
|
|