actions.py 705 B

12345678910111213141516171819202122232425262728
  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 shelltools
  7. from pisi.actionsapi import mesontools
  8. from pisi.actionsapi import pisitools
  9. from pisi.actionsapi import get
  10. def setup():
  11. mesontools.configure("-Dbuildtype=release")
  12. def build():
  13. mesontools.build()
  14. def install():
  15. mesontools.install()
  16. pisitools.remove("/usr/bin/wnck-urgency-monitor")
  17. pisitools.remove("/usr/bin/wnckprop")
  18. #pisitools.removeDir("/usr/share/gtk-doc")
  19. pisitools.removeDir("/usr/bin")
  20. pisitools.dodoc("AUTHORS", "ChangeLog", "NEWS", "MAINTAINERS")