actions.py 598 B

12345678910111213141516171819202122
  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 pisitools
  7. from pisi.actionsapi import mesontools
  8. def setup():
  9. mesontools.configure("-Dgtkdoc=true \
  10. --libexecdir=/usr/lib")
  11. def build():
  12. mesontools.build()
  13. def install():
  14. mesontools.install()
  15. pisitools.dodoc("LICENSE", "README*")
  16. # remove installed tests
  17. pisitools.removeDir("/usr/lib/installed-tests/")
  18. pisitools.removeDir("/usr/share/installed-tests/")