void-packages/srcpkgs/firefox-i18n/template

233 lines
9.0 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=66.0.2
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'en-ZA "English (South African)"'
'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"'
'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"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'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"'
'tr "Turkish"'
'uk "Ukrainian"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
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="f3a218747db14edf057c854f778b35f9310c526ab7ec4c33036292c386673eab
05276ca0b7329e2cdd864445da6cdaf1b1dddef6208d42a974493ffdba5d06cf
a25a8bfb9f42fa56b618d9bd06658203f24de54ee0bd2e1d061abed0f0a2950b
345d66690b949653a01fc2adcf439eb3d0db4908a62bdc375078ceb03d0c34a2
ee337679482b59790cfd310e67ddcaca6b148f48b305745f7777e6fd98a62841
c64b880791575d440ff9449e08174656de2d4117236a257bd48def83b9c080dd
154fde3862dd443b6d7c086358091a4ea63e4b3ec92cad9f5b2911d8b20dd2b1
2da8b36103ebd92b371b87ac01fbc78e5106824d368f449ac8e7774424a7bcff
be88350bfc8eb381c82ac4aab4fb3f17fb37e3dcd3035d8fc3f3cdc0514c9319
20ea93fe75adc558fd520263601e493e1fd150e5665953b2ba34bd6483202d04
d363b3f6f3d8d1ead079ddaff9133eebe07838037d729f0cbd67338afc80fcd9
6e013412b5fabaa05b88033b0a50f1d5c82037e5138e28d1f9a94bf8b49b2a26
bd1777715e0d1778bfdab92664f9072dd8d0b65ab35a27bcb82806ca0f93e76b
3a849285751361f2e347c152aa6d62e1083120dc9dad54ffcc5714805fa53be6
73fd1dbd83b5dd4d3115827f0fd0d24b02be84603f6263bf1662012322c01d97
a6ac611d5e0b83ba2a83c33459759f049b9d2a5ede03dbc59167b55320270a68
fa0c02db893079b2c1fe315e660c5c9bb40b2a500b3bfde6f79d893de689cf70
c52517591de5fc1bdaac8d479323ef27ad2000855de3153d3307a83ecddd0da3
ef98bc71540e480ba119ab48a49c5688a01a5e81b3d2bf208ad15e66000f419a
624dd97ec4c6e55948f8ac2921d6ec032931f69b60463146335b522559db09aa
0808285cebadb3feadfb90a55f245d1593e4f6561db216870ff4d2799a836ccb
8cceed2b14db21c4c8bd49a593cce85cd93abe30e57260cbd1650913e7553bb0
d2caf59adbe1269ad5f82947f10a3af201342039e7454eaae951c881692d84b4
9e2ed335a2387594a641915e18d4eb02fa4948c4998096875215f3f2481fb827
78ac598a7088cb0e143d77c522b953c1c2f4a4db68c4edbf5a2d6a82a5eba906
d598c6bc1d5730f1dd737d3899529c2fcb78da9085960a07e9961904e099749a
dcfb4694d5eb30d3e07269ae585ea9f339d327cd5668d0df16f6fe2451258d49
d6c7afe0a996ca0e2a24b686c6e1170bd38eff15558b5ac3f43fdcbcd67878f5
67ac3c36d5787d21efe7d448c836595e086310b8129121cb38ead381bd1854b6
996255176d32acb2c64f54a1f13e0ef8cab42e57b690c5f8d8760f7b294ae65e
d753718fdec05f0362412d1ee94b539af7f2c74e94bbcf1c9fe7a33721389be3
230ff2751e5a418e140eb397309fbbb0f94334b24332cd5febf0b86f5b06e385
8f29a0eb7d073ffbad401424db0735e3a9d1059e99ab264a62a985f88671009a
0ef0eadb186a9078e45500207c156e80c71cf6001dc584e374062b80320635c0
809ea89ca070266ba1be45a3d52ac662d0e94f86691df715b2028a6007b452c9
025c706b836c45a94e1a9da73f23279bae468e3e33231fe2bfeeaec29d382d3d
0ccc22e7c2ac7c86aa78da69d3011ecc04b2526117ee6b793ae84a15ee99036c
8533e44f18c979c9378aa0f7f2fe8e23619e784f44fc4c05888ac6c3e2629a32
979548b50539d46dbad319d8d51a4c531f6c4fd402cbd695fb6089f0f6e0ce9d
929dd420dd138f0cc596f362e6e118b47d1f0a08db2fa556ee44c650a2507d05
f0a3bb019f106d0999e6ad45053d01323764900036cb3dffb04556886b0e3e74
62b46f35f2b612c8be68b2225fdd3cd887a04641f12218d34d7900ad2c457269
882c99c4809262b883221f625bc25daf8f63e93d50b61e34c5229d785d5f5a1c
32a23995e407bce2c50c9116bb48af5279080bca1d9a5629fd1d4bd5d52c7b68
12cfc4f5763a4a2f32c0ba5508c0f5ec8981465dc6e79ce8545fb21845deb5d4
c0800d2cb84c5336bc8cf1703d5aaf17f3482ee650da89b40258ce124a143c1e
7d096ec9d4b9889ca24822e983b0a3ee7b77ee83dd4794fc7724366196bfb93c
49f5c7b43be88e3cb5baa7252cd709ffea6e6407b64f10fef9d2469d35a4a2fe
9ac64499fb98dd0e5d044c4b1ccce8c190d14eee760a944047cd6702a1734f08
4fa8ed5657aa00317433e4dd55f0ebab0831ce6904f8e265c4683d8c93e76a57
3783e5cc8363fc46e9236580f4c519f9cf3ab120466b208aa91fbcea86bd7eb6
8de801a2f4a826c535a6bff03a0878eef8c0eda98a416e42389df6a45177b714
58ca64926eaa4342b29f9a243b5174edb02dd937b273c23030ab7b2215ca4e15
f8e9b6c7b5f190f0ef7a3ddf571e5459d536d8fb9fe7370726187b5841a7b6f2
f655908e237834ca04e1f5672c2a56275d3f237d5f550ae031b1cdf55886868f
81f6e5a0941e14c1f3a7d37a66ceb11a9c2e0e1af200692a5576ca7b30773cd9
8c2d9a0abfad5fa79a61141448ed9a7f9f980d4679baaaf4f3bf483c3b75c65a
ab2ef2df010b948e0b3cf3d4b26e80cfc20cd9f583ec34ecf8df2a5c978beb9f
cfdf8d59f5761a85a80397bc78a0ff9a129b12ff0a71c4f660b841b0321d5439
635d8f44fab0b77eb41b909c541db85c5d058fba1da7b6ec162b307a1012b4df
7dcc63c9d253370525a301d3b80b50266c7c6c75b065feb587487d22459815b7
5b7a732691328315827415b992664ed3fe10ff6be29ac88e19b752da8010f1f3
35fe513cdba4e45e8dcfc67eebb7548f360c5108c735911e90e9ff14941a6a27
8598638baf63362664a4de5100c8fc8fd0e21dd81758ff8e2dc9bf5a1d81c40f
47d055e3066e00b7e0722e3a8128d37142650e53827d967523540443dcbef0ba
cd0a81cdf088b8ea346ed31efbadc2f545a082571c2830acd2954508fb1113a6
d6d3071df3d42b19c9437af1eb90e29b913a163b8259c49b0cd0543469d820a2
6e60323aa90967749ffd38b1dd3f9b55b76dfa8942c5260b6e3d09392d56e0ab
b282443d892726da8797ba1eaaf9f856b42f25461ee0437ec2a3cedebbda18c1
720e12aff1394cacbd0318f8f1231ddb2863781819d8683a3aa2c5b21b7e151f
8b320fb2c7e554b25e3b63c1b715a41ed7ddd0d9e867f231c73470f545635cec
4749d5d61c9995f74c26949dbf8534b379572da248407c01911a93fc27e63d0a
0e8458679c2e50e1fd3e555b44325c6a7f1073e12d619d79f2e477c048ea4196
b80f2c8bcc7a33e16439e222bae040bb7ba6acebef0ba85bba5ddc5966d42950
257a7f2c1ae6e22969222c1017a96dcbd3f4030a42c1f90da0a7e5b02c937e12
dd9e0b60d2148626e24f01704891d26127b9716678e087a9f0adb125d3050d8c
40679922911dc51a87a94b315d1c8357c2ea4be4a651c9fafcd370bccf1f4bd8
31ca3a5fd4edd9251d9c49a2c0e54457144bdd2aafe9ab30eab11f663a9e6685
8f5386dc641e02dae0a12c0c46bc02ef14835a7719940aa6c45cef446b8e4462
507a553207afa179d8fc0154ae94872c3ddbda4ce332c1ffef6c6e13d9becd6a
d299cb3b6faf1f1b3515e02efb6f0d06d49ab72f9d1bdbe53df9aef2ddd33740
2b0c850089c16955376f55f6574c95da74504ee20741491039d58989053d9ab9
931cb8283b8d2e4c7b8dbc25eaa01215d58138bc163558f017e010985fb35fcb
9a98b5efa0b5c3f032f6c9b13330494471814309a29f0ed31d72d83f79de5e01
bcd27e3cf681af075b6d240913bdd40fe6d1d88cad46911397c79ef829b8f12a
a19c467630d32dbe6db7362a13bdfda8ba087537ee29553916a3bfc56475899e
a7a78bbfb28efbf3a620e2a8f14dc0a7f8c579aff062ad6fe7d37e1ec4f20db2
2e58cd7e745daf7cce237d313bbb603bfee92b9622d21884f5a8f7b8f4ec939d
628a5acfa9756278a64e690f491e0d5ec49487fa79031ce2e3b6e8b432cde65d
3510d71a1103bb84ef415ad52b5f76a1fa9b6a6909e40529e94ecdf3fb4e38f8
61d0ea9b708854549a75121c60f0ca39786f412b208f75e3524f8df7ae55dfc2
b5da264639dc0a9cbeae6583d7e2eff6f5c089cb26ed55fbf3c6c5d0465bf024
379aedd68e2fb74675a8b99a8d2191b9af3f468e31119dc90f66e30b28a37a1f
dc28e1b2d90e7a8be81db02c0ec5862d25e741c4a09818c5a5d4f12818d19e93"