Thomas Bächler wrote:
> I did this:
>
> build() {
> cd $startdir/src/
> unzip $_lang.xpi
> sed "s|jar:chrome/$_lang.jar|jar:$_lang.jar|" -i chrome.manifest
> install -D -m644 chrome/de.jar
> $startdir/pkg/opt/mozilla/lib/firefox-$pkgver/chrome/de.jar ||
> return 1
> install -D -m644 chrome.manifest
> $startdir/pkg/opt/mozilla/lib/firefox-$pkgver/chrome/de.manifest
> || return 1
> }
>
> Would it be better that way? I don't know.
>
>
What I do is just extract the xpi into the firefox directory. You will
have the same results if you install de.xpi by hand or install it via
pacman.
What you do is change the firefox installation from an english one to a
german one. You don't get the same result if you just install the xpi
file by hand.
In our case the language packages are just extensions so I think it's
best we just unzip them as extension. I've also noticed that the
language-packages in community do it that way, so I think it's the best
way to go. Plus it's a bit more KISS-Style ;).
Regards,
-Adarsh
_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch