void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=107.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="03b528e48fe3c19cf0d46077809c674e8753802defb0fd70227dc10a91c184a9
57e8dccfb1a846a32854502cdcaf7148c54433561bfc8a78f5b8432b2f498300
1616bd413a8368dca9c9bc618c6a338a206403ff1d0b4142562c275bc128a10d
bd5a53094aa0f5d692255f3a2215a479cc36def5e88aa455649457a526b88dbf
ff0ab8570d259a061c2026737b8b6396f4d4a658dbcc0324e3d8341355b665e6
87ecdd42cc18e4e825e9d161fb4dff1f75b2784080ea75b6bcfac9c8f5ddccc0
305ad9195940b79889df195c97f96559bfdc06d76336735780a086175e0b610a
7634872faa72153520f2594a7c5b48e04ba9682474fe5db005b5fd8230c7321a
8791699e93b54d8aa4f1598ac35aeaa8f62000d93ad9cd48b5f3a64ae5a2ee3f
d770d5676ebc20515135d87c605659eb5d46c9a8fb10268b5dfa473c4ea0f7f8
b3e24a9f251257fc0e12c844186e3c68f07b183b07ec98b46693f2a653dae380
0b9b3c6e7e9c72a26893a9b7aa3942a53e1ba9324d63707621897fba7ded7f3c
3bc6616acb322a5c3a712261d78506840df2140ebcc40f17eb956f101fa17393
7155b80dbebef82f8c287fa975542cd291a3d9b615c0528571e630e043585168
22b95473133a9d2f9d17fa8f811d3a0da85c0bbfac907e91edd687c94789d4cc
9e4b249f584a218b60fe203d14eee5069cac4b8377c6b6cd9e1da18f9b32e721
b717e03a87b249851115d0ff0147f485c6f87413e5fa4b0621adfeb8518114e8
45e96d154cfa9d9e59cd1dc45b727b4391cb86d840327936eca4ca89606d18c5
94d9a25fdc04a8b1ca2101610b6d9646b0d474ece8b5649190ac4f139787a3c2
168d063e402fece8a32d4167db503109723b4e6266d48e2cc294c927bc7fb55b
e3281772bfe59b8a87dad2ea811bdeb40ec478c1af693724240f0fbf9e3d6428
191268aa9b0025524c8d9ea54a1a824ec4d6d5bb6757fc1cf65da0281df4d229
6aacd99978c6112571c9fc4fed2496f9e56e3eac11fcb815780524755c4dafcd
cc33b9b10345ef88c87baaf8a65d2341728391a1f8b8025799997e19f1959194
de64128728749f7549de6aa61f7edd21800c82895254ce51ee0cfc30e449f1c9
fffa93200125cd0ec526525a867bd540b8d0aa092e85243d4695dede74af2847
b5d395a5052163eb70018631b0c394ad0b29e0a2a83ec152c8ce3fccaa5b28be
109772ca2ff465006671fe5b43be1e1b7d8c134bd32b5b2db5f3d5fded6d46d5
54657a654e01aa5c2226c2869b64a98322b5cc3cdf6ea7667cb1ba0f9bc75ebc
3d98a5e018e268b11c1b1dce0a08257ef711bf2e377b8dd5be2dd6f0e6f101d5
c356ec6d7ed6bf2a808d2f9162a077476372a9fb60badacf6ac7ce7f1e88db13
ab51e521ce80d2065dc8e75ff1f038d4767c6223386dffb87820d3dfb75d9b92
6090a0d5f87bc51cfb5b187ea44f56398bbcb4ba3cf0c2482ee07f1e10a0772c
b4b2fd331b8a0afa2ccb4033b1d5c28333f14b9f8517101fa1c51ce0aa8ff997
76bde20b6f93d6c346e19a1275c080e14e882b981c1fae4d07163fcab367f162
73badeb12c0c1fedf73d1751819d1f411cbe18dd37004c7c5d7cede09d588e46
c3b83507a18815210986c68474f1e4eb718df18f63e5b72d47408bd1e57c7112
36852a3c11c04c15d75b39acf85c38457c4c3dfaf561ba9aaa677995141b6515
34bc84a2ac6f41cf35ececab13b12e1f1d869a828ba65e95c57dc8689c9e8395
0d2c3c36f7c9c98eb49131d9dc3b63caec31f14c64f1fc838aea44a9895941c6
fbb7d0918ec86356971abd833cf41107861289f41fbd493ef34b4dd077012b2c
5549818a0f41847ef2331ccacbb360ccec03487980481a29bcb564e562cfc638
3a1ca2f42a00b6505214743c2f2b2099a1073d0cdeb34c0c8e9e418822b1404a
83ae2d543450b38584fe20b4b0aadea37aa963c86fe097fa3b34aef2137cc0ff
b8fce06dcdbd2da107e66aa3fc4be82f24f0c40746464dae80f82a0be044dab0
1ddf34b635a2f3557f3990844275d87b53ade23a83569efc1f1780781092e63e
4699909d896e20cb62fd4b0ce38672003ebbb8eebb40a28eb8a7dd297dad1b60
46d6b6b69a72523453261fc07f01be2ddee3104a42b5649249744b55ce2f56e7
1b0d8c7ee46d7813562f2bd3ec1e27edb1fa3f2ef21d3c286fb475afb1391595
9c9bb9252585004ef14e91c7c834951b784da20d90fc65a598b79dae6fc66708
d45513856f35839f3671eba592c3665c90a677818788f8766ff9b8a120c510d7
6934117d9726366290211fc8563113f131f936bd67476bda26d95886636f9282
18850ec09831962f89d1a07880c7a24c3f544e21d8928bbaab9f2eb9624c3385
2b245cbce65008d4a8312b49db3c4d7d28ff26532fb193525b7d5f6b9a7b387a
c227ee02a504f6427daa1a0c321fa6e2e67b4f6d658f297cec8ec91173b1915e
4e9884e79dade53179d7377566d7a0b9f7ec2169ef1536b777214ff7a00a1eb6
5d0967baebd039120abd80d75e6c489dbb972433b3e01dc08950fa0b77cd23a6
5c3d8ce1bbb94238439b84f5eafebec4a039f3e286732fb56e471703c6666eb8
e29950a523a0e22c0a7e7b9b125bb3162ec5191cd6f543fd381230d33d8b1627
76d5d458c09d273fb1dc253907dedb69e9d5c2f9ade364001630ea076f600dc1
b56cca80b5a3c8d8eb5eb9e1c15ea471aec83820c7d3859c79b4da38ea864be1
2077b22cc91e5f2c4b4d1947ddec3428a3fd21422db1684b2ce692b8e4b0751d
821534880fdc29921e3418af305b5e7fffb1aac880baae2ecbac6e5b1164aee4
25018dfe1478e27d05bc3df839e52b1ca17370fe62eda87cb6ba6f9a79956dae
09243541fe509889232315bd8d1cefe7e9ba4d9b43cb23378e9afefb3695219f
bb79e1a67f90400a5dab476c2736acdf8fa62227ef93cc9996b818dfe88d0de6
2c5884215a4de5b7da8b4a66cfbda4c219765ee9a51e9a13d19aafd60de620b2
f82fbab7fb7299c0cdec2373923334af14ddfa739153c73f5998d05cb7fd4600
912e8d9aa5f7cc5117d32128489515d1aa68b64126ef40beb7c1fceb0e95b46f
4a4c58e7a8b260f40825a55f9530b36f6f26eacf378af7702a66aac3ac16de3c
d878b9f5c87f11b58d48ba8a07b4c605f9d9d9738d9823ea344832d4a56e8111
ceaf0f3e785f21d2e1e7ff79dfd3534bcaaac01145c7e608f086ed08ed11e447
7e53258794bc2e0780577d76f82a0a41a0c481048cc49dbd23544d46f00e1108
c7fdb733bbbb8ec36772f4f9a775a6a3e4d783628981f93aec68e4bf59aaaac8
f7563bc131f2fc161ab9ca79cd6350cf502f2240c808cfbc0260cd930e7c718a
2a0d6d585f94517e7109d97b9decaaf547367b60cb9e3ec92a449bbc556988f6
6360c5fc8c412dc13f3f000b82ddd15dbcbbee14e567d8857ca979373d2ad52c
0ca90bca291c4f8d63ebc8b8d3301561f3a67444295a826ac1f3bec97912c3e8
d040829ca0ce4ba0e95783f84fda8a2919af1b7d327c27f0e611e6824eb48b88
40caabad198a1cd838ad958c3f18de8f9d4b80de5d3f8ac8cade1f7114a42f03
50375c67b827356eb29d7b8fbd8978996438f5b5f9b1a1f3028c74411634ef80
b3a02a62144b7d6f4b66dbc24dcb699a62a516c7788b88abd395bc42c9e710f4
f446b19c2d078c9bf8a90ae70d4ea669c1b57d0055894802c28a44027d31455e
9fcb36224bbaf7835d3ac382dda427341d1dc6176876aa278f0bb9d9cc0fea67
edd435457ea85d31b8fbd38e9e7ca8c2d519168f0b0a57dabd51401a06be8898
d2fc96fab867183f1fb4dfa969cc7c2deef1ca58134024784e68bc9da3c25b84
2066a5b5696ec6a5ab5b2219cdf0ffd0f56c607a28c29b670bf11556496514dd
b606e99e29290f8fcd74783a9736028c9f6097de16a4a82ce779620e5aabbf60
0d957713d258722d346c79b1553c83e1ba8b01259b62222e9fb7284ffe67e4bf
81d4a851b60255abceac8c95519f0e782fa8ac73c20c0766c5706ca54d007f2a
f3d00b31f5624cda22d4feda24804c6648463b546bfd40c3472f13a69b97bd6c
9a205d9cfccb77256837c246c8d545710e0d79d4dee28241f5bf24bdfd0ed512
ca1a6defe61570ef6f0a1abe6996ee1b7ab40cc1996838f6e4c2d1fb031af105
71960005abdfeef9fa0d22df10fc22838091331f767fbd63de687fb3c3463720
ae4db7bc8f57c81e24329013791fc35b641317c8bb3ae29fad1d928a5ac654f8
6731b1c081eeaf9ec33b1d8f75cbcde40668177cdf3ad9f6f04d6c945c606bda"