void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=82.0.2
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="37fc2dfed2ac7d6197455b868ad4cf7039e5432942654a97a86aac401ea9261c
e220bef7397d3b96ea5bf5614264bc2b2d86f25f65604540c9e047015df4b5ec
cc7b03be04d008112c40d33f6cccbd0634f6a9fdfdc96bd6a77fdea0d2a0ab27
042cf28ae2640cd70e363b9c0428092eaab1386a51c80b7b3bf04227e979cdf7
fa3a242c35835064c4f511cbc733d6c4d6ac23a01ceb8070b3392a8ca9bd6e60
0fb6730e8dbce44cae834d01db3d8d9814835730ceb0986c146d198379cc4bc7
05ad222b737e55d9dc50d29788bb4a18700d12a656e62ed0c210ccf1cbac2a6b
0792f2a651de67e1e7cff3e9da58a0c5ede7976d4304632af2bf9fe2d54fdbe8
147c325154e74415ef7568a0a5913e902426477c46cdcbcbe9bad27a91c8a533
d432757388c9865ff8d62854af485a492a3fb0772615345d75df89bdc4e13c04
c6ebc6103290a0c9875b00aa781ce746727751b2d9aa9f5ec6abcb80fd044187
251394c4b313e0c002df01311940a107e4f78b0979a5809441b95ecbe75b78a2
31280b9b44c4c3db91fd8f8762251b2ad613e946873867bb859d0a47bb859d4f
4d9c0d4266c375f1df00556c2f12aa767d2df780e8e184535631ef2ffdc12cc8
cf3c078435eed6155ef1c04798a1dab06b26dc305e6f34309bd870c7c887aae0
0dbb339e4d80502d7f19bfbcf7e4fc1b149848aa1b64fe0e77fb3d23efa52dbc
e80f89d5fa78e4045e6c3402527cb613ab922e5fdbb96be8517dea1d0bbcd70a
4338da996f2e909265aa63927962f49badb27ee34f7d87b23ae38972594dd7eb
4354be7bf9e50d64e725c9371de14f2bbd75b9d460c6668045a3d99724671c08
0aa138eeec43a99792ec4c425eedcb48da2024cc689341cc2e97b69d8f68fed8
a4a039fc51c7f90ac743c4eb224c8770ded5243a2638ea511791a68f531eb482
d4ed5bd92ce61daa8133ba7263ae5c104b6ea1df0c01d0aef1afa86df489631a
29eec83e25b51e9f54e30b183097e04faf935332622be5017bc0e48c5644e96f
36b1460fc0102fffd59ed2507cdb3e26fa0d1ee10b026ae94e536b2e0d40ec78
2863e52608707e60b3ca0d1fc6f851e65f265ee8d3b012f620736da727d0f45c
eb104fd3cb5bdda21138f33f22bd9a8031e656aa4759f095b9f5e297cacb9d94
acbcd14075f741837ddafdbe8f37267fad6226fe7bc11a8ed3616029a4fc3090
00e607b58a24a8e3e7969ffe8826ec1254ad12ff855ec204bcfc0313c051bc30
3a34a4910149fcc3e23764b477211babc910b7320a0752841e8ecd608d7481ab
3b61ec1190b23944d36aae7915d8e4037ec8c989f82633f77266072bf7c8f725
d9f6b14ecf18669001a574adb7f24ed648d95906b2df37f2cb1ebab7e7a6748b
8ff9f80bb579ba24ef8cb86b1ce279e7a989c295ee1cc0c9edb361faa0a06188
fc32206580e99d12947765f714a3b012abcb7e5566f405042b188be31a5bdd75
4ae35e6db1401e3052d0bfdcf72f1d6d37a969d5eafae70e9faa77c2976ea4bb
37f73fb84c02e18490eef55ac67275c034439b136164517ad7d90a46621c8cd4
169c674e2b1ed64d2f1804701238aa98305aa4cd411ecce51c8e20b69e799f23
a65f0b54504efe6dcef6cf04bb1205d827b922c011573249ec859733d19590c0
53dfa8ff9543e47f81087712f4cf5b05cf78de29c16614b31c81ef2e5cd7917e
5c51465a3e5f6e748a0ed0fadf13b06ff5018278ac36b85480a87cb1d8bc4837
0e4096f46c1d1ecd4de73a93ef5f489259fc5a3048400c78948a422953f91d9f
f05c64afe4058b81bfb52be1404918f362f79e59d7500213b59af661a958d2e4
f389848667ee6c51547d156d33f9861128aac83cb39a3d5ad397e587d5f97334
b660c88d965907d506b2c7c435e8a1b992ec626ce1660d717673786a1070ba68
81e2ca5fddc4849767079561968afea019087e45d44bce0d93e7b64c457ee7b6
ae2cf3040bea117ad6ba0bb2609e30832a38d11b7289a56e583a7b48c0a13e9e
0ac3f6f6c86e1a3ab2ea3fd7048057ab28bbbc672189db1db8f913bb4b8c9d1c
dcf29373bba58eff7328912fc4453ffbe5de6166bd4795e3c4bd0d93a2831444
f10ac04c805471309e8bf4ff1d5996798edda96b65d19a2250c1815b4116bbbc
2fe5560893df1ff790cb59b0ef953483d07629737696dcab375363b0b452e2a0
d9cfd13ef264e2cd858cd2fbf9c1cc930e39c7166bfefb810172e895f0a05077
df8c1c0c1aa8c61c374c54070e91a1eab53a938edc40d2ff27c62382a576ec0d
f0dbe6c7eed8ae42e88520940562f37060871e531592e9e50f7ce2b60f52ac9a
a3d69cb234e9643fedb8106b2ff5e60bee1238b106ac2691fd59bc2f4499efc2
10aab8a51d362e895e7ca5271f36ecb1111495cdf4c9fbe5bc48399bd2fe74d9
ad97773c8405107b267761f7e57e49b21e6d30a65cdf402368d14a29909ea907
29635479fc905e106f4269c619fc7cdc39e5ae69039a1dc8ed0e4c320259f087
097ac4f73ad81874104c2434e4dbcc2189b4c04e84679aa0cebf6de5b9aaeaeb
637d38734553ab5b34eedd8ea37a8fdfa8adfa3bd14bedd6d954c47433358f07
dc16702eb15487ff3d0260a76e7a2e380b1ce34a2ced3af534a95cf89d102f39
e958945f641704fe98d7d33bfe964c7d2201e9bf2c5fb41f069dc6f99ad98646
0efd6494206fea2dddd277dd83da76330cb9b8c0c8af7b4dc653364684619fd7
c6f4fe5214c68705ce7e9056d754b406c4b1b2ec3e8fb4bdb41c9deb8f350e26
769216e31c20f6392530675b5239d623b12c96ee8878655b35e88971abaac5a0
9346ce183008820bde21193aa265b848debe31fa3dffefc93aa51074db59d0f5
61f8ba65d749251d28b7cde2603e191de6539a6987b13007ecea95d2d63aca75
3855bac6ed00aff5020368d0f22ae4a93404257705518af05922caeca29965f1
d3d02d9563b69932b2e93e3a18abe4c397bd570807a86a7a4f8d03b7a1205335
b1595b7af8a37cea67537939b5feb85e00baebcc8f3ea15b10d6356fb45e6c46
b707c058e68c72a7a866aa518326e90dacc23b5931a028cebb973cdbee7a3f3b
5c797e0d19dc0dcbc4d57ecbb1e1f32103018ea337dac2c4600fce749341b810
5971b7e08e0c6b5555023b1f7ab4733d97b51751e2c4f66d725c3cb1e8ed5686
b31dc719ad0b53fc947e549a24abb7c5ba93414e06cbfc0116680317ffbe8158
10e4f5fa60e243d6ef6d17f475c54af19e9bb54f0fbea53a75cbec555454a060
7d17052bc422f8ad2ecbaa0695eba9e6415f569977b5920e714913f5acc97f86
29c513af75dd0bf67352218195c3deb0ee0a5e3ff73bcde8e31506dc7b127fe5
945b61d3fc50079b3951f2bc9c2212b3d729332364ae5b7760d323d77b7f47db
0739506295fbd9a106cfaafcd98c6fd2c81014f96250cb97ac1b28b535c1aa2e
c1846c2e965db37400a96038ec79830e4d5825f4ca6a09e33459c3395f561849
bee2291dd0be4330b669d626d8ef2af1c88a436ea5016187a8a7c27450bb5cd3
8d5278bbac28908438d9b59f838d405c0bc10e2570893e26987f64739dd11dab
69a2b77f1da6b4bb8dff86402b797c0feeaef843a476367b4de05920e1e68d2b
c5f9d6968046482de288e06cc1a80794a54e01b59f02d2c3c2cfd830bb7515da
4dd58e93bac7d0b255593d79b99f506f8e371caa52840bcb386a3ec9683f37ae
8e0ff1cbd05f15060803ff6460fbfdcb4d57c74d677dc5d4c8e398470c574640
16d4644b172445d7cccd86d524ae985b0943d12a124d3245b4a4026a216d32b3
f2b580f2b711de7a6df61fd43ada3cbd30da5ede13e11d8aa7e718bbd7df31a2
e1f3bec3febd1118c2d376b6d9667f728c7e186c2bb9196f08c1fe28f969d10e
2011a049af667b58632deacec3775b35a63da6a9c04bb07a39e114baabbfe542
3bef2c028cc2d516cd36e533318c8be931c4a84b67904b2f31bc87188d8ff398
ed40c00d0c6b09187fc1f4644e78de43f76b7b2cd6c3c0db149055f42549a786
28216ffc094f68ad3a95717dce6b2f96153ac093020f47b9575d84dc710cd84c
02bef3b852e4a9058a3a6e7b0d9789252477daf1c9848ded24494de1b9ab2333
a757f7f69fb37e377606a92307cf95db6f71aac9570b9d58513f8b1592b7dbeb
085a830ad038b4f845f236cf48c8887c1ec2be73833f6b00f049ae313e353969
be1dda5cc372857ba670f966ac357b5776e014ed86f438ca019749194bf69ea8
0c1c223dd326883ea96640f04e13bd77c2868addf4f10b6972c5e10db2bb2465"