actions.py 577 B

12345678910111213141516171819202122
  1. #!/usr/bin/python
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Licensed under the GNU General Public License, version 2.
  5. # See the file http://www.gnu.org/copyleft/gpl.txt.
  6. from pisi.actionsapi import mesontools, pisitools
  7. def setup():
  8. pisitools.dosed("data/nemo.desktop.in", "Name=Files", "Name=Nemo")
  9. mesontools.configure("--prefix=/usr \
  10. --libexecdir=/usr/lib/nemo \
  11. --buildtype=plain")
  12. def build():
  13. mesontools.build()
  14. def install():
  15. mesontools.install()
  16. pisitools.dodoc("AUTHORS", "ChangeLog", "README*", "NEWS")