🔒 Repository is read-only – file editing is disabled.

recipes/gui/chrome/PAGBUILD.yaml main

44 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041424344
pkgname: chrome
pkgver: '137.0.7151.55'
pkgrel: '1'
pkgdesc: 'The popular and trusted web browser by Google (Stable Channel)'
url: 'https://www.google.com/chrome'
arch: x86_64
depends:
- 'xorg-libxscrnsaver'
- 'hicolor-icon-theme'
- 'desktop-file-utils'
- 'gtk-update-icon-cache'
- 'shared-mime-info'

makedepends:
- 'alsa-lib'
- gtk3
- cups
- 'xorg-libxscrnsaver'
- 'xorg-libxtst'
- nss

source:
- 'https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb'

sha256sums:
- SKIP

build: |
  bsdtar -xf *.deb
  bsdtar -xf data.tar.xz -C "${PKGDIR}/"

   # Icons
   for i in 16x16 24x24 32x32 48x48 64x64 128x128 256x256; do
     install -Dm644 "${PKGDIR}"/opt/google/chrome/product_logo_${i/x*}.png \
                    "${PKGDIR}"/usr/share/icons/hicolor/$i/apps/google-chrome.png
   done

   sed -i "/Exec=/i\StartupWMClass=Google-chrome" "${PKGDIR}"/usr/share/applications/google-chrome.desktop

   rm -r "${PKGDIR}"/etc/cron.daily/ "${PKGDIR}"/opt/google/chrome/cron/
   rm "${PKGDIR}"/opt/google/chrome/product_logo_*.png

package: |
  true