Updated README to reflect the current qmake project file structure.
[engrid.git] / setup_opensuse.bash
blobe5fdee975987cca7c39f307bd4d776a586b7f8db
1 #!/usr/bin/env bash
2 olddir=`pwd`
3 cd `dirname $0`
4 sudo zypper addrepo http://download.opensuse.org/repositories/science/openSUSE_11.4/ science
5 sudo zypper install vtk-qt
6 cp engrid iengrid
7 echo "`pwd`/run.bash" >> iengrid
8 sudo cp iengrid /usr/bin/engrid
9 cp engrid.desktop iengrid.desktop
10 echo "Icon=`pwd`/src/libengrid/resources/icons/G.png" >> iengrid.desktop
11 sudo cp iengrid.desktop /usr/share/applications/engrid.desktop
12 cd $olddir
13 echo "You can start enGrid by typing 'engrid' from the command line (as non-root user) or with the help of the desktop menus."