diff options
Diffstat (limited to 'extra/firefox/Pkgfile')
-rw-r--r-- | extra/firefox/Pkgfile | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/extra/firefox/Pkgfile b/extra/firefox/Pkgfile index fb005e604..f163440f1 100644 --- a/extra/firefox/Pkgfile +++ b/extra/firefox/Pkgfile @@ -1,4 +1,4 @@ -# Decription: Navigateur internet de Mozilla +# Decript:qion: Navigateur internet de Mozilla # URL: http://www.mozilla.com/firefox/ # Maintainer: NuTyX core team # Packager: thierryn1 at hispeed dot ch @@ -7,9 +7,13 @@ name=firefox version=4.0 -release=3 +release=4 + +[ "`uname -m`" == "i686" ] && _ARCH=i686 +[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 + 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\ + http://releases.mozilla.org/pub/mozilla.org/$name/releases/$version/linux-${_ARCH}/xpi/fr.xpi\ firefox.desktop) build() { @@ -69,12 +73,16 @@ build() { $PKG/usr/share/applications/ # Localisation - cd .. - bsdtar xf fr.xpi - cp -a chrome/fr $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.* +### cd $SRC +### install -Dm644 firefox-i18n-$pkgver-fr.xpi "${pkgdir}/$_path/langpack-fr@firefox.mozilla.org.xpi" +### /usr/lib/firefox-4.0/extensions/ + +# cd .. +# bsdtar xf fr.xpi +# cp -a chrome/fr $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.* # Suppression des fichiers headers et des dossiers vides find $PKG/usr/include/firefox -name "*.h" -delete |