solbuilds/chrome/package.yml

30 lines
1.5 KiB
YAML

name : chrome
version : 64.0.3282.186
release : 2
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 : 8fc43db275b3efbf3279aaabe8d1d5051bbe072e386152b906c08ac15bad08eb
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