236 lines
9.2 KiB
Bash
236 lines
9.2 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=73.0.1
|
|
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)"'
|
|
)
|
|
|
|
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="2cfb5dfb7d22d43ce86bc4c906737bcc4e0a8ea2ccfd1e4ee33c0f2f1e6ababc
|
|
029e50a226a675781455e97edc4d42569d88a99da890c24e30ba52bdbc1a38c3
|
|
3df83e71c5cf9b221819e2570edde855ea0e2e040dd9bfb4f569f3bb8b004a67
|
|
1605b42b5d086002f386674c6c74336b872fbe29eca94508d302a6d31a4cf3f3
|
|
da38e624bf77163018f4ab4ec6018e9356858bf746518a6cbc9242bdc50e8100
|
|
2b0a3f63d619be366208659eb261a68e113e9e676e8f6035dc82bda6ec6da486
|
|
9add6cce6a5575ad05ac2ef8194eaee6383f1c4cdfd5b39e63b9afc2e5663897
|
|
eff440d71d2351f5c587ce5a970f975ba8ded0b918d9e1ac1a0c5ff9302c8418
|
|
86c550828dceedbc098dc2452c9882f1aba714f634102f8f841881fb82503942
|
|
26ede6a074ccd18cf19d1ab79bb48ddceebacc452f394ff10714804e7b043d95
|
|
91e00ac4617e139aabad5000d5d9e785caa9afa2c4e99cc50b3174a3ee3c6a9d
|
|
6dd0a457e2616db274a459ae6730a53524a415b2e86cd6ac942b11cbeb09d582
|
|
fe48a52ef468ef805a8f5d01d6851b1bd62dd60ec2cc5ba0d73d0d458559c706
|
|
af4f13993ce63fcb3121a873ab37222715c17ae5c2518ea70cf20e255ecaf271
|
|
ee006284bea403e498b5d413bb93d69d067af268b0c04eb63f20d3f85431df37
|
|
63fdd57c41ca54bcdeb144720f99d643e6c752ee20c35f9abbef901ef5c3c843
|
|
0d7401f75d9130cdf240540a73a20a0d5bb4f3872da7806ec8601a5cf0c5c513
|
|
6cd7c65cc1d08d10afcbe9120cdde1224121848bf091df8093405d94fd15e60b
|
|
96ce0e0574ed81461da0fa8e852b24fd9585bcfe0323afce3922329fc70ee056
|
|
6ff379e23791578f087d617956ead4b3a876578a596fcde5cafc551526091f51
|
|
ce96993c47a7b72cad7807b1a725ff92293d64a741882d436712a359c9638a35
|
|
08aea9a5468d59b93c5f46a811bbdbace4c7176fe9c95db655597caee9409b27
|
|
03b8b48e63b1ccd043ac4c546ac79faa2ab4cb6b05770f36895fa426fc36952e
|
|
bef942f14aa5b19723cea18f4e9028c3c95bf3291e2b516dea25d452dc45aa44
|
|
760a5f7ea64735440880b1dce46c8fc4ebc46d248935fa43a0b7434f7f06b56d
|
|
258caadf92ecad4f9f8c02f506c0687c9bec6e1759d45af59bdb92b5050ed702
|
|
f59c385494346685657683eae5f54b2525febcc80be9ac890f4ff4fa45ec9801
|
|
7b817539590486cbd6a7922ee0c2c79914d638fc7888e5223879b36adba7af9e
|
|
a5b5939e7a61bb40bda7ff7be43c6ab756c4d8808b86e6dd92149a20bce0371f
|
|
7933856bba4284cfe7e993067c6a877989c0c446aebbff333ead4b38aa0e82e0
|
|
8e95073300e19746a324950abc359cb45d0f9322e6e7faec828e4ab453adffff
|
|
e96acb219fc199c3f42bbcddeb15b2bc88c7ce6bb86f80e230d986dd37ceac25
|
|
9d1ab5e3ac1dd90264c2feb94f3e030afc82a459664ba42a2da18759a157705d
|
|
cfad7a81dc78b07d28ec9bacf7ef8f6e04ace1d522660069b06bcf1f61e5ba1a
|
|
22a5a606937f8961a99123f87aa9bafc814bad64238d4953bef49425d6b153c8
|
|
22725923292cb2f593a54f4a4dbcedbbfe107c7373afdce7d25cd981f75f8a98
|
|
793b985a584f40f17ea9fe0b282859f934dc0b53e9f29891cb942803784bdade
|
|
30124ecfee4f104e0262dc4ec7c76a00409b5f6b9892578a7f3b347526a55c46
|
|
3f944638768de9e649082ac33307c101b559ae85af7ed77da86120c36a9dc2ee
|
|
f5b767013df9faddb022ad4d7ded623e0712cf74ff74a64a56570e973218b8da
|
|
f345b797d9f75b35d87614d6cc29795f346a79854a17b508aedb0e221cce5098
|
|
b8a93fc0f89f6034f6dcd5b2ff6d7585b45b31e285078a90ab957ba912863fb7
|
|
c2028e38ed1cd720b98f2ef8dc1f68ba4ec4a11f48bfc1b53a0c3eee8c1ae339
|
|
4e9ff63fe06e5f8c7413b454ff72997d6ba57970db72741152ace65eedfd1f2f
|
|
91b2f7efb0f042c3b3a4bf3d12b51a93b162daca8c61d9a0a9637b849ce75f8f
|
|
52234d670862acbe56183867f315811f62a2ded896f65efbbffb9523d16e324b
|
|
0bd9d49b5c100b2c864cf5c326c619bb265c5111dd220c0f164ec3b9a1d508e1
|
|
7892ef586eb3b3f7bd83f24e45b5812e82652876d473d5ee8c485388ebe360c4
|
|
853462c0a4aa202a62385defd176ca15e087abb16203e7a52426300b03f5fc40
|
|
81783b99a6b0fc2567cc8054913e0df53b78c8dafa8386f37edf4fa393eec674
|
|
c294208c6315a96adcf8eacf99b4f74a549e768d74d1439e8d46e84ef6707f2b
|
|
c87765bc837a8fa5b6de0cddc3e84c1db71bff5031aeedcc440ea7f592ce00cf
|
|
798cac2732f05c3c4b4dbae96f63d4b470d543a0a38da36fcb60eb3b0c48de2f
|
|
265d2a13623ad553b44b570092bd943769c86038f1a211ca1fc18b017be615f4
|
|
08afbb7c7ed7c0b982acaeb0321471ff30d3562e59e609e08677a0f263e21e54
|
|
cfcf470d208e6c13e81200f1f239d8e91c1582e63327b91a87f3175374e0781d
|
|
3a4ce7bfd05484dd58db97ec3d6b431ca629b9305279a37c34b0a3df775c8f7e
|
|
058231a253c176742a51253e99f8924f657918909b3a52738c9c4b6c18727aa4
|
|
4d0df17b58ce7b4cc64d6ba65ea87699e0441161e7cc697e4c2c7e56e8b4f334
|
|
084648cf0452933bf94c33cc430f50ad8fffe31bc6d448a16deba70c248aa4ce
|
|
a515d2b36e51e068e51370c1b4d88b834f8158e419d7e7588389ee92ea04518d
|
|
be3f4523d1f070f78f903f939cd7f4cd38c310df03fff49611cdcc83a04f9b12
|
|
a73ee6edce4eec8b7ddee0da954d252da5faa677b4c56ef3491600b1797474c6
|
|
9d95f3f1a6cb616bd75c36fd05e05bb608aabb7e8217eded60406d9990e3f843
|
|
c10241adcdd80b05edc7a1c622797b17e94026854d799d7aa0d0c9c51fb426f9
|
|
d2e618a09f89ba465772868716f05d7b8f414cedb4c86ca5f03db5f4f56e2cdc
|
|
f38354378d6694e5dad95a2995f95c3c6fa1409c2def28cd37ce0d91f6eed438
|
|
719d0f1451ba8dec35f362c28b50462403ea445a67603dacdfbd914711dbe22a
|
|
6bdf486301129c02859096509467efc4f62830010583b97e2f89c1f02fb20baf
|
|
4dca3251c8089fdb507faf40093b1092ae92dac671efb1f99086c44f4ba1792e
|
|
15b21a7f5af8384d29a290246cde8f3810521c76cbf4f54c08f6c08888707975
|
|
59b8f32f6990c8b9ff00984d06b0cd792317f85ffeef0c657d877707661be9e3
|
|
732519d5dc05de98724f7fe4560accc1419850e08bd2164869fd926cd09d7ceb
|
|
08a10c8c952e407938221ba740f4f544866d9fd5a9701daaf48cf3e7e3eb116f
|
|
ce8c76f726b5d33a643bbf2524c2c41bc194eaef03e2994934ec5c46a28e9f46
|
|
f4ca338ca453744f60506f4302e4caca0a3cc8df8faaea25b1a61cad29783a43
|
|
c3b566521151d970b57ce508828ec4d0c56c865aed5f43e6ba3da49f8d10cb79
|
|
767f0c7488331918dfd5a0478628ee5428ea831ef8453aac28f171bb15414ff7
|
|
d3dee1972bbf58a835db64ce5072e612547e792f6ff75cb87f7c02e55307d1de
|
|
11b591bcd047ea2ade02f92772ad6ac546a30d2ad3960f2ce4b31e629a635980
|
|
440c81bd26fa6f43119a122911b4751783595006673138f7c25089bccc23bc9b
|
|
a36a92a65cf3216f81924cf169d0b7d5a0b7070c56fb64b055c8e22c5c4122c2
|
|
33ab1c525ad35eeb273386be94f8a2785797490bbdcbb14d9b5650019c072279
|
|
2f7e521dccc79db27923184a14c56d37976dfe125b1b822a83979be4a0b620fe
|
|
db63f677c73c3eb4d585365ef81cb0cef3c44ea07afff009a51e060ef0df0049
|
|
19bb499e620ff7201839bc329d26e352ad03a05d5154186c5e0d5eebf4f4aa2d
|
|
40561df3ee62dcbbc0c088cb6ae62e453470133cb7537ba86852a9c197fba597
|
|
9b86a37461d4c280253168b4fe92753d420b15289566c03ec418fc3aa8a8774b
|
|
d397f00ae0dd969410938a3935c924454bbbe61d467077522eca178495bf831b
|
|
d17695417d9b3d6e4db1403189cb64b8dd4fc784ffd68e3903a835a97dbbaf1c
|
|
dce0bd0b131be6307f71d73b62cdc731091af644093444a46eed57ed507886d4
|
|
7792ced1bab4628bf8df1bed38d4c3c244698b3f51707f4db228cfbfbefcbfcb
|
|
7cccc3fba69f0adf59ef9247e794579948e6356c8b1f61b8370dcbac477323d0
|
|
3739c6b77fd715e3fae96ea438a728f208e98a161180e72bc80b4f77b35c9372
|
|
7c8ac967e12f25b320dd4899fff3d91515360641bd966276d3acbf219be096dd
|
|
ed3f750c90ea9b9da8f588125d7ff481911fda46345b1df04dcf9f9f993035d7"
|