Initial packaging for gnome-browser-connector

Required to install extensions from GNOME Extensions website.
This commit is contained in:
Bahar KURT
2025-08-16 15:34:42 +03:00
parent 142adfc3e4
commit 0c0b3f480d
2 changed files with 72 additions and 0 deletions
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/copyleft/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import mesontools
from pisi.actionsapi import get
def setup():
mesontools.configure()
def build():
mesontools.build()
def install():
mesontools.install()
# Fixup for Python version
# Pisi Linux links main Python executable to Python2, which causes
# issues with the connector and its host process
shelltools.system("""sed -i -e '/#!/s/python/python3/' %s/usr/bin/gnome-browser-connector*""" % get.installDIR())
pisitools.dodoc("NEWS", "LICENSE*")