You are not logged in.

#1 2008-09-06 01:14:45

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Google Chrome PKGBUILD [not a request]

PKGBUILD for google Chrome, read important notes and instrucctions below.

# Contributor: LTSmash <lord.ltsmash@gmail.com.com>
pkgname=google_chrome_win32-bin
pkgver=0.2BETA
pkgrel=3
pkgdesc="Google's Open Source Web browser for Win32 (Wine)"
arch=('i686')
url="www.google.com/chrome"
license=('GPL')
groups=()
depends=(wine)
makedepends=(winetricks p7zip)
#install="chrome.install"
source=(http://ftp.hosteurope.de/mirror/stadt-bremerhaven.de/Chrome/Portable_Google_Chrome_04.09.2008.exe)
md5sums=('47e0719dbb8efd5645e104c055860dce')

build() {

  cd $startdir

#Extracting

  mkdir -p $startdir/src/chrome
  7za x -o$startdir/src/chrome $startdir/Portable_Google_Chrome_04.09.2008.exe || return 1

#Installing to /opt
  mkdir -p $startdir/pkg/opt/google/
  cp -R $startdir/src/chrome/Portable_Google_Chrome_04.09.2008 $startdir/pkg/opt/google/chrome || return 1

#Creating links
  chmod a+rx $startdir/pkg/opt/google/
  mkdir -p $startdir/pkg/usr/bin/
  touch $startdir/pkg/usr/bin/gchrome

#Creating launch script:
  echo "winetricks riched20 riched30 flash" | tee $startdir/pkg/usr/bin/gchrome
  echo 'Exec=env WINEPREFIX="$HOME/.wine" wine "/opt/google/chrome/Chrome/chrome.exe" --new-http --in-process-plugins' | tee -a $startdir/pkg/usr/bin/gchrome
  chmod +x $startdir/pkg/usr/bin/gchrome
}

Last edited by LTSmash (2008-09-09 22:42:37)


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

#2 2008-09-09 22:47:48

LTSmash
Member
From: Aguascalientes - Mexico
Registered: 2008-01-02
Posts: 348
Website

Re: Google Chrome PKGBUILD [not a request]

Rel 3: Fixed PKGBUILD.

BUGS: you need to change permissions manually to the install folder "/opt/google" recursively so you can read everything on it and execute too. Try with chown or chmod.

FEATURES: flash support.

INSTRUCTIONS: When asked to extract, just say yes (while building PKG). To execute once installed, just type "gchrome" on a terminal.

AUR PKG HERE

Last edited by LTSmash (2008-09-09 23:01:53)


Proud Ex-Arch user.
Still an ArchLinux lover though.

Currently on Kubuntu 9.10

Offline

Board footer

Powered by FluxBB