238 lines
9.3 KiB
Bash
238 lines
9.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=90.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="6a847f99a28bfbd69c80c905b12da89ac6cf3ba11b5a8910923331259d2ce20c
|
|
e389578012f1737807f86b91a667c00b1e8aa1f97f5396f99541d869d9e8d9ca
|
|
0959a202ac994df39c12968fba79882862da9443c51d733fc686b093f4cbb002
|
|
d754b4c4b07f00dcdf66c1165596e9929dfb410c337c16c5a3d39e58a6bb8ce9
|
|
2fc600b9d8ede173de21fc0cecf885f90d989d889833385120b6ef68068da4a1
|
|
d240023fe4d5cf7df3fb6fca7f5db5fd0acc3682f280648c12ebd5d16cf5e263
|
|
6b0eba7e19fc7e3a91c8aeb57c2f960bdbaca2e2f53c0cccb3a8e64ac3042aba
|
|
29e3abdb69600bd5113b85db771e6c091f74461d56bb47303af12f1c43750667
|
|
baae42ddfa4001ac75d503d8099fb49e1e7c9b52c9f0b1aae8db1d6a9f7f2d91
|
|
c9b03150b23971a5640cfbcfbd2af3defcb5d67d565d762bfb240275d25824df
|
|
8a2007fc267c3e6790281ec52a0694f789ca0ac95968b9ab662c11b096f03aca
|
|
d2e80267a2c8184bcb1a08c7b937aa24a0b2d0d3083b145bfe02c6c73be49ca6
|
|
00419f454f44af8f3422a9f3308a8fe7af0b266c53998b815fc0350bcbfbd560
|
|
e53ec85e4c531794c95e9d518ec10ddad42e1df0a6cda78e3f70de0bf60cce34
|
|
8705fe76cc395d9e0a13dbc3812a58fd7463a95216fb9a632f5cf045f03c1350
|
|
8d5c197ba6598bb8c138f5e00cb5e2717ac2796857b065c2c5a56be7e9e9e217
|
|
7bbe55d91af9ad45b16078118f85ca52b0a8d65b4d60719dc1920bd9a9ddad96
|
|
42ac88d57d14568bfbb0fa98baa4ec002f24ff7d4c4107db4112f5940e7e333c
|
|
ce610b3f39162b7dd70beb674083c066cdcfe6632ed5b56421dc31da9a253029
|
|
ca66e6d3f1b03d91bb47ca921a55c6c2abc881798a8eca86f11a8a06a611cbda
|
|
2f983279220a58b50a81e23385b7eb7c59834abca7a5b260c95ffdb954317810
|
|
71d8db8f80a279b537ef34a2bcaebab00bcc164d9dc39c4733a9c639e2f9759e
|
|
cca6d9330db52580ea5b98ef4bd9af45a5d48f49125f2ee305d53930f2bc4a25
|
|
2b1c764f279e6a356b9d916c03420ea14a13ae9b0346026addf11a38b4e37179
|
|
087e71fb9210509b1cb24d66fa17bacf6950e99a09feebb04d29a36c2b41e2e6
|
|
f85a6008fff28eb6886f8ca6b7fe8295694f7420d660b647263771568c51c27a
|
|
9b287dedaa945f45ab4e035f715dca684ee7326e137c4cb09365143652f4fbb3
|
|
26e69023046df3bf520250f01f8a56cc12973588f7425d3dd7ab2f423dcac5b8
|
|
d7b8cbde5b38daa5efaa97bb1339f04514e40cd450b915ad08b1d6772225820e
|
|
f4b73815c37364b127f907188513821134d56c11946976b7ae39075fb39656f9
|
|
48d7c9a6516a616aa0d520b8c02f51c59eda4c096ff39a8f43e410b35c11aba7
|
|
9a020f5a56df7d22dd6f4de2aec8d6f3aa66fca63c57077aeebda5c35f2d1e44
|
|
9ef5583f6fcf03f1e87718d40b29018e9e64a6d42c9f0521d82eadffe59f4114
|
|
c5e7d5d787a11cb2ca24fbba9219b193fe00132ced43eb80fcd263a81658c1d9
|
|
555162a321adabddd8df8f7aa71ced3254803c0f4cee544fb693b0e6ca03d62e
|
|
7a65b020f9ecad3338691b296053b2870b9f6fa1afa28e49470fe33e579eca6d
|
|
187f924d0218d3c2efeb979fa85f308b9b2bb3ad69dcd44777701583291d4289
|
|
b6f7096d623972c453a05c030b6afbd3bf097036b71138b458226d1b2c5581b2
|
|
e3de3a816ab6eae4f330963cdfe52af2fcb5535450cacd7f50923931e5da68b5
|
|
491becad650258ad42b79bcd21c63bd9f07861d26d64584753c756741dfea5f1
|
|
377e94a7cf76f10f8f69818cde5c64024c3be6898136167b4e2d56f49fba493c
|
|
50be198cbfac1a470787cd9a1efb9ec040cfac792bfef9d5d2414ebb12323506
|
|
6755b4f1b5de1aa8dff67f2c80b27ec7c801a1ad1b189a530981de22d9aa6d1c
|
|
56a145776fecc4bfbfe3d110be4b397d5c07e5fc15b5d446f76f453eac54a136
|
|
da333297b9b5f96c3974d9ed0ae5ab032a193f330f91682bfbc0b01f9569ab77
|
|
64bdec55f42f64a08f5f9a86de045bea085902eadf3f0103694bbc47d0a51ee0
|
|
fbc25c307627b0e4a66c4e13b3090acc8aa2fb502368c4f35a38eac5bd586e4d
|
|
fccc7bfa4d1c2962c8a3d065691ccf5a5958ce61346a9f1b5dfdcf8960d0aa85
|
|
bbecfa079679f85c6b222b17bbc30145e386577138ebf11c92af6e25303041ae
|
|
9847e1ae7cad612c2ab25f055805affeaa1f0c357b3248434ff69d2160cd30ca
|
|
a654300b2e9f386b1c9d0764155604dc840c9b07cc70702a4b351aeecdfcc6c0
|
|
f7c0bf57ba386af117b20e86e08194d1b6351dd739fe3fa44aa156055e22a389
|
|
ddba6d70ed9c87fc5972a977037692276d37a7a0f8191fc0f8d5a57316d848e8
|
|
7f849a6f5cf815dae4ec6d5660bb0e5c5e2da99d43153270c15d1b3b972b852e
|
|
9b3f1cc5440325988bbcde602130382050cfe4283f0819008d7a303b6b8669d7
|
|
9ec42d3a0559b072cd95c7588d18888527ce6fd4239313278d2dffeee1709bfc
|
|
9f40539aa73ac097cba4230e5ea08aad2ec1b667b6b0eb03e4c0d5702433a2de
|
|
3cc578d753e77e97a4496ede0fc4f930a3261fd70c378ecee3b227e99bff0512
|
|
4ac708be12069c8747f52a54cc864776634f08aaf83312195f01ddd15373895f
|
|
752090681af9d3cc5771b407d83f9684b792029df3b02e9af9dfa9298a70d215
|
|
9e3a12b09243fa2cdf579afdcb18c024d6f8522dfa1a94f70cd7bc7646588fed
|
|
eb3e4795e3d9e6d263f7defb41e1bf182b69694baa5210de4e36339d2b4a7907
|
|
c0d9f167956b364b661fa531dbc6fcc49e979e2487e7b9dcc2a18568a46997d6
|
|
0f783cdf2c3af210baafc68c11a05d8f18da4eb559730407696b118a65647da5
|
|
e8339950ca45ba30f59172f776c03a13ab91952a4d88462c421f773bd87fe736
|
|
e3e34c053cd92c55c5cf3dedfebe067f49340d31059e6e04c19885196d644246
|
|
46f6755afe5c692579025f1c089a3a6dc98e04a261d254df4ca177d74341bad3
|
|
09a6e858e29bb1825c5ff07aa6d630339a674d164a5bceb3cba1488adf325db5
|
|
3d1fece4fa6022b6a68e2b2feb3c36e07ee518844795889ac6d44f302e00f9c7
|
|
11598b4f9a8e4775f8c0ff5ac126fa17f3b23f6dfbbe8cc8c66b3d7de9b556b4
|
|
5c52c08f2e04e85ae0c957e0087f0b39ac1f152549ee6e9fd33125d9c11b15e7
|
|
2a1aa6575372dfd351d762100a2c8751f9cd3960b1435a365c8d6df6ecc70234
|
|
fa2c7956764deaae789a7e853423129fca228e0dfcc5e4258b2f32d39674140a
|
|
1f579263ed4a8ef21f67a62453ed1f5f592d959518db73458287532311d703e6
|
|
826f7778d2c69e1a09eb5bc2b4d83878f078539039d5d723c1afaa643841829b
|
|
11d015cff3c3f51a58d2377c462a3b15a0e6fc7dcdf8c23c2be72510bc9955b3
|
|
b4c1dda9a5143d00568ccf651cc5cf4f5ed79d1fec309d6cd42489474656322e
|
|
2c9270b201f5f34fb6749e544ee44c7776d6faf95076affdfdd18d3244e3b1d1
|
|
0283a19da938ea4cd75323c1b273c2edb754a7b06d51ab236651da27631bde14
|
|
57a09ec1440b8d86d11e7dd287718080c908f22f371dd109aaaef2391c070eb8
|
|
1a85ae8363c844c8afd3252a332bf2603e6ced2279e7f99a4da7d4a4f6005867
|
|
ef4631a82196a199d97a9af3555d25776471a9ce5974e98d2a6a1f39861db931
|
|
b0b347920ac0b33d12cf6db5e417de40ef1893467a40132166d1d026667dae6d
|
|
fe9d74f540dcc3fbaffb688fc52c6d8fd7baeac41eba863e4f44e1df611325b8
|
|
34cdc2ca797647f215be2253793e22b900982f5f671d5bb5aa43dc7658fcc03e
|
|
1c31a101cf95564f4127b5a82e31ff3ffbd00d63150221e372460e7f4d6ca7f6
|
|
2c4ad4d64ed930ce5ba5ded5ce02e36deda40cca38401a952b47787ff33f73c3
|
|
4b7349a40591164e49ef14186aebfc67f568498c2490de719658adf6d56d267c
|
|
96a9ea57610668310b1e5df044da22da58804e49f86cbd680a716daaf8c12018
|
|
27ac4999a85a5db37f5a7b9f57077ef486dc87d1c6b6b629f3f481ad8029efa1
|
|
187ef59014be6dbfe38d4c7154d12657e9364412b7a08f6d10e276d581eb886c
|
|
ebff39e1a8c0b4c794943839e8e571973bb7c73cde2c00a5e8af88b0b6e016d7
|
|
0246b5614df11b4b15a5ef389ca0df1a397082f337fdff014ea61f7d872904e3
|
|
478f5ef7f9555cfe84c79f9f52577045a74491f6612a9ee4f5542f922b39c351
|
|
ec3bb98ef5c3213932588b14ab3bb5c954945c844f38503f5cf02d4564f4f41f
|
|
e0695aced062822baeddeaedff8c2714cadf2195646cf114c2dbe5acdcbb56b7"
|