Files
main/editor/geany/actions.py
T
2025-07-06 18:58:23 +03:00

30 lines
691 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# 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 pisitools
from pisi.actionsapi import get
j = ''.join([
' --enable-vte',
' --with-python-command=python3',
' --disable-static '
])
shelltools.export("PYTHON", "/usr/bin/python3")
def setup():
autotools.configure(j)
pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ")
def build():
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())