Mercurial > repos > fubar > jbrowse2
view x/conda_build.sh @ 129:d08080933718 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 6d8a6a308c219c112dbfc09fe48ad462746d6fb0
author | fubar |
---|---|
date | Mon, 07 Oct 2024 08:55:19 +0000 |
parents | 49f3d3878413 |
children |
line wrap: on
line source
if [ -z ${CONDA_BUILD+x} ]; then source /opt/conda/conda-bld/jbrowse2_1726856947541/work/build_env_setup.sh fi #!/bin/bash # Place the jbrowse2 www content in the conda package mkdir -p $PREFIX/opt/jbrowse2/ cp -r * $PREFIX/opt/jbrowse2/ # Set an env var for people willing to find the jbrowse2 www content mkdir -p $PREFIX/etc/conda/activate.d/ echo "export JBROWSE2_SOURCE_DIR=$PREFIX/opt/jbrowse2" > $PREFIX/etc/conda/activate.d/jbrowse2-sourcedir.sh chmod a+x $PREFIX/etc/conda/activate.d/jbrowse2-sourcedir.sh mkdir -p $PREFIX/etc/conda/deactivate.d/ echo "unset JBROWSE2_SOURCE_DIR" > $PREFIX/etc/conda/deactivate.d/jbrowse2-sourcedir.sh chmod a+x $PREFIX/etc/conda/deactivate.d/jbrowse2-sourcedir.sh # Install the CLI npm install --prefix=${PREFIX} -g @jbrowse/cli@${PKG_VERSION}