void-packages/srcpkgs/firefox-esr-i18n/template

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.7.1
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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"'
'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"'
'tr "Turkish"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="firefox-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $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="4e256f4fe1f215e61e15d2293c0392cd609d838e4faa93d221fb2c8559f6c22b
b06029e41fb1f443e7ecaf746b14bfbcd496cba16b9e5958e402ab2b2ad0d81b
e4f2942935b10474428f47d7a4b667a826bc77d050c529518ad2980362a2c676
5e7f49043481fb1c00fc1b81f83e72253d811ab7ac993c5c697c4e37092b87d1
b2c7af5046dc83797e337e69f17f1dc89130b54e3236b1f9ea18ea69afed755e
aa3610ec954b9319dfeea91f2d1c92129b28c1a12dcae77b4214707318fd5da6
debb15858da6c4f98466d4db3a419aac0eb21df49b7d2fe805a6d61dc21545a4
5fc2da27aae891521847355148b047d0f683ea58d3d6b905239d0e5fe09afa4b
78bdcdde0f035fe08c71d89b43ab556c636d310d0a9e353c127b1a11aba86498
966c32aa7186a7cdf246dfee5accc21d1284470365fc71fb65c949cd708aed49
eced326911ba57411ce55ec985e709f03c66d27af7425a8ff76789e23be0debd
b290a49d74b18f6a5ac48fdd50a401c9fd71b3338e30729f050c92756af5bc6f
752e1e9fa8197c908452e44d339864a0e841923a17da1f47b4352785439c5ff5
8da55671ed31230a2ff291492f8d0d81870d2e552a7fdee13e7e66d4cf01c6d6
897bc87f85319d11b407b8e45f697b17ab9874f527ae695b7d96542320f10846
bc9ae89206eb043df901f6c515e4ba5a3c504a06adf927037aa14398094e5756
c1501a3d15f31c00f3a961fde8c646212808f8b71e1ba8a0a488a4ca88404e05
bffab2d9fad7fe34c061e18947ac06a7cca03846d40a5358e6a2e1cffa2d4c97
35a704ca8820e6404f914120a48b0b19bef172310d2fa32dc623400361772d21
1b3ca385dd58763c2ad13ad4311214fb517f62bbd9c75e7c08c4913896c13cdf
82a21979ddea99274a10bf7d13d9ab8dad1e2abb616b392c2c2377f3fb3060a1
71b92fcc3f7e6c88b2c1b431b1a6a76470c8c675cef1544408b2f2e47037ebac
2d07fa168110e5dc4c8503f2a69804ecd571ab7c9aeae4e151f870f2239dae37
6feec550585eebe5817e325c8d95f05042fd6e2b2854b7dececc26526c379cf8
05e351be35b0dff5ebaca4f7b41682f827cc59e256288c8c76a4fe30335e9847
f615cb924a04bb890be3752fa34280bdb373dc7d136838f8d841589b7f3e4635
6eb14eb2664d4af6a33dd418523f79ed44099ea70536d55ad9ff4f23a8f6154d
2900b1a7166f00db9d4773d914f7618e0775c39403d5f7920302b2448e12a592
b44f4e19d2614fe15907a6b04781a01717de380a9429ccf09aec9f7871dc3580
78cea09fed9a4da03df254f8fb4bc80e1783155d1f571f669ee8df38a9375fe0
aa18387cdec96368af5ebd8be8a39f9a260eb7451835fd8e786045be7e846756
f041bb65f537b6591c0dd71855b7fae018b7c9947b7dfd4b003b1870442bdefd
de41f38f54932eb294358a50e4fd6907148cf4aa1e01c07281ef4f2a4461dc24
dfc55aeaa870f23a8bce2c464e0a59b52a3fab2b8d02067d2bee56edecd0aa95
7a0806f9ac79555f25332145fa40ec236946755d726f5da03a6e7ce1f55dec77
e582d1a508713fbaaee55878b1017b43f0b8db299f9a28cddd1da3e4196a3589
a256585b4d7b7e8e1476ffbc3b22eb104d6a79237db443f6d3858159783dee72
273f1f401bcff8e8a2dfec7abf629aad629b4c6004633ebb282bf29c90b9b9eb
991022748c22e1091775c1c47c53ea9865bd36627f1c37b47b15799f27ed83fb
5758ad602791f5dffc7331085ccd9e4a3aa8717a6f1105560a22998ae09d6b8b
0432f7fcff52d5e43b158ea27f8f20dca9693b5ba2505e94e096dba92c950305
0b73bf4682571bb0d99cf44dc6c73d4828d72bf45302d972405646195660b495
55c7a55d5d9a94c029f77a9c98961a4ee4387c4cb49006a4f023792bcaeda0ab
a63dd3ce876fe16a5f10d56faffb40821a29b2f48f65e8d457c172d866cdaab4
8eca8cfc8fae8ef694ad0a0f4c6c2a83fb772a5f0e8658c194699c7d21f07929
482f91dfdd71bd8fbd30bf751b76dc59233dc449d3aa889a6357baf084c04116
806080097531bc01738b1c032374cdda8812a95303ef7a85026100009c2316aa
85ee396716437c000aea5460d0307da7c1d2a782fd546bc3d5d3f6f2c0285295
dfc0e789015fc9c1723937909764743ac7a6ea86a147e7adec17821143102319
052e1016a547879a7fb285de067394f62653435badf24140ccf59bb658780afd
ae05b78d4dbbdadcb2847379c2bd4b1265b953eb69f5cc27f6a254862d1dffb0
980d5e7a37d10365ba9291165a26e6f723309711ac223b2b9ff95319b3c4d762
6a27e6ff4fb27e2f87676426143dc65a8f048f8840d9e34291c287d0fa2af238
85ddb9b00e0e83d2f8d9df120bf3759e2db66bd9d0eeee0fd95d07d81cacd627
b3fb0547f310eb20c1841dff47d0bc724ba7e7585855d8d464f97fefffbfa237
d6b6a791154ba88cf26c430043eb908c59d87e770b9c616e764b3d065b8eae5a
e2beeff16bffe3f497dd4a8cf65b499d83a14f6e93ff7f4b456b9458ade9bc57
e37c674e16a9c2fbedd7b86401087f4016c1407f35a74d7a0481b1f937d5a902
a1575692da0a613a4e17f8a3769e48dec08620eeb90b7ddf421fd11d8d8421f0
12464ad98f42aeabccc2a644a2cb9b59e278dcd79d5eb4752485cf91fefd1ff9
1307b1ac5e73aa67a53681b25ac27e45ba2e52ddbd6a8db15d0be9aab609a46e
84ad37b59e2b953aa0e71425100ecb5353890fec4b88d0923849de10aade3594
b6586134abeebad3af1096751fd01fc5f73b83f36623421d1046dc30187aef0d
c9398af0216e5cfe353915285cb14dbde1594e4167feba43fe798f60c6b35ce7
d815d8e9234083209e7ce813884378aaaa48952f285bea06a1f9ac5798748cd6
9e025ebfb5d9c7b8e94dad81871625f3590fda5b77911ddcfda254046b1eded3
d0d8898d2c27126d8f1c4c85a35947cb3a61275edc2ce06cf2fc90be9b9dd2d5
015959a9b31dc05e23e7907fbd7408e4a89272cab8d925f2dd9640191d9ac35b
32e55abe10a31cb2739a6351cba5397921c872195fc0dc6c7dbac4f2bfbf45ee
2836aaf24ab686d82ae8fe0e28b888594b64ae3662510057cb10a19928281822
9a5a87d7a8e188496cd3022317485824c33ff9c4c051d65142d21440a00f62fc
36ffa4bc0b734256445f05cabb9b94002030dc7df40e6173102a6b1903cfb065
e4c5d478499a9a45c1007be7964347b563125488b46d7fd5382c1d93c5a7e559
1948e8516857babf66483509eb21f723a45ab91e9b2dd7f24557c85c6c3cd724
437c5ba428b36304cc198351b70d8d89e1542d7224a32cb4ae51252e4754b42e
03fe23b6830dd820f744dd10f160bcfe3ea8fd06d239cdb3e6a832452c61cffa
7271d2c4355b0cefa9c980fe0b4a11269d99704192266f90523eb12e082e987f
aa7432ebf8e1fe8cab55ace1ecd626f531e9640922800e39e86e4eff453b3f7c
21e2c979d656bff07c7344e5415218eca6f8199455a4cdade9d11ed4ce69680b
e0ad96b121d2c91a4e66681f7482491a02fd07fad2c4f1a1b47302e1c251910e
3d54cc2bece8b3aac804af473609e57c530c9b963db1978717ee8398f0982187
414b3625ce5e7e5715439499c38f3d9c21d43e1292ae30477869a31892c74901
5aee7a247ac12f675bd2aeee2a06d11d14d2cba9be7e5ec8988b73a789a718ea
162d10d749f87d618f95bc76cf4c5c5daf15f083a07a0c015b832d357f00f02d
231b8e77b2aff3643c22debc31100a73f95e656808cae1a36308f679b629f783
43e1662cf5d2c4136680929807c60e2dfe43bbad3c057a5ba1e90c923a3a2625
1d167e982c9c384cf006ee50e442c4940f2150830139721897b62fe598cc51d8
0d56608553393423574e96d8ce07cfa69c3fd193a987eeaa8b2a24d4bfb6ac83
db5adddcc90ab144c905a2e643a3b82aae7b3ed6d82efb9fcf7f203d62129401
546b4708e4d8465219ea4da888928abd47033bc5be707abc3b890a10475b7361
fae69733559c2a64af1ccb47ab689e989b73474cbe8c5817fdf39068baf521ee
6cd38d33bba918fb48ddb53196c69384400cf73806019451f043e7159fb2c949
20eed727653516ec43fa3aa0d8c961722b4576cff7238138600d4f0ffaa79776"