actions.py 539 B

12345678910111213141516171819202122
  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/gpl.txt
  6. from pisi.actionsapi import get, pisitools, shelltools
  7. NoStrip = ["/usr", "/opt"]
  8. IgnoreAutodep = True
  9. Version = get.srcVERSION()
  10. def setup():
  11. shelltools.system("pwd")
  12. shelltools.system("ar xf slack-desktop-%s-amd64.deb" % Version)
  13. shelltools.system("tar xf data.tar.xz")
  14. def install():
  15. pisitools.insinto("/", "usr")
  16. pisitools.removeDir("/usr/share/lintian")