summaryrefslogtreecommitdiffstats
path: root/extra/google-chrome/old.Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-13 21:34:24 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-13 21:34:24 +0100
commit5bd014fd796f38c6db1474b9e3155b8900e0a9f3 (patch)
treece1bb334b3844f6b913b527e209cf5779081e4fa /extra/google-chrome/old.Pkgfile
parentbe7d1f018fd899ae0dd7cffb2df0a22d2139d4aa (diff)
downloadnutyx-extra-5bd014fd796f38c6db1474b9e3155b8900e0a9f3.tar.gz
nutyx-extra-5bd014fd796f38c6db1474b9e3155b8900e0a9f3.tar.bz2
nutyx-extra-5bd014fd796f38c6db1474b9e3155b8900e0a9f3.tar.xz
nutyx-extra-5bd014fd796f38c6db1474b9e3155b8900e0a9f3.zip
Ajout de google-chrome#4.0.249.30.1
Diffstat (limited to 'extra/google-chrome/old.Pkgfile')
-rw-r--r--extra/google-chrome/old.Pkgfile42
1 files changed, 42 insertions, 0 deletions
diff --git a/extra/google-chrome/old.Pkgfile b/extra/google-chrome/old.Pkgfile
new file mode 100644
index 000000000..b4f6d6207
--- /dev/null
+++ b/extra/google-chrome/old.Pkgfile
@@ -0,0 +1,42 @@
+name=google-chrome-beta
+version=4.0.249.30
+release=1
+
+source=( args.patch \
+ google-chrome-beta.install )
+if [ "${CARCH}" = 'x86_64' ]; then
+ ARCH='amd64'
+ else
+ ARCH='i386'
+fi
+install=google-chrome-beta.install
+
+build() {
+ #needs rewrite
+ wget -Nc http://dl.google.com/dl/linux/direct/google-chrome-beta_current_${ARCH}.deb
+ ar -x google-chrome-beta_current_$ARCH.deb
+ tar -xf data.tar.lzma
+ mkdir -p $pkgdir/opt $pkgdir/usr/bin $pkgdir/usr/share/applications $pkgdir/usr/lib
+
+ mv opt/google $pkgdir/opt
+ cd $pkgdir/opt/google/chrome
+ patch -p0 < $SRC/args.patch
+
+ cd $pkgdir/usr/bin/
+ ln -s ../../opt/google/chrome/google-chrome
+
+ cd $pkgdir/opt/google/chrome
+ ln -s ../../../usr/lib/firefox/plugins
+
+ cd $pkgdir/usr/share/applications
+ ln -s ../../../opt/google/chrome/google-chrome.desktop
+
+ cd $pkgdir/usr/lib
+ ln -s libnss3.so libnss3.so.1d
+ ln -s libnssutil3.so libnssutil3.so.1d
+ ln -s libsmime3.so libsmime3.so.1d
+ ln -s libssl3.so libssl3.so.1d
+ ln -s libplds4.so libplds4.so.0d
+ ln -s libplc4.so libplc4.so.0d
+ ln -s libnspr4.so libnspr4.so.0d
+}