add: chrome

This commit is contained in:
ZotanWolf 2018-01-30 09:40:39 +01:00
parent 246922cdc9
commit dd0fb5d8d7
4 changed files with 171 additions and 0 deletions

View file

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29a43857e47be3a30b6003263707eeb4a51214c9279c79ab4f147880214175ce
size 60244105

View file

@ -0,0 +1,9 @@
#!/bin/bash
# Allow users to override command-line options
if [[ -f ~/.config/chrome-flags.conf ]]; then
CHROME_USER_FLAGS="$(cat ~/.config/chrome-flags.conf)"
fi
# Launch
exec /opt/google/chrome/google-chrome $CHROME_USER_FLAGS "$@"

31
chrome/package.yml Normal file
View file

@ -0,0 +1,31 @@
name : chrome
version : 64.0.3282.119
release : 1
source :
- https://github.com/dpayne/cli-visualizer/archive/1.6.tar.gz : 111a1fc81be155529cf0232053ad6a3a207c949ff987510c9b283be10eaaf31f
- https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb : a52e7eedf89153b9a284de0a6a59d2144c147f684aca937f9a99f2117d0d46a1
# - https://github.com/dpayne/cli-visualizer/archive/1.6.tar.gz : 111a1fc81be155529cf0232053ad6a3a207c949ff987510c9b283be10eaaf31f
license : Custom
component : network.web.browser
summary : The popular and trusted web browser by Google (Stable Channel)
description: |
The popular and trusted web browser by Google (Stable Channel)
builddeps : [alsa-lib-devel,gconf,libgtk-3-devel,cups-devel,libxtst-devel,nss-mdns]
rundeps : [alsa-lib-devel,gconf,libgtk-3-devel,cups-devel,libxtst-devel,nss-mdns]
strip : false
#build : |
# %make
install : |
rm -rf **
cp $sources/*.deb .
ar x *.deb
mkdir -p "$installdir"
tar -xf data.tar.xz -C "$installdir/"
install -m755 $pkgfiles/google-chrome-stable.sh "$installdir"/usr/bin/chrome
for i in 16x16 22x22 24x24 32x32 48x48 64x64 128x128 256x256; do
install -Dm644 "$installdir"/opt/google/chrome/product_logo_${i/x*}.png \
"$installdir"/usr/share/icons/hicolor/$i/apps/google-chrome.png
done
sed -i "/Exec=/i\StartupWMClass=Google-chrome" "$installdir"/usr/share/applications/google-chrome.desktop
rm -r "$installdir"/etc/cron.daily/ "$installdir"/opt/google/chrome/cron/
rm "$installdir"/opt/google/chrome/product_logo_*.png

128
chrome/pspec_x86_64.xml Normal file
View file

@ -0,0 +1,128 @@
<PISI>
<Source>
<Name>chrome</Name>
<Packager>
<Name>ZotanWolf</Name>
<Email>zotan@zotan.pw</Email>
</Packager>
<License>Custom</License>
<PartOf>network.web.browser</PartOf>
<Summary xml:lang="en">The popular and trusted web browser by Google (Stable Channel)</Summary>
<Description xml:lang="en">The popular and trusted web browser by Google (Stable Channel)
</Description>
<Archive type="binary" sha1sum="79eb0752a961b8e0d15c77d298c97498fbc89c5a">https://solus-project.com/sources/README.Solus</Archive>
</Source>
<Package>
<Name>chrome</Name>
<Summary xml:lang="en">The popular and trusted web browser by Google (Stable Channel)</Summary>
<Description xml:lang="en">The popular and trusted web browser by Google (Stable Channel)
</Description>
<PartOf>network.web.browser</PartOf>
<Files>
<Path fileType="config">/etc</Path>
<Path fileType="data">/opt/google/chrome/chrome</Path>
<Path fileType="data">/opt/google/chrome/chrome-sandbox</Path>
<Path fileType="data">/opt/google/chrome/chrome_100_percent.pak</Path>
<Path fileType="data">/opt/google/chrome/chrome_200_percent.pak</Path>
<Path fileType="data">/opt/google/chrome/default-app-block</Path>
<Path fileType="data">/opt/google/chrome/default_apps/docs.crx</Path>
<Path fileType="data">/opt/google/chrome/default_apps/drive.crx</Path>
<Path fileType="data">/opt/google/chrome/default_apps/external_extensions.json</Path>
<Path fileType="data">/opt/google/chrome/default_apps/gmail.crx</Path>
<Path fileType="data">/opt/google/chrome/default_apps/youtube.crx</Path>
<Path fileType="data">/opt/google/chrome/google-chrome</Path>
<Path fileType="data">/opt/google/chrome/icudtl.dat</Path>
<Path fileType="data">/opt/google/chrome/libwidevinecdm.so</Path>
<Path fileType="data">/opt/google/chrome/libwidevinecdmadapter.so</Path>
<Path fileType="data">/opt/google/chrome/locales/am.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ar.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/bg.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/bn.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ca.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/cs.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/da.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/de.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/el.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/en-GB.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/en-US.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/es-419.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/es.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/et.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/fa.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/fi.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/fil.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/fr.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/gu.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/he.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/hi.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/hr.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/hu.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/id.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/it.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ja.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/kn.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ko.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/lt.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/lv.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ml.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/mr.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ms.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/nb.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/nl.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/pl.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/pt-BR.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/pt-PT.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ro.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ru.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/sk.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/sl.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/sr.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/sv.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/sw.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/ta.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/te.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/th.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/tr.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/uk.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/vi.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/zh-CN.pak</Path>
<Path fileType="data">/opt/google/chrome/locales/zh-TW.pak</Path>
<Path fileType="data">/opt/google/chrome/nacl_helper</Path>
<Path fileType="data">/opt/google/chrome/nacl_helper_bootstrap</Path>
<Path fileType="data">/opt/google/chrome/nacl_irt_x86_64.nexe</Path>
<Path fileType="data">/opt/google/chrome/natives_blob.bin</Path>
<Path fileType="data">/opt/google/chrome/product_logo_32.xpm</Path>
<Path fileType="data">/opt/google/chrome/resources.pak</Path>
<Path fileType="data">/opt/google/chrome/snapshot_blob.bin</Path>
<Path fileType="data">/opt/google/chrome/swiftshader/libEGL.so</Path>
<Path fileType="data">/opt/google/chrome/swiftshader/libGLESv2.so</Path>
<Path fileType="data">/opt/google/chrome/v8_context_snapshot.bin</Path>
<Path fileType="data">/opt/google/chrome/xdg-mime</Path>
<Path fileType="data">/opt/google/chrome/xdg-settings</Path>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="data">/usr/share/appdata/google-chrome.appdata.xml</Path>
<Path fileType="data">/usr/share/applications/google-chrome.desktop</Path>
<Path fileType="doc">/usr/share/doc</Path>
<Path fileType="data">/usr/share/gnome-control-center/default-apps/google-chrome.xml</Path>
<Path fileType="data">/usr/share/icons/hicolor/128x128/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/16x16/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/22x22/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/24x24/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/256x256/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/32x32/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/48x48/apps/google-chrome.png</Path>
<Path fileType="data">/usr/share/icons/hicolor/64x64/apps/google-chrome.png</Path>
<Path fileType="man">/usr/share/man</Path>
<Path fileType="data">/usr/share/menu/google-chrome.menu</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2018-01-30</Date>
<Version>64.0.3282.119</Version>
<Comment>Packaging update</Comment>
<Name>ZotanWolf</Name>
<Email>zotan@zotan.pw</Email>
</Update>
</History>
</PISI>