diff options
author | sibel <lesibel@free.fr> | 2011-04-29 11:33:22 +0200 |
---|---|---|
committer | sibel <lesibel@free.fr> | 2011-04-29 11:33:22 +0200 |
commit | 819146302505e96a555d03acb46cb7663e35a9a0 (patch) | |
tree | 46878d06845d5414a74ce8693c60703070af4e6d /extra/firefox/Pkgfile | |
parent | d2b198bf4c6ebe9fd6a96b2760d1204a55f9f813 (diff) | |
download | nutyx-extra-819146302505e96a555d03acb46cb7663e35a9a0.tar.gz nutyx-extra-819146302505e96a555d03acb46cb7663e35a9a0.tar.bz2 nutyx-extra-819146302505e96a555d03acb46cb7663e35a9a0.tar.xz nutyx-extra-819146302505e96a555d03acb46cb7663e35a9a0.zip |
firefox, correction port
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 |