From acbca0245b3982628327db28b1c590c9d6fcede0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 15 May 2013 00:19:16 +0200 Subject: [PATCH] firefox-i18n: install langpacks to the correct dir. --- srcpkgs/firefox-i18n/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/firefox-i18n/template b/srcpkgs/firefox-i18n/template index 6b6c9cdfc1..64b9303316 100644 --- a/srcpkgs/firefox-i18n/template +++ b/srcpkgs/firefox-i18n/template @@ -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 " @@ -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