actions.py 596 B

1234567891011121314151617181920212223
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 3.
  5. # See the file https://www.gnu.org/licenses/gpl-3.0.txt
  6. from pisi.actionsapi import mesontools
  7. from pisi.actionsapi import pisitools
  8. def setup():
  9. pisitools.dosed("meson.build", "sendto", deleteLine=True)
  10. mesontools.configure("-Dgtk_doc=false \
  11. -Dintrospection=true \
  12. --libexec=/usr/lib")
  13. def build():
  14. mesontools.build()
  15. def install():
  16. mesontools.install()
  17. pisitools.dodoc("AUTHORS", "COPYING", "NEWS", "README.md")