Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Commit

Permalink
PKGBUILD: upstream changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xsmile authored and gcarq committed Dec 11, 2017
1 parent 9e8f465 commit dec55a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ inox-*.tar*
test*
chromium-freetype2/
*.log
chromium-*.txt
6 changes: 4 additions & 2 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ optdepends=('pepper-flash: support for Flash content'
install=inox.install
source=(https://commondatastorage.googleapis.com/chromium-browser-official/chromium-$pkgver.tar.xz
chromium-launcher-$_launcher_ver.tar.gz::https://github.com/foutrelis/chromium-launcher/archive/v$_launcher_ver.tar.gz
chromium-$pkgver.txt::https://chromium.googlesource.com/chromium/src.git/+/$pkgver?format=TEXT
https://raw.githubusercontent.com/gcarq/inox-patchset/$pkgver/product_logo_{16,22,24,32,48,64,128,256}.png
# Patches from Arch Linux
https://raw.githubusercontent.com/gcarq/inox-patchset/$pkgver/chromium-exclude_unwind_tables.patch
Expand Down Expand Up @@ -63,6 +64,7 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom

sha256sums=('6de2754dfc333675ae6a67ae13c95666009b35c84f847b058edbf312e42fa3af'
'4dc3428f2c927955d9ae117f2fb24d098cc6dd67adb760ac9c82b522ec8b0587'
'782a512b8bcf4aa6e58036cc3454d037d0eea69f27d5b673902d494c3fb5b20d'
'71471fa4690894420f9e04a2e9a622af620d92ac2714a35f9a4c4e90fa3968dd'
'4a533acefbbc1567b0d74a1c0903e9179b8c59c1beabe748850795815366e509'
'7b88830c5e0e9819f514ad68aae885d427541a907e25607e47dee1b0f38975fd'
Expand Down Expand Up @@ -127,8 +129,8 @@ prepare() {

msg2 'Applying build patches'
# https://crbug.com/710701
local _chrome_build_hash=$(curl -s https://chromium.googlesource.com/chromium/src.git/+/$pkgver?format=TEXT |
base64 -d | grep -Po '^parent \K[0-9a-f]{40}$')
local _chrome_build_hash=$(base64 -d ../chromium-$pkgver.txt |
grep -Po '^parent \K[0-9a-f]{40}$')
if [[ -z $_chrome_build_hash ]]; then
error "Unable to fetch Chrome build hash."
return 1
Expand Down

0 comments on commit dec55a5

Please sign in to comment.