actions.py 686 B

123456789101112131415161718192021222324252627282930
  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 pisitools
  7. from pisi.actionsapi import autotools
  8. j = ''.join([
  9. ' --enable-pinentry-tty',
  10. ' --enable-pinentry-curses',
  11. ' --enable-pinentry-gnome3',
  12. ' --enable-pinentry-qt5 '
  13. ])
  14. def setup():
  15. autotools.configure(j)
  16. def build():
  17. autotools.make()
  18. def install():
  19. autotools.install()
  20. # We're using pinentry-wrapper as additional file instead of upstream pinentry symlink.
  21. pisitools.remove("/usr/bin/pinentry")
  22. pisitools.dodoc("AUTHORS", "NEWS", "THANKS")