void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=90.0.1
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'ca-valencia "Catalan (Valencian)"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'eo "Esperanto"'
'es-AR "Spanish (Argentina)"'
'es-CL "Spanish (Chile)"'
'es-ES "Spanish (Spain)"'
'es-MX "Spanish (Mexico)"'
'et "Estonian"'
'eu "Basque"'
'fa "Persian"'
'ff "Fulah"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'pa-IN "Punjabi"'
'pl "Polish"'
'pt-BR "Portuguese (Brazilian)"'
'pt-PT "Portuguese (Portugal)"'
'rm "Romansh"'
'ro "Romanian"'
'ru "Russian"'
'si "Sinhala"'
'sk "Slovak"'
'sl "Slovenian"'
'son "Songhai"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
depends="firefox>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox>=${version}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="be357100c3fbdc0e0568985f0966d7080f6d489668300e9cb912bce70f7b8293
71667a2ea1a9f7f1fa8d7c1a61206cb2a84e61e5a3995f8ad039f4431dc9ca30
a628f511eefdb40474f8b5c27fc8e25e0dcece7395552f68da444dc511d1fa25
67426fc4cdfdb18d97c4f0bfc54cd7a54341bc82177d977d798af8a8f33a6883
ea6d961aec4c22758cab21aa42ce9544a20c333f320d7dce26707ad29df67ee2
9abb4464f9a0335a2d78b9f951309ce88f4727b0b15aa127d1bf983f034ccc76
d2b67203c26292632b27b19c894d1980b1bf6e5540153360351ee70cf4545fd9
ff0b5045589e866527df3240dd1207c14d4b11aa3764c9d7d8d4a92ef125bb21
17068cd81a7a223da2debab9da6fe4ca84463570931952c8269f2607b14e96fa
ae8b28dfa5d73fed65c21a4c392eaa165fd608610d91ba8ec03c33036c47709f
423cbcc21ac9a21985deeea320dbac657696edc097769dc66b87ce5a20cb0b31
75eb76024a29b35ef5e7672d71769463b39b533ce018ce20da2097bb9744c8c8
0fa00a2a922b630594e0b94c8da46f7c5884bdf138dd6cca6dc8eb828bd1e2d7
34bd621a31da5e7ba2f887bea936e6c0ebceb4229badfd1fa1478776b2140d14
bdd083ef2797c6cfbfb898ec1416f7f4cc5a5874bd4cc59ee857c82fda7df258
0e47f9c1891802657f00bb9c1d591fa5856da9af118e1e5b6cffcb59d94d496b
e92252b9a1a3459f0da78556b24a64b181a3b2817cf3a8f0be8341b73c871ea4
cc60e2252d84fb8440284a0e856f8a902220dfc63d0e8b126b2f42c55306b21b
49891d321639b35e151203bd232fd9e72f0c9683d1bea6f1a7c401d7a3a04a76
df3545107af7b4bc032ef4c9fc7d3c435fb93054901abdb6fc4939d47aa764c6
4d6dada6f645dbc618d8376ee60a8eeecf437bd18ea0785595d1e201a8e8c5be
3172dea2525652c8094bde33f4f38983dbbe434ea27310e419c8f6e50a51975a
cb25c27b81cd6760356a638e10816777cd9695e56ed95300018d35a7f53f0a77
dbd688b662c519a1a3cc51067b76cd7640951d4b2fa99c8fd6a423ee58f9cf09
53e4198abf07adf3ccd626e6a34f532a80b60692182fc01d7bc3e420c119f7d2
2bc5e3b5b1ceb1126737ccd5c9c6e26dab77276d748ec4a0761d105515580151
9f7c502604bbd252a3ab256e8397e8757931310c57421577b7da511cd27c18af
c115f32dc9c7b7d24a23defeaf78653ca7265428ef402994250d135905252b1c
b9efc308fe8cac9a6015cf40b41e20207d9485bc8ba4a62773212594ce797f84
53295a0504e883b7b0cf6a7522ad61f58cbd23229ac0e7387366f4e57293f08b
83147e937209d97e8f980da4e12a09ba920665767dfe9f272abb2c485f00e904
b2bd15e6782afa19c681d6083f6d528463d6ef74d55b7ccebe44e6ffbe2730f5
89b2f2538528542a89d5eeb845ee97896ece7407ca9038ea4e7e1f0b0f548158
e0a764400e86782734add3fa848726634212abb71e4e7f33553268a310344b72
16ce9e331f413623de20099d2f2874d735744a587a9a5db95ca95f1960600a12
04c2b912864dd90aaef379b09017f1273e25d7e1723bce748a7d0fc03d0c0663
89c0276d64185f10b442e2e31dadf2ce3bd8d09db95644467f325aad22f49a69
e0ab2286ef9518ffcf9595c79918ff505d096d057d6372f6cfc9c2740727611c
77e2c1b72e73ed8c23390bc67fdd68602cb3bba74e3d91a7f74522eb933acb8c
befaca21c9c962a62c1f568e7d2d68aefad4d63d8bbf985bd5ca761dcad898c8
e133796f92b7a634e3353226aa2ea44f311cca6b0affcc89ec9308c71cd018ad
60e99cf8302b5e277bbb5866e0fe56d357a006a5cfbd68c5acbbf82ceef24920
5ad2ddac27a739798c15542450507b2485806607334c018d58583c2a0fb77f3f
2548b8d17504cd11c742d810b74c4ec4d17c3da57250bb8a178488924fb14f95
ec33239e16abbe551cfa1c9908249cc2c333a16c3c1950ad2041ee9feb75ad77
d7de6154454ff6d087ccd0a4a6471d2cf1f4b73b3821493db3ece8c1a461c037
f4ed4ad50029e687a7b97c71fbfa6f16557b97c52a236f750c69dbcf8459ebc8
0afa21ba8c5ff99ecee2d6c8f348e4e82a7f1f7d13bf8b3fe0c505cad5513d62
97e36627e7bc58b6139b30e31b3e9e50dd8e67bad514fc058d6170559273197c
db8a0b2d753f2591e9dbc0f1c71516e35ed0ee839a46596e4a7d5b4b8e002672
a7a442bd6142272b7734479eb946219dd7fbf2be9986d55c045b01ac13988539
d98ead55c776fee847fa259472b5a80254fb8e49c8e1df695da1ae0e46ec61da
fbebbd39b2d84c663425c8e5b40bbdf8cb4df13d3a8db5fef07ed19fe6f790b8
c37af09b2ca5fbdb025b115c7dbb5c68717f57a29b3d5403bcd7daf3e4d51818
a8fe814f81cda0fe2b819c1185b0d131f5fdab6156b396cdcc4d1b323d0a0660
a6e78737ca0ed0cde75e9b7bc18d85edb11493433f0de05294efbe1742a75b27
c55b7f41c14c3ac0a8226351b72bfa5ce05f0648bf0bce96826363875132a121
b7b76bcc2ffbc5aee2327982544957ee4ce49872587367ec17368fd4f7ff58ec
85c146b304153f0587669ce9d31299465e3b109be97f35c7698e77ea04d46ebc
0b09874b5d687b71929042ce95184bebc5ed026332e4d347c1ecde3f451f4a5c
480681ce041ef2c217091e8ec0e4c7a95e5d2fabb1c2e7a6c6bc47fb98dba980
8130ab6e8d3d5a644dba2ac67df0cb2124f29afc08c59fc8eb4222901a42ac50
36b1fbe2166c83d58d8c955678204bee18a41a8f4e3ccd5a8f12b3b3b5f6e4e1
1d8e864cbe155f1470bd360b4cad611e336036a5044060f673bf04305f40f03b
932bbdec41615f61a54495ff1d50b228a5be7702071e24159ce92dc4f237470a
09095e1472079ff4c8ba251b0cd247be56bfe3f72dcd86866182ec1797607a9f
76be304b42b5fbdefb4301f30884b7b0bae96259bc25d08dd2b4f63ea5d27185
6258fb53ab87bce22906957ffe71e4dd69fbc7b7bca23cf1d82098647d82a334
379e9ca71f8a40f4cb81d70ddfea3ec433451a8216ebe13d1773f6e7743e7aae
a1a2e9a6733297e4c000f67b49fc79385525fd99df35c48b0670ae7ef071f0b1
b90bdc875b93f6d78c1ec113b94a895e142d28836b27a57b44cc86e2f6b6dc88
18ea08e9f1f81555e5771e86bdd6652be4465a1c39b6d07895ed54de56eafc9a
a66bc6dc460cf0e4c891a02192faff10fa772a64f3d260bec2d9e49487f4cde9
a995381bff3f42b0f67d2e7d6f12871d7ae7e58869ce345f590ae80ccc174709
cde46c5c7007ab3ba895d5e9b30ac6270837f5b48f393f9f752a24e03532a48b
dc363a23c014d1a8bf24afa1e6cae0d0cba6bb6e0c3f933816f8debc38c622d2
2ee0f2492f81a12840d2c99a00ac1e3666f514d2654042e54f8c8e5bd211797c
6113eb31e48de4d7fdb439d9dbe319408e7dcbe3c55fbbf1a7c4c5449394b324
92df223930d3e39657f7705b6a75369b0b9ecc5988e5fabc4895b39a9718dbed
b95a4d34d8c426e04ad6023cb2b9319c519576f4a851b82c03a1992f58f026bc
760dd2be7d150ecf5ceabee59f55da9be5cd2a0fc7eaf20f7afa92dfa3189273
5ab7c5a16857b53a333198656335672593f8d9b2920693420d90d1df0e7e13b0
68499f57731c926e8601cb138b0e03e0d8bdcd88757701b3bea46652d439245e
41d4ef32a4833f1ef9f849fafdf32ccd1833adab0696324658a64e38d54625a2
2ba6ea3e31364158af51554efdd13c4efdc5c665d868ef140274eac27c2e38c9
c506b5af14c6ce5a46d5bd9b4e0875dae548202f1f3f1cca967322805e61545a
f7b8b33efd41b69d9905f3da2277ca66a4f212efe99619f3eeb19d14ae835061
e5fa0feb89a3418608812debf1445d952ab65d53d94d5ec4e9680224d0ba50d7
e78dc38e67d3416e8319491399e432c7025b134ce7b195847e3de38d66f63852
9c6915607b0181f95ca43fd4266c6c4ede04010549c368f5bac6798b5dd70ea7
57ca390e904ad5e292e819b1fa3fdb35652c8b5196d1f52dd65a33b2a254914c
9028546203eedd44ec1dd08e33c0ab40be27988100f08c3e47b2a025b6b20cb0
8993f2b916a162e2e05be1e0b91d0f1e663a462e4363a3a867992c03ef7bc122
57bc6916b472fb843052794574b39a96b7f48698d88104522f9fc6a6b9f9e8bc
42d64b7a6a7f5cc5e76e78108066fff648681a574c3e2b6c34fea704e76c2499
3c9a52ca9f25a5040314b42f3cf14dd4be83b065ccda29e6998d21e85b0fb9cc"