Skip to content

Commit

Permalink
Add Microsoft Edge stable version
Browse files Browse the repository at this point in the history
  • Loading branch information
GZGavinZhao committed Nov 3, 2021
1 parent f9cc051 commit 3dd3346
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
3 changes: 3 additions & 0 deletions msedge/component.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<PISI>
<Name>network.web.browser</Name>
</PISI>
22 changes: 22 additions & 0 deletions msedge/microsoft-edge/actions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/python

# Created For Solus Operating System

from pisi.actionsapi import get, pisitools, shelltools

NoStrip = ["/opt", "/usr", "/etc"]
IgnoreAutodep = True

# Should not change.
Suffix = "-1"

def setup():
shelltools.system("pwd")
shelltools.system("ar xf microsoft-edge-stable_%s-1_amd64.deb" % (get.srcVERSION()))
shelltools.system("tar xvf data.tar.xz")
shelltools.system("ln -s /opt/microsoft/msedge-dev/product_logo_128_dev.png /usr/share/pixmaps/microsoft-edge-dev.png")

def install():
pisitools.insinto("/", "opt")
pisitools.insinto("/", "usr")
pisitools.insinto("/", "etc")
43 changes: 43 additions & 0 deletions msedge/microsoft-edge/pspec.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://getsol.us/standard/pisi-spec.dtd">
<PISI>
<Source>
<Name>Microsoft Edge</Name>
<Homepage>https://www.microsoft.com/en-us/edge</Homepage>
<Packager>
<Name>Gavin Zhao</Name>
<Email>[email protected]</Email>
</Packager>
<Summary>The web browser from Microsoft</Summary>
<Description>Microsoft Edge is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier</Description>
<License>Proprietary</License>
<Archive sha1sum="49a9f94818cad81e8694eaf1570a11de92ac9fec" type="binary">https://packages.microsoft.com/repos/edge/pool/main/m/microsoft-edge-stable/microsoft-edge-stable_95.0.1020.40-1_amd64.deb</Archive>
<BuildDependencies>
<Dependency>libxscrnsaver</Dependency>
<Dependency>gconf</Dependency>
<Dependency>binutils</Dependency>
</BuildDependencies>
</Source>

<Package>
<Name>microsoft-edge</Name>
<Icon>microsoft-edge</Icon>
<Files>
<Path fileType="*">/</Path>
</Files>
<RuntimeDependencies>
<Dependency>libxscrnsaver</Dependency>
<Dependency>gconf</Dependency>
</RuntimeDependencies>
</Package>

<History>
<Update release="1">
<Date>03-11-2021</Date>
<Version>95.0.1020.40</Version>
<Comment>Initial Microsoft Edge stable.</Comment>
<Name>Gavin Zhao</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>

0 comments on commit 3dd3346

Please sign in to comment.