void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=107.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="de94d70fbf980c4109188683597dba8b38171de50cd3ef478ad2546cbad64fb9
e8c5f1245296e33a22a12b4cd7a81527df04cc90f24a4751833eb3bb5936533b
27f37bb94b6a968231ffa2ca33abd939ccd66625f61c70e499340fcd57723069
387acb926d786e2739eb5f6307acfe1227e2ece7b540f7f5b559b9f4c4bd089c
e97fb415f57107a59e8635ffe2298e06000c41c318b6b283e3df240967598d70
d45cb39c697a065fb93065da72b8d0f2c3c42e1d34461247583c485cfd044a75
a8f03fc35ed5a7c1955070b2a7eab9b8f869901faa71a450a827bd1ad2ede7bb
010453e5d14915bd8aa6fa512d5393dc696cd60c0821ac86271ef8956ea95e9b
e593d841d484807153068ad0dd3b3b7a5dc9ce0d2813b436ff0118097bb05a02
0dd85e3ea68e5e1020fbd46121a0ae4d5b791cf7f975d48438b0eb9ea2f617aa
cad1023e39aaaf0c827d99ebca7f67e7b30a5ace1766202712800e6475429205
53bd6d5cdde77b77ba7931db4d06046fc05fff93c0677ba1a883ee1b513c8cb1
0a2c7835cc76d10f18c66bba91cba4154a708b6edc9afeba690b093c74aa5e07
23f9eb822e59cf325b777358f4da7bdd4c9d6bbea0409b13a1b479d16fea302e
53728e6dcde7762854b688ad59c7e7ee7e3b57a0eb0caafe785add9d345a123d
520eacf12231e4b8b79d6cae028768a7c9aa3421a4c7f7c1bd1f4b312ea24e43
8f32a23321df9af68bb591c6d7cbce2d6a7982ae2054476496278483b7091984
4365c6f4b599b6a72c63c56463bc3683c32e62702197d65771b2ce58ebeb09e4
25b758379aff6a4fee8bba585ad80d9e0e418c98162ad5cc2ab923e7f572b7ad
c7a3cc40c52b25ff95fba7aca37595dfd816de32d3ee51951bfa8960f95ca6b5
884202c6e35edb6424c78dd41848ebf3c71551aa03ecf7bfd006cca8d94362ec
f5a54eff0838f0fe26766cd8bb46b1c824f203578fc27ff9c3e82656740de5bb
6812131f72cf70e08587b3d9a020120a495bb5d96aec2dd795cbcff0d387e763
a44c47cb3fa8fb71a1e6968384a366b56f6e80ed0467b2e2827596f010e5102e
3009b5d454678b1ae42202537889b224a84ec5e611899bcbdc210853add1dd93
df0211cbb2c9b3f2e24416cb840ff818a1cffc015e2ca9c10c53f0647ebaea72
f5a27dfb01d9ff09ebd845b0c22c7421a164c7e93c13421b601c208f55abe659
e8e1b24918544367cb1638fe974f8a3bd725b8bc167c2e65961466ce0b43cbef
b9e792789ea3d9ce2ad1a4ce2fab5c1ada4df500e265b382ec3657c26430adf3
7b61e829292595abc491954f1b68556d588089826f18f40df7ccbd508a90a20f
294e16a06546671d43353be914142d7e50661f373729e32f9b15ccf03f43a9db
0603014c416978dfccdf2a38676ea45868053260a9dcf8fef15b6be2538ffe29
4b9ccb05657ed93cffb50d4a152bb5cd0e3eb63327b65e9fd5c04f4f69336653
587364395f338eec3e014647236d1ad60d7b8aadecdaafe25b08a7c76dd9953b
68447b85637c0dd22ffa736187601d9f363c90bdeb0aa5a0e84ffb97a7fc8183
9aa653b1fe9bc3f3ec31f848ac40dbd6cb4473284b16d26cdb8f78cc99f509a2
e3643eccfcc96b68bbf2e2b141cb5415a69ff116e230f7c075933b9b1ff00bca
fd3aca822040d004ffed273116e1b3410fe4b63bacc75195e1618b86243d57b3
5028ca427af339fa2078176e095ab9633632cd68e7f2d3a0098527630492c1f8
403f884dfb8a8c26fb4d3465896ba2a675a62843c57f2b93f60ceb816028bd7e
ed76490f98a6f2446ea95beab494db0e637e78a9b5ff607ae676ebc8f7f011b1
ff0e23e157897aaa3825158691fe8efe7d17c958b8175470be047e5c0a050441
b12dba009567e47cefe54738decf4f8268a7b288a3c93a31b52f025d98838591
6296710de5cb8fac662ccdb5c6b8358d7c2738eb04d202fade526d87502f8cd4
ab4a008aa62e14145686271b0f4220c765d3a6943facbe946e4ec710edb9915a
f827c24f3cac033ed8a80f169be14f3e1588ae47aa4520fe363f2e2e04a52c23
48cbb3b2d945a8e3f8a372ba8568f0452b84fe43e95c5f4987ed15638ade5e69
859c6502937af4b5904bc76261d41ce3aad9db54a08e7babcd85c49c8178d86f
be41efbeae88dc9baf202c74c696b7d72db6249c32209d5538f9085d7a36fd8b
6cd9b88feb1f70ca49808c68770fbd7290400e6889b5881c3b48bcd33a4e9ab6
e95b7152e647dbcfb1dc79f69bd4e82a2d8b8294be057aa68a8d0998514cc338
eae5c8978eb62b33ee61c8bf02020ed079e722a6931c1a091fddc27f5c3c7473
59f4ea261ac48e89b7fb0d76a7650a8220981136704667e413748202bd32b714
c41dc6347012245a9ca2cfbd82e5db7b9b52eaf9cd5ca1ff2f328d15ab8076b7
e1bdbf7af67b1dc382c76f6704c6ac2d45e13919a19ecf353f3d80097cc769dd
7fff11c4d3d10c642150bb8c32e32f2e253a410ddee5fe2b88588606e5b1c2b3
5aecac52cdfb6ceb592ad95956be022b9b0d6c00e4c6346bc2d8254aca39ed67
328ce6a42d94dc0f1412ad2fda13d768c0322adb6ae906dfb5318398db2d1aeb
cb2acbeaea457f66bc2f01da842015ea219099ebe621ff23b8acce94d8fc2133
0be08efb8af6442ef1e18e6bb8f7b704b75fa17fdc0caff20370ecd41feca519
e036b44671a6ed2a626a0d000eccdc863ec0127fe42461b77d060795f4d61d2f
472ab000a3fe1a03505315a88f71ebe5bab7e9c6abae152d9567c2c0b2c79638
1f8cbbb4e5d8fd43566d4cdd886d4d104c2b57adad6c231b2e13b4c4fda62019
8ee236c37883e5e91958affe18b00430e2010953741c398610959c87b2868572
80b6ea43884f5fc6a2c63970a06b942484bfd54f8b8feed4d7ad95495b532c1e
c47b599f1bd99b7f1e3a497ff1ce12498780d31c826b986c38d3bf07f4fd8d04
bce28096f62f36ee87627b0389357d3278a6416c6bba011d878e1e72003c3fef
71fe0812de16414455b231955223925682a7605acd180cb56b3bab7ed1282bc7
e35b30eb50b0e34c336c2cf23234dd5d20e31700eb29fb49f1dcd52342531946
a3bfd0a9a213a0888118c4224ddee59f5b23da05282660087691dd902b2d695e
443b32f9e4ad28cca1fbc0554767343e8365360f4dd5a9af8f4a5c3873043e26
d5e3c1db5e3db18634d0cce479f7225c13d8bec4fada2343d5d59bdd84b92df1
5b100a684ca32ea656681b06d7985095b4078e7efc54d70b05b85c8193a0f2c4
1ecf6be63c72793d41299c0a3163733bf6103b00d8dd8e7ad707d94b0a741cc4
18ab239b2a22a0ebad7f5ebb028f005c069beeeb96d13746c03baae8cdd44ee1
40cc0ead5647831bc1d61a4cf832c6ca0a2d653ffcf836253b75f5a256842410
67085a1cb081bd845194246bca6c6124b37d9bc62513e3bf71a0723c7ba3a4e5
823f3cbf8fd611f86a72d5fb23afb0df6dc0fba845cf478fb3d6defa8dbd218d
48917f9255fc5d25dc6c812cfe9113730ce42b09fe6dac9d7353d7a09833e1cc
9568ac15d7962abf48b88fc03705893a783b7694765099a62eafe9238fc1f190
aee8d872fd94e436862c468ae72fbe4e1e1f6d2f1ade3f5d6575641993de5116
fab5725e8f35bdfff95b841494b16e52cbc2354418ec3325ddf360aa11294edf
23d13e51a57cd9ac202812da63cade6a3dc32c570af6a029edf9910d1f5b23d8
67edd81ef51362942dfb1965acb494de9940d058d11d1c85ca4418bd464ea50c
905a96297adeb41df865741510dbc4e0c22112fc831c067c10b756ef9b6583e4
96ad3f24d4563f70b0c6344e2031582de02fca8b5e9517901f3e4045220afa49
81c2fc77d89251351d92af52735a9ab0a0a2641d07fa83e25b13fa08d4097176
0a863a179e29ef09b6b33798c646466ab1451ce8a63c34e5e07cc16d69cfd9dc
7faf391c698882eb32aebdd25702bd092789479b247c357cbf0913cbcb11e077
e8a37bdaaaf6ea02ea158ff2c57e7b04a2887231ff7d022a04f41cedb80b4316
5c64cbb0864430b3773e0ba1107061e9ba3781c50c34f10fd3ed65b9cfb71a0e
8e72140a5b786e656013e34f72aa771bb681d1ec8abb13ec5107b3253bcb7cc8
f83913eeed5cc568c8c657b177a018a6b35347b9c58ea7ff04f3047f22a0ac55
d8ba358f8f7689255a269595cb493c6e436c2311f810caa01134d029ac9bdf76
966f447d0d17f307318ab674d09a9930f49ea4ef66dc94724072128444981989
d4be0138a6168a2b9b6fa3762e8f46ae29327eb571c3a0f2d61e6d914965017e"