void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=79.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="911ef827eaeab995e7270eeb28033fbc3ce402598ddf955014594d817d1c978f
983b2eb7a8517afce57640680ee67560280fa45b49770b0c8d467206fbd8086d
14614238df913b5ece0f97b61b4ee6752bce82522b34b39d6509821317665551
fd54d2d70afdb46c1c3d2ee98031f838c7b47794180ce382fc5e370689d8ef90
3b6eb29eb88a36d5c9fb9b3c967a3d8861373d0b0d3f420b2286512941e0d019
12e392c234918b9a55c54992dead682ce3f2a2222b8b000a06c8defbb1a8bb53
1e4f7f853844c8574c04d181bf8e17c488c853f59359c09d5c6bc8055ef77069
38628429290e0ed59a8f9f22cca9d104b301ba58d1e6ea03436fccab55b3b760
30172930a46c697a8ab27dad7e69bcdcfe32f12f59d5078985dcef804ee587d4
b544eef867394c9bad066c8fc3181431c84c41d8dbb215145038f072197087f6
5fd5902bf3ee95329fe92464a5245f309c37bf312d68f4b4b5e6c816cacdb946
c4ef2584152de8f07dcaba18d5299e8efbe7111ea630ef398afc348815ba68c5
313e4e6a253930272c2e89dc5d55b19521d688640acc5eb40bf1e52f8976545a
6f7b3e3f46218074eccba60f0155e4aa147f60b5e8dd15a9dfa779d4cef998f5
02c3ce4c3d2aa978b48efdf4ab8f85e0c5016498c6399cc9bf47d1912b8709fc
c7f2fb867ce1963b9036862c4667bd079af2eab12b41beb2484f74834e84f08a
72a931ff0a04675341041f1be2151c916720eb0488707cbe9fc1d7b0bbab8833
3d47ee3cb1eee421d9dffada7a0f82dd487aa8576344010a096945390a270599
b983eb8987595c20228fd2a528f06dbd7c3600774387de7f9ee74994ecb265dd
a158c2ca320dd9bc63603cf26fede3596833a389983796f8ba6c8b65cbb0f003
d3036a9428be3c10756c9ac0c74b4e74d425913fd531ca053d58b33ef0e716cf
c5f38ad6a9a40b5946721f957e3252686c6bb9201755ac8b8d8c5d4ad44edfdb
e984841a7f5c9e26f5792dd7a621ee59bae8c42b9d616da77bf4430367dfb3d8
9fd81a161083c4cf84d63f955a82ab64bdf7972f88b62a23b3ab52d2c8ef000d
af5e43b5e8a4072c073a1ca24f2a2f99656a26de1bd95eb68ac33c30edcb385e
8d8ed077e50860356bbe30058ca2d87b6a398fc930025a34215b002ddc085046
a51da8b740522c4291581a1fdb94d976be8ec7be795069364fb329344df72aa0
eff776467a86a766b18d27f31ab0aac768e5a6f28420d73409c00b769ad1d460
922ae040938bb0aac1c534e7bc8bd8165079204d98fd8e7b956f5a98502300e6
24fc12e12b3e5c1cbfd55c5fb350c676607edbdfbafb41375b4be9929f6bdb9d
da53c7afd9b6f128f9b4b8a23af0a03459518ccbe668cf39711ff83482dafdae
607c5570406365e44e38eb6d07047742f978717ebc381f32c813f6f0c123792e
9d34a7d049fcd24038d25c993852a42fbd63a8023bca93e812b6fb88afa5e303
8de7623c5f56764f3f2ee0b3271d2d3d877b5a5698b7a2199bf0721c35260219
1c406fdddb13520e76888c74b95252e70d5827ce0f763c45104434bed654a34c
cdc6885ad11f2b4eebcdb050d7a6d30c933e7117a1783d277ab194496300e33f
edf5baa7426f19e266278553f513f8ffc521a7ce9ed5f50786203ca535cc59db
c78e49f49ba95d0ba7e97422d26c65474a6e21f66c8487b3ca415f6ff331b7b9
16cba73411c97f0a218ff3408122d8137e44370695e499b2e39677bdeaf14844
49bcd136fa6683ea110f5a1a06970bf3fdc76c27be4cc5b2e9ec5c296c167c14
f646ef3b54675dbe2d30c49983b3ecb7f2954485840b0d1bc7c4a0602d0aa3a9
12ac52e8ea3a98812e0b0905b9273addd8d2377c86fa8245e5fb71c1c4fc2430
0b759120041362b66a17b28b93ad50d983d849f1db997932877c35ac6cb5b68d
0c07d678683d8f46dbe9cac11d90d3b4325bdc9b1c4ef7ed097f30086173b340
3b7e4911bd52e3828a12acb026bc9d8c7246deb25a800e1ac9e137751f1c0e9d
7d85bc754f6f7162f99074b27b2d362b4219dee77d4b284d7e2a08b6f3f6bba6
1b0380fb6ed06998c35b711f80f88df004fd3b59f70f479421d0d404fc64aac9
ef2c8e2c12de18c00b319e980a6a7ddc2b85d9a752022eacbd7884771531fe03
39bb628ccd04432e53b3a208cebc5afb758d07235f4ef09fc2edb94fafb9f7c2
ef05a3f38dbf89279d68cf9980e006e72bad9eb5bdc72ba84fce43dca01ed00e
c403c5c77657003605a600203c7d2f8600f28552f718fe054992f2a8683cf949
f0303d8437242ac039046cd8881d1112006c2a00221ae18a0eda41574a067003
09f3ba18cf4f8a0192dcedd8f88ab25c8ea6b6d03f6421708051566d16044c0d
8856408fcb3ba244bd8ba233864f4acd647e7027f3520fbc6ea6b75a4d8401ed
f8580345607aa9ea607d0b1b31347a056551229d272d273e04ecb39e4d151f27
dc6d54eac9ab6b210ae9538c8ac775e25e6bb7126b33379fc640f981a1f3991b
665b0501b441a7f6bdba3da65af1be7d702d02c20347d53fb792a405a7030afe
5ce07f2a5d4bd50d40d76521237428332c4c0245c4f323278ee0b7b01bf38dbc
8de0de7cd2906f5763dada07994925ec9ecae8aefde7bd3510f3660e901666e6
8cf69191d042e9ec3526d10fd880a99b37047900ec65b95efa5b11c5bf1d947d
626a3ad4f9299243a359aeca86ccd9cc4544204f954f285df0adf358e522e046
b7756b7879d9a470bf0b35dba534331276e789e65a22ea1811196e63667f3896
050d26f61ca79df60f94bedd1cc4498bf10f5a5a8164b3fb4a63e322ed6f6362
5c0a09d7e79b96b858b60929f3dbed6a162a7c044fdce3ff57a098874af69eac
761b1658dc876ee8c3c7da1c3f0d04625beeeac830dde44eaa0a5c21eab24164
14ce371b6719ce2964192b1c5e3b2caf91600f55c3dfb7a254cbc8c0fbc260d5
334aa328efc3c06906f69932aca2d3e5c32c099176dc1dee8a553830d2943326
d5df1afbca5db07ad0409d45a53185c7aa834ddac1f6710179811738984e6d7c
ae3cb5660aab88e51d37b57afdb7091ca48c7668cbd1a3fec54ca9060644ab3c
9665152c43e712541687d45d8d5eb4a92dc4270c54dd8a3777f7edcfe4065a31
480990e66dd7fc88cad381e66a39ea6c2ed474a460c869e322a51e45ea7ed4bd
80b59e34c837f0685c65cb7bbc804f8e66c942be4f1bf7f2529af2adf347fd3e
ac0d61da046ca60e82e19537a88fc80a8e6cb9f41d8a9a13836f5be584d6eb20
0e41681ae400eb512b51b42273370f8b757be79a0f97f81e04e0ae5623e9adfa
d5777d4382b482edb0059a62daef6b042cdb53abdd0e879b31fb46ac45f7671d
63714549e9b8e74c55035d383f4e1e0303d9e49d8f422f7bc92cae30ce227322
5ab137a12dc017e9bfab7666e928c6883caa0ce4b081d617dec9163d2a52700e
3ab8e897ef31fbd4a94215b4bf8319b5b9322dd28209428424889b829269eb93
3ca90a08b917edfb9cc7439e397641e8ef256e3693e0a86061e3ce2b42cd6f87
96d049d031228e18a4bb3a515723b58f353dfe1ab0a61fd015cb1f285d289856
09283c9bb05a84583488febbd7fbe3e8afeb0e9e56294099b0dad70424b16a78
62eed45412ede9a0e4c1ed9a229489acb5c515dc0258137dd7340515e9e708ce
339006144703992314f22081add5fcc30865059a36544ba40d3abfbb3a327a76
8fbb77dad5b47f4e3e4f0811b6cac47a7c58c06d7dcfcab0a6589d1527a79f06
0f2bd8d15e6ef273798c0107f3d24103f979b2e029fd0ca112ec92a98f6d6932
f082f6971a5e63e648315050197500f5201214f26d16b9a18d320407f2d6119c
64d2b552712b7a42813cebfbb9f547f38850eca9ce35eda1cd8e3297534380cd
caf71fc4f1384f67c1e6eac9e086ae33f2b74124754de2742151e0d27ace7346
d0bb54c9e9a53c8f03b8e24ea1a1a8ba5e2a2195afb65ff6807fd2ab505b820d
a6a74a18c9b36bfcd8666f5b15694ce2411ddd6f9d1e6201abdfaf218214d4e8
e5224e49e367be23dd015fe0b827320e31bb93d32451741eb586c9826b143024
4e5df2a926385f4dcd4575859fa3e84f480a539d71f060108f24651f479be775
dd36b49c232610bb722eea4491e418d4d1c4f3bad4060a34dd4c438b21f94f9c
f62d9bcb95b42f6666ebe5aa06bfa0124b99c91501675c27da96ddd899f39211
c9661940a2214310fad28e2400290d7226691546b613e55d4d01d5af4018e15a
417c81b953dbea9bcb3fd8d600dd055d210df4f1298a961c98f3ab95df3cb830"