Update actions.py

This commit is contained in:
Berk Çakar
2021-04-13 23:32:56 +03:00
committed by GitHub
parent 7446b73f4a
commit f8c537ca02
+6 -17
View File
@@ -2,29 +2,18 @@
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools
from pisi.actionsapi import autotools
from pisi.actionsapi import mesontools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
autotools.configure("--disable-static \
--enable-python \
--enable-introspection \
--libexecdir=/usr/lib/vte \
--localstatedir=/var \
--without-glX \
--disable-gtk-doc")
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
mesontools.configure("-D_systemd=false")
def build():
autotools.make()
mesontools.build()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
mesontools.install()
pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING*", "NEWS")
pisitools.dodoc("AUTHORS", "README.md", "COPYING*")