Files
2026-06-27 23:27:13 +03:00

19 lines
564 B
Python

#!/usr/bin/env python3
# -*- 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 get, pisitools, shelltools
def setup():
#shelltools.system("pwd")
shelltools.system("unzip brave-browser-%s-linux-amd64.zip" % get.srcVERSION())
shelltools.system("rm brave-browser-%s-linux-amd64.zip" % get.srcVERSION())
def install():
pisitools.insinto("/opt/brave-browser/", "*")
pisitools.dosym("/opt/brave-browser/brave","/usr/bin/brave-browser")