firefox-i18n: install langpacks to the correct dir.

This commit is contained in:
Juan RP 2013-05-15 00:19:16 +02:00
parent a560e31e90
commit acbca0245b

View file

@ -1,7 +1,7 @@
# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=21.0
revision=1
revision=2
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -12,6 +12,7 @@ long_desc="
noextract=yes
create_wrksrc=yes
create_srcdir=yes
makedepends="firefox>=21<22"
_LANG_PACKS="af ak ar ast be bg bn-BD bn-IN br bs ca cs cy da de el en-GB eo
es-AR es-CL es-ES es-MX et eu fa fi fr fy-NL ga-IE gl gu-IN he hi-IN hr hu
@ -109,11 +110,12 @@ aaffd78b270c95f941bcadf719db8e45e5b4dbccd5193125ac4abbec3ae947be
do_install() {
for f in ${_LANG_PACKS}; do
vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/$f.xpi 644 \
usr/lib/firefox/extensions langpack-${f}@firefox.mozilla.org.xpi
usr/lib/firefox/browser/extensions langpack-${f}@firefox.mozilla.org.xpi
done
}
firefox-i18n_package() {
depends="firefox>=21<22"
noarch=yes
pkg_install() {
vmove all