actions.py 490 B

12345678910111213141516171819
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. # Licensed under the GNU General Public License, version 3.
  4. # See the file http://www.gnu.org/copyleft/gpl.txt
  5. from pisi.actionsapi import shelltools
  6. from pisi.actionsapi import autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. def install():
  10. shelltools.cd("..")
  11. shelltools.move("projectlibre-%s" % get.srcVERSION(),"projectlibre")
  12. pisitools.dodir("/opt")
  13. pisitools.insinto("/opt","projectlibre")