actions.py 642 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 autotools, pisitools, get
  7. def setup():
  8. # fix build failure w/ xfce4-panel-4.15.0
  9. #pisitools.dosed("src/smartbookmark.c", "<libxfce4panel/xfce-panel-plugin.h>", "<libxfce4panel/libxfce4panel.h>")
  10. autotools.configure()
  11. pisitools.dosed("libtool", " -shared ", " -Wl,--as-needed -shared ")
  12. def build():
  13. autotools.make()
  14. def install():
  15. autotools.rawInstall("DESTDIR=%s" % get.installDIR())
  16. pisitools.dodoc("AUTHORS", "NEWS")