actions.py 650 B

1234567891011121314151617181920212223242526
  1. #!/usr/bin/env 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 autotools
  7. from pisi.actionsapi import pisitools
  8. from pisi.actionsapi import mesontools
  9. from pisi.actionsapi import shelltools
  10. from pisi.actionsapi import get
  11. def setup():
  12. shelltools.system(""" sed -i -r 's:"(/system):"/org/gnome\1:g' src/external.gschema.xml""")
  13. mesontools.configure()
  14. def build():
  15. mesontools.build()
  16. def install():
  17. mesontools.install()
  18. pisitools.removeDir("/usr/lib/systemd")
  19. pisitools.dodoc("COPYING*", "README*")