31 lines
1.6 KiB
YAML
31 lines
1.6 KiB
YAML
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 |