26 lines
542 B
Plaintext
Executable File
26 lines
542 B
Plaintext
Executable File
#!/usr/bin/env modbuild
|
|
|
|
pbuild::add_to_group 'MX'
|
|
|
|
|
|
pbuild::prep() {
|
|
git clone https://github.com/schrodinger/pymol-open-source.git
|
|
}
|
|
|
|
pbuild::configure() {
|
|
git clone -b 0.9.9.8 https://github.com/g-truc/glm.git $SRC_DIR/glm/
|
|
cp -r $SRC_DIR/glm/glm/ $SRC_DIR/pymol-open-source/include/
|
|
}
|
|
|
|
pbuild::compile() {
|
|
cd "$SRC_DIR/pymol-open-source/"
|
|
python3.8 setup.py install --prefix "$PREFIX/" --no-vmd-plugins --use-msgpackc=no
|
|
}
|
|
|
|
pbuild::install(){
|
|
:
|
|
#mkdir -p "$PREFIX/bin"
|
|
#cp "$SRC_DIR/bin/pymol" "$PREFIX/bin/pymol"
|
|
}
|
|
|