void-packages/srcpkgs/firefox-i18n/template

34 lines
977 B
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=10.0.2
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MPL-2.1"
long_desc="
This package includes the language packs for the firefox browser."
noarch=yes
noextract=yes
nofetch=yes
create_wrksrc=yes
_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
hy-AM id is it ja kk kn ko ku lg lt lv mai mk ml mr nb-NO nl nn-NO nso or pa-IN
pl pt-BR pt-PT rm ro ru si sk sl son sq sr sv-SE ta-LK ta te th tr uk vi zh-CN
zh-TW zu"
do_build() {
for f in ${_LANG_PACKS}; do
msg_normal "Fetching lang pack $f ...\n"
$XBPS_FETCH_CMD ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/$f.xpi
done
}
do_install() {
for f in ${_LANG_PACKS}; do
vinstall $f.xpi 644 usr/lib/firefox/extensions langpack-${f}@firefox.mozilla.org.xpi
done
}