24 lines
837 B
Python
24 lines
837 B
Python
#!/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 get
|
|
from pisi.actionsapi import pisitools
|
|
from pisi.actionsapi import shelltools
|
|
|
|
NoStrip = ["/usr"]
|
|
IgnoreAutodep = True
|
|
|
|
Version = get.srcVERSION()
|
|
|
|
def setup():
|
|
shelltools.system("ar xf microsoft-edge-stable_%s-1_amd64.deb" % get.srcVERSION())
|
|
shelltools.system("tar xvf data.tar.xz")
|
|
shelltools.system("rm -rf microsoft-edge-stable_%s-1_amd64.deb" % get.srcVERSION())
|
|
|
|
def install():
|
|
pisitools.insinto("/opt/microsoft", "opt/microsoft/msedge*")
|
|
pisitools.insinto("/usr/", "./usr/*")
|
|
pisitools.insinto("/etc/", "./etc/*")
|
|
pisitools.dosym("/opt/microsoft/msedge/product_logo_256.png", "/usr/share/pixmaps/microsoft-edge.png") |