mirror of
https://github.com/luzifer-aur/google-chrome-dev.git
synced 2024-12-20 23:01:16 +00:00
rm patch + fix build
This commit is contained in:
parent
b4e2c278dd
commit
a627ecc712
2 changed files with 6 additions and 14 deletions
4
.SRCINFO
4
.SRCINFO
|
@ -1,7 +1,7 @@
|
|||
pkgbase = google-chrome-dev
|
||||
pkgdesc = An attempt at creating a safer, faster, and more stable browser (Dev Channel)
|
||||
pkgver = 56.0.2897.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://www.google.com/chrome
|
||||
install = google-chrome-dev.install
|
||||
arch = x86_64
|
||||
|
@ -33,11 +33,9 @@ pkgbase = google-chrome-dev
|
|||
source = google-chrome-unstable_56.0.2897.0_amd64.deb::https://dl.google.com/linux/direct/google-chrome-unstable_current_amd64.deb
|
||||
source = https://www.google.com/chrome/browser/privacy/eula_text.html
|
||||
source = google-chrome-unstable.sh
|
||||
source = StartupWMClass-and-GNOME3-context-menu.patch
|
||||
md5sums = b8df8444d99820e91298b6c052cddd61
|
||||
md5sums = SKIP
|
||||
md5sums = 11b55a3fec7279db32b63e3a0b97dc01
|
||||
md5sums = 12ad81f7e06457c9fa7e2536d32f2bd0
|
||||
|
||||
pkgname = google-chrome-dev
|
||||
|
||||
|
|
16
PKGBUILD
16
PKGBUILD
|
@ -6,7 +6,7 @@
|
|||
|
||||
pkgname=google-chrome-dev
|
||||
pkgver=56.0.2897.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="An attempt at creating a safer, faster, and more stable browser (Dev Channel)"
|
||||
arch=('x86_64')
|
||||
url="https://www.google.com/chrome"
|
||||
|
@ -22,12 +22,10 @@ install=$pkgname.install
|
|||
_channel=unstable
|
||||
source=("google-chrome-${_channel}_${pkgver}_amd64.deb::https://dl.google.com/linux/direct/google-chrome-${_channel}_current_amd64.deb"
|
||||
"$url/browser/privacy/eula_text.html"
|
||||
'google-chrome-unstable.sh'
|
||||
'StartupWMClass-and-GNOME3-context-menu.patch')
|
||||
'google-chrome-unstable.sh')
|
||||
md5sums=('b8df8444d99820e91298b6c052cddd61'
|
||||
'SKIP'
|
||||
'11b55a3fec7279db32b63e3a0b97dc01'
|
||||
'12ad81f7e06457c9fa7e2536d32f2bd0')
|
||||
'11b55a3fec7279db32b63e3a0b97dc01')
|
||||
|
||||
## Previous build (also see: /var/cache/pacman/pkg/google-chrome-dev-*):
|
||||
#source[0]='http://mirror.glendaleacademy.org/chrome/pool/main/g/google-chrome-unstable/google-chrome-unstable_55.0.2883.18-1_amd64.deb'
|
||||
|
@ -53,12 +51,8 @@ package() {
|
|||
# License
|
||||
install -Dm644 eula_text.html "$pkgdir"/usr/share/licenses/google-chrome-$_channel/eula_text.html
|
||||
|
||||
#msg2 "Fixing Chrome icon resolution..."
|
||||
#sed -i "/Exec=/i\StartupWMClass=Google-chrome-$_channel" "$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop
|
||||
|
||||
msg2 "Fixing Chrome icon resolution and GNOME 3 context menu..."
|
||||
cd "$pkgdir"
|
||||
patch -p0 -i "$srcdir"/StartupWMClass-and-GNOME3-context-menu.patch
|
||||
msg2 "Fixing Chrome icon resolution..."
|
||||
sed -i "/Exec=/i\StartupWMClass=Google-chrome-$_channel" "$pkgdir"/usr/share/applications/google-chrome-$_channel.desktop
|
||||
|
||||
msg2 "Removing Debian Cron job and duplicate product logos..."
|
||||
rm -r "$pkgdir"/etc/cron.daily/ "$pkgdir"/opt/google/chrome-$_channel/cron/
|
||||
|
|
Loading…
Reference in a new issue