void-packages/srcpkgs/firefox-i18n/template
2021-10-13 16:38:48 +02:00

238 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=93.0
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="205196fab018220eb8b61936f1de3ba35e19daf72a866c31a2943a669de8bdf6
30d632e9f12a7a31bb3c40c763f4232a91ece7064a4504814eb463467a2a59a9
07c2e6b8fb048b0b9f86320466f2c1d79dd98cbffd6f55151a12d2f888695381
690177541fce49dee39b0dd8f83cffd4abf7efb284e4074b3378309b5840b2a6
b2ee763e4ad39dabbea73b0b091b8e5b8e11a4e990d92cac62ca588dbec0e5c6
35533681d0b3ca46034ee1e6090ded3bb2f0f4f38d657e95cc03865bb0cb0536
264181cac8d091da6a3be50107e2e1ccc995ed90f62c25331c7a127123a7e78a
e13ab64fcf53d0671114e478f2de8f4e27d2257dbc916dd4502ed63ae222dc13
e2f8df73d3532857176efac61a024bf6751a16311db09ac394dcc4d85304eb12
56f7b66997483f9e10e237a9c8ea221b095701ec8cccb3d7e4050dd70db7893f
0470602f1119f6264945d433ae079a64b03e7d8e433b0fc78f541458687e3844
a9db270fe486050e1d58046f16e61ba6792f1479fc45bae9fefbae0797a21b6b
b2b0496bba90a942d2e35c39878ea92bc5258d611af0100a92e37c77d0083456
4cbba00afe27435510697f971ae18a52e2cb360f5efeaf74639073edf50ee987
54dda701522cb3a1d3c1d13105f013e565adc842646961e7da06ff088470aed5
16a0059573fc1be855e8f35ce35f83e9b4ee1ec7554f20dad65bcba5e2921ebf
efa487757370f0c96b4d0c781e5ed7fb3b730b3338a1078c255703c6e6a7eb1c
4c54311cbbf508be0340b2913702050fd3ccc59cf51f2122d43c978d2f17424f
a76d9cc440ad223cff7e7a57aa7d2cf3da5b0a46a65917747983d7a6523eb23d
a8b398e3cfa4f65387d3fee858a46a405266aa4168489c4dc5dd9da3e38c33e9
c087924fbfed5b560c2e34663703bb37ef44d851c147773619eeac46575dbce9
a05952cbe9d561a006fab28c30caae17a07eba9ccd984445870f62ac982661fa
4f0fc3a1509db5401e0fa2b4fd2403dbeaeb82643e8313130e70325f5edd4aed
71eebc3d09460e237531ee118ec4b88fe56814079d384efc30d94549af9c53ec
f1cfb868eb637e30e220a54320ff76f6d3f0451a248c968784bfec0fb9df0b0b
94764abce683d7edf9a5bab08336254a053ab55f7f476ef25c5cde823aa816c2
bbc6e26f73d015d15640748d9e9f1cdf13eeb5b10e5b57d427cd5e9a752b8337
e2affd7dd6f514551b0c6879e34a51f2d59808095c7edfeb1329f757e09b3eab
43cae94d429045aa839bd36ac49c5c1f682a919bd79a67c2deb7874ecd87eb21
7f5461b1c3ecebcb17dc99db48a3f97a59eb4075db2aa177e351f1c8dd78a48e
7319ab081347df1e5ef935e5cb9adcd24dc1cff4441e389d22e21da624cdecb1
eb39d71646de48d3ae2dbbc9dd6bedd8d99ff9138c60a8c18ffcd5afd2e1958a
59e84e7396a15872307870ef1ef3d93126405129174c1f8ff988f555fbb0a38a
dae5f559a446fd8e5ce05db2c9fc927988ca0c7e45baaa1d147c9c7f71b64567
04488a756824bacc67d6147b71e4453ebce6d399d77e4a4a963489bd6cfe6362
101ff43850da5237ad14d5c81f81fff70c8e997dce5f638f7dc8ce6e3f331e0f
c708cd6b49dffc393e8e08fc4ab985bdd463cd59e57a21eb440350cbf5b1b219
2064a493a8471abbf426f6a22373478abb3215794707a856dbe1ea89fdf03f21
f2dd6ac46e8c02dd15e0eea716169d00caad126df4b02cb94695bfd3865ae4a2
c4ccfcd6aaca3caa0b4942679b50db3f4383b4d5958ce491804524e097eb5772
3e0629b328f289686d23e108fc302d5b49d2866fa688a0d40487c66227a6728a
ef461c1a4ec1dc205097cf183f093594013b95e8b358ef4b7004cca811a31f0e
5c396fcff01d9a87ea7bd30d5acccfcba4a92d29c07bfeb04a8b000d2c9948d4
03003d6e28dcba6c6bf48bb9b910728780badc43b1fd9a11561522bd2e3dd6a5
707cec518b6ee76a55beb2cfc273ab40c63dce5291b45eafe5f807567d14f184
51240964df10e0869f26a3fc1256b7ef9f53882eae227c7f9cc9f9cc43f54c41
a57a6a15677d1a80d882b85aed91d628166acd9e2ca96c4d23a9b78f65fd3047
454c643379da0862f6dba701cdac9cbc731e1c0341603b69f2ae6623c7545902
933a1af28467d8d73a06dd31dbf3055ce100f1dc05ad041e07f7c5464368d6af
65846aa1dd9f2f5f527ca5377c0ca6af11da46f2b687512591191d7bd7d27550
dc57eacef684cae17e1b1a126b56cf8cf1b22cdb30fb61314b3440bfd652b525
885cc218fba7cf694d47ff7f65ee0696bf0f0b36c48f8982853c63e840028fc8
f5fbc21f3883857e26c106c5a15b499a4e56cfdf01674c6dc20fcaf5cc9aab0c
df6d621267a99c03be813a05a9ab95dbb024cdd543514c05334cbf6cee3a4e41
153a48967ff40697f2607bb84fcac215960ff91f501fde8870e7f659f7339b4a
7dbaeeb8fde6c997505baea730ba056fa1b312d117cf2f0f24f237166c8a6efe
a7abe1aedd1dc391aa0c47cf8c8cddb3ebcd230c80d7b06f61b066aad067d4fb
ba2890a377d56707ba6462b6013bca1a1f7be9b6e24e130d8f1b0139a30dff2f
ca5141ec8f50e39242dc8b7b3464d7da01d45db360fddc2538fbdf9b9d9aadb9
c2ccd05e593292cb049f6c03aba5defbcbe0aecbbb02543beb4474bcf2f84a87
758efb23999160306d846c9f0be809bd8c81909341bd262703c6268eff7b0ac6
7ca5aa56abb9d4ab37dfb049079e03be1470ff7fc9796a15056f0c12a5db6abf
5f4f6cd6034d5084bc5511acd01c9892438c5e98d82e3d336807e7c83a1ea1a1
8e9f39dcc20013e728133400eda3fa12a4174754287d917cbea9e2fc0fc0b55c
f028d25b60ba7eb0007b9f0692cd50ce5b7c02a357dd825ed85e5e6efa17acc0
1de3b542d9cfd802be8f9eff12f3a38e7cae659c6079587fd3e6187f1911c3c4
85b6c6d61fb57cc7e9f691dee9b13570ed5fc0c3b8272b07a415bdce474cdd78
7db4dd2742c0281cd00b397e9d81b8220a9fe6df318b2c08c1d4ef3cb65f564a
f9f88ed6b9bbf5f37c9d79c5246be4494ccfe108b4c57503319f40fbafd525a4
9370edacc24a3c88a876bdd0ca6f3dea32a90da1d2f265861963b2d3bddb4199
95c24b9a11ea9b5f10002e0c0f40e2effdbddaa82db0d862c24b0a4b79d88926
043f768cd79c61face5697953f22b626e7d0bc4aad6836bee3cfeac93d1cc17f
a02f8d3d66feb947fd86848a8b68a2208a33518ef3739ba622781421f3916ce6
2f760748ea106e691db0732d70c6435d1862961d8cb1146d62da89e1489d98d9
76b91012a0026e324ee7c46d41f6be9733e4b9fccf00642accb42aee75875d9a
3b8a176e8b5b886cf3770fc2ce5eb1856bf2dcb6a7f6d8151e493c7c16d7c791
594ab045a7df211e4a9a021b9f528d4112aa2cbd92b26f7e399d2d2e32c5ca0b
66786e5ebe6411746b21bc0037f6bde0f25f06b54e6394aefb71df3b9d323611
d1fa02e67204c831de6dfb4a1361382d2ae413a78ad9f17278913b6a916d992b
3f2c13ba290cece3d0a2aeee479bbb4c86f079ff2569e990962c7b219bf7cce0
15687d53325dfbac6acbf6d9e680a3d010d809cc3aa0cbdb1b040a11faec8fac
ceff983ce091dbfd9d115e795b32d0a4011802d1b5003d79776c34f7401a7eb2
00e7ec42efb67c7ee4ba589f05b469e3f55ead59f8745c12711d38eedb2dfbf9
66e33c127b1f9a67cf5fa3c96eb858531121f6230d6e44b4b804397dfba4dc71
3b389289c421b39765acf4fd9406a68593718abd85b7b8d056904c4071ab4ed9
df9ffb4bbe0fc617ffd5cc7ae501f8cfa202a53f19d8e7b202d8a380f5171806
6a424899c2bfeef4adf50797c43b2523b84938d3eb48a5d996165148d2f864b5
d4026f0925aa07f7c9525064c38a2ed12227a19ef4d9e88f0a1632f26a828d9d
2469899daa5bb1ee012c3f4741fb409a9158b044aa262597d2f6d617555e42e8
ec19dae4249b7c6d1301072c3368454b251a81db23e9448bdca503c64d42755f
54702199fdc7f736925ebe1c62ecae030ad3b52d068f59edce5bee0aab800c8e
a04f54f6743c00b9fe3adc5dbf0c7c3f9e47fae33fcdf909f3aab990db575ee9
b42452476c04b284654a9ccc97b6207753b317dfa1c4ba9b2328c38d4c4663b7
fb2606fecf5310d19650e18c4e2da6b51517afe3d7c0282d4152d7a753d8761d
5074ad3b60f5ce72a2a882475d8bfb6a57a0f06a43bf9ecb8aa1abb75b925c5a
f37dc20001682438b7795e9c27124b9ca034ef7d7f0a4f70bdd0e7529f60021a"