void-packages/srcpkgs/firefox-i18n/template
2020-11-19 18:36:45 +01:00

238 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=83.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
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="e8dcb0ec4400349637b1f333012a4df729080cd5fbdb7478414fc53875b54d16
e43201660ea435d2b9c9059c012e86514e9c9a20890131847a9f39206b23f657
a6f12f990523adf3eccbcae2c71f32f8499682f4672d902763c8eb53da450653
c68247fab37710876f19e6ad5c5a3372b74f24805512c0d99b0b3d6a5590a733
f8498364d19f34bdf4b34bace6683baf17854975040dfef0e4d88c7eecb2223b
7f8a503eb25f7960efdc00cc70d4ce4493eec898051e5d2394914925b10a5093
b733dfa35006b1dca5c82c8945345b0ddf9a8ed653da0b3d65cebacb52cc68a0
d3aabab8b4dc6ce7c93295f05fb438ba0802435ad963a68947d87e10f8a8bf82
f73791ddb70e0dd817d5a5b2171cd2f731482eec2c3260023b66699e562fcab9
a19aa3cb4a08c33ef27493a2e8e4f139b9fbe1c685a2eb6b9c1a8d65fb826854
6143acdde106ce3741ff3e9a8728ed9b0b862c86791502803761271ab39c7fdf
5f99d37dd82f43ffb87110cd531cbbb18d9626747cf7734037bb12b3e8142487
11b39e02beb72dc43172a223a51404cd44802017b99ddcae2dcd015f976ecf73
ba524fbd87c9d2c8202ad5d813f06a37bf663fafec9672a1c1fef081b7b80878
2261f199e1f871b2f1f9002e246d66c9daf5abb7663e7e5397acd3d68004dce9
e0a8adbf1d3016b43e6cf6bc4b3dc3968815b42ddd437bc5663990ef8fde2145
8089bc2fb7529b20cbed40e0ecd8945cbf03942207d1e0fbdd1a1dab117c56da
0abf6811aa5cdb17ea711f9942c0ec31960ab2888d5f444d0352f5ba605ec6de
3be1ca38db44e1dfe9498d8ef9aef03c0249540385569d4b96ab703ea0d11dad
7b7ca80ffa8836c8bfa3af5bdc5a0ecef7829abbcdf0f2a7459b7b456d7b385b
9cbba55711a62cb017e0cfaf74158956e39ef2b5912e50b28ad52eec56032509
aa0337945a17ddce4e0b67f86a7f92596daf890995a63fdbe9d7f0a1c3cf00b6
02ab1b80c16f8eea11a51fe155eebb48799dff08e6369c51ac7195a78ce2a5f4
0a5433ab6abb9d6d57feeb6f437c560afd312cd450ec784b4a68a9e9f3c9bd2b
16334002a2a3c42890547101c35bc7eb64bd220704241475abc4f975e242a42d
3dac17dde3583cbfcf1e8e62a03e6c5844769a2a5b3d6d2256a9c726cf64b9c7
c5d974818cfeeaf54a4126270c8867bd5f9164395c0952bbc5050b5bad3ad891
0da793b3d786c2073e5230f8110f855e302b71eb1e6c20273e01d15627750ecb
d457f4a168e39bf32ae49388cb9c4acb65eeba898669d4cf024d0782117018d8
90081533700831a47d1a8a9f801284269fc8102325294e9c5b9a6ca9f81fb2c6
189305fc3ab8627fc2799ab987b6dc5b6508ecbc49490a008c9548559b75e3cd
70ec3f2c542a50ed2ba97943a55d121af05beb84dca9a6b0e3a8697c645b20b7
0d0f882d7b1c99ecb4375f07a6ac442ce04214e1692f879df0f8f472203655c1
8d9a8acbb05c4f691a3056069828a893bb9491f48cc235ce200316ac505370bd
6fa3d4de1b3732601a64743a48411904b0eddb3feeb25f4ce7318ea4991cbc21
3bb0201f8ff0ce84cd1968b6e7151db7f526ffdad93eab36f50acd92f18a55d2
838e2a7f62edd74b4167b08ae11f13bd8b48964524500534b8dda7dc705d8f3f
4905047d278100d0b72955e896a6c1f3cc093a52f73e8943b7eaafd05f04e5ae
31f07b11c9a5348ea4a3f2c3b6e9068c0284b86de158c2bedcc0340f31ef3000
17fe88532c0c1712c5905341fe0a7fb6f1383a9b2574e0032b99738aeff9dd66
6cc9d24ef3d883acd1751f537497b0ed5f066de5ee5fc5af03d820a9eeae35bc
9171e1594b89d47da9ee00bd5bbe06868532e0ef2edb7434af4fd3424e090998
00d77a69ef4c83ede3264a5214b52bc65c5706fa5185e1371c557cc15684b2e8
8224953de8e38141bb32e47d2f76ddca38d30c02e91df8f8122d879cd37300e4
5915395bd9697794c015505b0c3a3b2eea5f745a8adcba71589878d93700db76
46b9dff874c6d112985548f72da8c32508c61bd690c7403ddfc85fa2156657d2
48373d636158147b34a8b18639339f413b718bc5185ac5b487f699598c674aee
34f74360dc392e736e62ef3d121b7bed9fffc6b2196d27f57a6b136528a35d0b
c8161bef9de35a5b3a976f50ec6b10767614768b97137174dee4b3d151e9a305
b7dc7748700175786f7035608fa0eb04eae7dfe32515d955f7bde11e0bae3ea1
14d3bdd086fecbcc90fededf60253cae9190849ecd077e46df66a460859428a5
0b8a38c915d8671638fe179a2719c15f8692700d102db373db5c1cf2a8bd0f5f
a8dabc3940132c08a04017450720b257fd3f27ae3d1ea45a9d0eec1353212697
33f51f9389556ce6c8b7a76024f0bc79482abe720e46133200996e927c5f4c7c
06c4ad53c6ed67b495afbe8d0a684d8fe3663c8c5a09c752891a1f8d423099bd
a2dd11f167c2a4c4a1e034429f58c738bdc692c50f0fb33ebba3a932bb43a6cc
35af53ee5ee7759cc585f357b67abdc21742c9d86a01442d961f6771097e0955
b7adf74ec9120aa5ca7b50a0a5226d81e4d8a31081143f6ce59f1a338ae1243f
ae106240d1755965de216251418afce510493b605a2af6c26de5dbc751e4f3f1
9de8866f563402f80c92eabc9e654df4f007544303d0630acdadca6502e90144
d638039dd93a7d2de4413fb31f2262055730a8ae3bf31e6a59a7f69457eb2a35
d62dd2ed3c450034d1046c6b2e77ee0fefa0527b3ca9ad1c40d64914f3cd8e2f
c99c0f52797ef4cfa30189b7298c3f897da67d09eca63cce9bf8e3f0ca8a7bfb
42f07cbec3786531f4d77878476f3cccb4313f5af5c7652007f0da8922657e03
b9dbffbcd7ecb2e1b2cf49632c11c05cc5616cf80b61ef6dd42207c95b3aec80
b5845bce6f501e7dd6e6cc37fb97de541d8c5c6457b760b6848033c863ccbda4
08704f830640d156288dc0e5af77b03279b4ca82536f464518b14c5cde1671cb
20ae693e61e8daefa77c24c29d4fd2347ab71297cc9b0e3b716d00446b640db7
c9f69c490740523e2b18205fc894c343444b8a04e1e76fa2bdce768f39f9e7ea
0af926f8c33f3a6b73eaa43513737f7634c56f0673c8f0adfa9fc089d5331cc3
0a0accddc498ac7b758bd0edb50f4d3ceac230f01f5c19162e1d6819589f35ba
b997885fe3097eaca6f23415e41150728a151459cc44fde19d663ffc217a3594
263468524dee870b00cc6054b6c537d1995ede6041be6f3351b959b13de81c56
ab8977b2722001685de28a002b16b0054f1bab1a077c37c7b0281052eeaedc1f
3261948ebaad55b46371430b42504c653340ed7218c0c7c0256f12028375bdd5
83699712c49002716e474335a96b0b5e640b9e5f2d1db89c0bcfe1551fb8d0e9
e3d4b408a8a4a481d29089a070947e7b2693d97c1c12b5f78c6bc08ee6ab0baf
83c8c34c30e6466affaa0a272adc7e75c2faa5f5179ae389525ff1aa79c4ecee
96bdaeb88dbc44aa7e288eb5803775001c12b1829e91e0f0eb63b44aa774b469
b3dcc7700d15d5d30fe5bab74ae8e4c3467c2a22e6201eeb10a5a79138ed0075
0a94c7ce16f7c0cdab3ae0b27cd8ced6875c09d7987e5e68297a1af77d64195f
94518e0f9e0a2f8e9322d40ca6de2e31ad24eee98eb4beb4551b10c404973275
0fe317dcad1bb745116876ff2dc72b50195c668ac88f2dd837c7ff14a35dc1de
3a6e27019b697c77a3d1b031ebbe05bd0970834d9e9fd384984047001bc8306c
ac957380d3d87da171980516dc308b7dde903d86fa9506b409297f07825c4860
a7a5df97fe466fc2691d6ba2327df972c15119c78d37d418bd0211dc53285e7b
e41f529f5fa62c2048cdffd0a671e987f51b62e9978ca50d01d78ced4212dca8
765e962f4fbc2addcd3a9487de5521358bf5802d92621654b93d510023123eb9
0b31e67f55d6f470fa80572678ed6be1700bbe159ca4835faf693a510e1b089c
f5b3f23b8894f6f1268b04d3ce748f6ba0a7f5a56e9a10cac9c8ea840fe6148a
cf15d22f75c77738cd6ba0163ba91d896781ba4ac1e4fd2c1e75d097d458aa12
1d8f651cefbbc736af1cd4493eee08159eafeb03ec1fad09e3fd63ca4989afc0
e45d53f2ab6cc43b4ce084d2a53bd73e4bb56b636936a42c3288ac3b75856c66
bfecd3e86df2249757a6ea1b14c9ea73384a813f1650a022a95547eaa5e78432
bbe62efc388950f5a66042f6fb6e075a7920f1a1ed690a705551bee60ff17af4
a0125e034dd9a495edfd8bf829d057f1a0d5011d1d86fa63ace6339ec5f0ec17"