Skip to content

Instantly share code, notes, and snippets.

@taaem
Last active July 13, 2017 20:19
Show Gist options
  • Save taaem/fc766b4fed33518a996aa773ab00222a to your computer and use it in GitHub Desktop.
Save taaem/fc766b4fed33518a996aa773ab00222a to your computer and use it in GitHub Desktop.
#!/usr/bin/python
# Created For Solus Operating System
from pisi.actionsapi import pisitools, shelltools
NoStrip = ["/opt", "/usr"]
IgnoreAutodep = True
def setup():
shelltools.system("ar xf google-earth-stable_current_amd64.deb")
shelltools.system("tar xvf data.tar.xz")
shelltools.system("mv opt/google/earth/pro/google-earth-pro.desktop .")
def install():
pisitools.insinto("/", "opt")
pisitools.insinto("/usr", "usr/bin")
pisitools.insinto("/usr/share/applications", "google-earth-pro.desktop")
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://solus-project.com/standard/pisi-spec.dtd">
<PISI>
<Source>
<Name>google-earth</Name>
<Homepage>http://www.google.com/earth</Homepage>
<Packager>
<Name>Peter O'Connor</Name>
<Email>[email protected]</Email>
</Packager>
<Summary>3D interface for satellite imagery from Google</Summary>
<Description>Google Earth provides a 3D interface for viewing satellite imagery and maps.</Description>
<License>EULA</License>
<Archive sha1sum="50683e32c72ca3f127e639e12441e8e6b37bf4cb" type="binary">https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb</Archive>
<BuildDependencies>
<Dependency>binutils</Dependency>
</BuildDependencies>
</Source>
<Package>
<RuntimeDependencies>
<Dependency>fontconfig</Dependency>
<Dependency>libglu</Dependency>
<Dependency>mesalib</Dependency>
</RuntimeDependencies>
<Name>google-earth</Name>
<Icon>google-earth</Icon>
<Files>
<Path fileType="data">/lib</Path>
<Path fileType="data">/opt/google/earth</Path>
<Path fileType="data">/usr</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>19-01-2017</Date>
<Version>7.1.8.3036</Version>
<Comment>Update to 7.1.8.3036</Comment>
<Name>Peter O'Connor</Name>
<Email>[email protected]</Email>
</Update>
</History>
<History>
<Update release="2">
<Date>25-10-2016</Date>
<Version>7.1.7.2606</Version>
<Comment>Update to 7.1.7.2606</Comment>
<Name>Peter O'Connor</Name>
<Email>[email protected]</Email>
</Update>
</History>
<History>
<Update release="1">
<Date>09-06-2016</Date>
<Version>7.1.7.2600</Version>
<Comment>Add google-earth to repositories</Comment>
<Name>Peter O'Connor</Name>
<Email>[email protected]</Email>
</Update>
</History>
</PISI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment