actions.py 695 B

123456789101112131415161718192021222324252627
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file http://www.gnu.org/licenses/old-licenses/gpl.txt
  6. from pisi.actionsapi import shelltools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import get
  9. WorkDir = "x86_64"
  10. NoStrip = ["/opt", "/usr"]
  11. IgnoreAutodep = True
  12. def setup():
  13. shelltools.system("pwd")
  14. shelltools.system("ar xf google-talkplugin_5.41.0.0-1_amd64.deb")
  15. shelltools.system("tar xvf data.tar.*")
  16. def install():
  17. pisitools.insinto("/", "opt")
  18. pisitools.insinto("/", "usr")
  19. pisitools.removeDir("/opt/google/chrome-unstable")
  20. pisitools.removeDir("/opt/google/chrome-beta")