summaryrefslogtreecommitdiffstats
path: root/extra/firefox/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-06 19:59:03 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-06 19:59:03 +0100
commitc8c86873f4aaf203e5edcffd6aaecf1408d407b2 (patch)
tree62954eb1b52f0e16a10ec88b536bc7e5b27e38ed /extra/firefox/Pkgfile
parentebc70c4092b91077153392c45930451ea6c0c7ad (diff)
downloadnutyx-extra-c8c86873f4aaf203e5edcffd6aaecf1408d407b2.tar.gz
nutyx-extra-c8c86873f4aaf203e5edcffd6aaecf1408d407b2.tar.bz2
nutyx-extra-c8c86873f4aaf203e5edcffd6aaecf1408d407b2.tar.xz
nutyx-extra-c8c86873f4aaf203e5edcffd6aaecf1408d407b2.zip
Maj firefox#3.5.7-1, ajout du français par défault, utilise son propre xulrunner
Diffstat (limited to 'extra/firefox/Pkgfile')
-rw-r--r--extra/firefox/Pkgfile16
1 files changed, 13 insertions, 3 deletions
diff --git a/extra/firefox/Pkgfile b/extra/firefox/Pkgfile
index 0746a8dfa..5981c6b6c 100644
--- a/extra/firefox/Pkgfile
+++ b/extra/firefox/Pkgfile
@@ -2,12 +2,13 @@
# URL: http://www.mozilla.com/firefox/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: xulrunner, curl
+# Depends on: alsa-lib, gtk, libidl, pango, python, curl
name=firefox
-version=3.5.6
+version=3.5.7
release=1
-source=(http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version.source.tar.bz2
+source=(http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/source/$name-$version.source.tar.bz2\
+ http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/linux-i686/xpi/fr.xpi\
mozconfig firefox.desktop)
build() {
@@ -38,4 +39,13 @@ install -m644 browser/branding/unofficial/default48.png \
$PKG/usr/share/pixmaps/firefox.png
install -m644 ../firefox.desktop \
$PKG/usr/share/applications/
+
+ # Localisation
+ cd ..
+ bsdtar xf fr.xpi
+ cp chrome/fr.jar $PKG/usr/lib/firefox/chrome
+ sed "s|chrome/||" chrome.manifest > $PKG/usr/lib/firefox/chrome/fr.manifest
+ cp install.rdf $PKG/usr/lib/firefox
+ rm $PKG/usr/lib/firefox/chrome/en-US.*
+
}