actions.py 533 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 get
  6. from pisi.actionsapi import pisitools
  7. from pisi.actionsapi import shelltools
  8. NoStrip = ["/opt", "/usr"]
  9. IgnoreAutodep = True
  10. def setup():
  11. shelltools.system("pwd")
  12. shelltools.system("ar xf vstudio_x64_lin-deb")
  13. shelltools.system("tar xvf data.tar.xz")
  14. def install():
  15. pisitools.insinto("/", "opt")
  16. pisitools.insinto("/", "usr")