actions.py 541 B

123456789101112131415161718192021
  1. #!/usr/bin/env python3
  2. # -*- coding: utf-8 -*-
  3. #
  4. # Copyright (C) 2018 Suleyman POYRAZ (Zaryob)
  5. # Licensed under the GNU General Public License, version 2.
  6. # See the file http://www.gnu.org/copyleft/gpl.txt.
  7. from inary.actionsapi import autotools
  8. from inary.actionsapi import inarytools
  9. from inary.actionsapi import get
  10. def setup():
  11. autotools.configure("--prefix=/usr --bindir=/bin")
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall('DESTDIR="%s"' % get.installDIR())
  16. inarytools.dosym("tcsh", "/bin/csh")