void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=82.0.3
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="5514206e7f44214f3c39bca279f9bab57d0678d3de27179d3ce8c31cbd1993d0
4ef22df523a86b4a3d4c0727894f192a1d314250cddfe428f6a0aa7f3dc67349
0bda85b614cce9cff8d29f50f330abd467f5bedeeacc1060a83899a708f17977
2ce68308195cf7d323a6a1f0ba7afda77c641bee7a35b03d0413dd7759a676df
26242521dde6b9506c38b1b6793b5b74523a6818af9b31bc809278ff8480ad63
a7764763adcfce9a9ca7ff3ab23f0d3bcdb5eba681a20e16c169c90b29e902f4
9b87238a74b1ab3167db45576cb81f56c9f2caf99dc96d9cfb2d23b2c32f4149
98a22b059d5f2d8ff2c06736f41930141599af50489dce5e0d57af714f558fe8
9358d85e5872a6366f5fefc5aa273328f0d4bcea5c99116d24ce06855aa4b06a
156da1b0a75f4aea7c22a5c7e01910c2ae69d9e5843c2cf70a009330c1f53a0a
93232cccacf3b0dae4abffec9a034bdee079e5a15586ebb8442fbe1451c31cd0
25e1591c5b28966096f79a6136b89c11200a123bde1084e8b8b1fcda0659725f
37328b286ea2c7183da9d23296c87b69327cdfdb24f3a88d97e2c81bd7fe8efe
fcce82357cf018c15f7d31cfd6dac98f7c5f4638003b60cd4d95ed4278e10bf5
6971ae4f97791864cc40ecd77f00b2037ccc8221ac4e72036408f5305b2e9b1c
ef0734f1d4d879d065dc390965f49a63fc96563a4b4b6e759ebb9c6c10389bf6
96e8c0be96a8f7274f5d704d352db772e36315310c2b1a645ad03584408f01bd
4958880c3cee8c284fad069627deb252f9e2cd1a7cce39abd7136cb9102b8c08
0ce2126ebd227b4937c4d6979b4af9f3ea42d3e8c8b20338c5a33f158e13864c
9ba2e4f71268acbf123cb64a82b23f8968dd106cce6b8ca623f25a389e2768f9
c87fa995402ede4418955c4f0a048d9f3a28357c044715632bfba989bc88e89a
50fa9eb50529937bfc2981f8e596aaf5212abac4215e4ba1e08f27d9941d1597
9996260d4f532528b556ff417ec47e271670c92bd6ce237ce4e9498f55e4be4a
71ed166233bafaee3c1cfe8630d7a99f07143284aec192d6a89ba68b9573f1c4
2e60b360e5b48f3066dd7219b4614b969e65dbe18e7ac028e772d3044bb0395e
28b66a552bc8a982d4a1858f8630a888a1127717ec76d3f88b5cca1f22fc4aa6
286695d8f356ef0dcfdde343c6923325cc6b4de08ca6f72ad6a8474d993ef6d1
773c5296fec3747e96207a541c080d48352171f87c25a99238356605cbbf9b94
4104565143301c94b39966a50fab71d57e458d9c501a73ea86d55af5d20c4246
ef0a3f45d7ebd0087e37fd6080fdf1191a4b8bce88c1c9aa11c96ce5d53cffc1
63890546a50523c3a39fe53d55d85486cb06a09d80ce816aadc0c5b6173eca7b
ad2cf24f020eb718cc79bc14f57f5b6d37ffb837104b23183ea59680f664dbdf
5ad2e0c759db2d0311a38b579c63309e6a27a86872bd3c67d30b76e133f3419f
dfbf8e4e1db766a44a77e9c496e04e5d780e62092630780fe4b42d371ec5cbe3
1b0c49c006862ffa5841b9b147a3b5bb5f3a4d29fbbc0e761c91e5491ff7944d
676fcc1cdc12afb799a045b96ff5d1fdd8935dd58f4113b4c716fd4fa6f090ea
2ea51c7d92d82a8442a4f5dd00bac42fc4254a287c4f0ecd21527befe348abef
498f6b742347fbe072f3031aff5f3b25ca53b4128efdae42a72977f45986afa8
e037c9ca7ef6daa1aecf5e9174cea8ae8b4089c3773625a2e8a857f9582a5d34
74b965ca5095d970e566d2afe3794a5394df0fad41791d37bd6933e417085225
b346add39e55e8e42c1b25a492d98d038bfbca982c9ab7902886077e7452ebc2
99e07b0deaa86cd4da94ed145f733585caa54f8ee8f21f478a5493a1162fb46d
b5482baf0702bd02a7faac2ecb2c7bf8fa81802532c200f356aa0179a150e63a
d4a96870091db124bb895717b048affddad3c97bfb8496fe3699af34f9346455
cd624e1b0c851fe5a19b7464edeb10abae3953956e290b847333f842c0e2c358
279f96954d82024af9d85a2d98a1b0a6ce35a41525aa0d1c98e24cc04a92521e
bbaf1cf4865f202d0a57be95f04a70d53688d19ca54ecf15532badba6d6f721e
a6f3a85aee1a35d17ca33d944f7f7888d80ed2a99e829a08e102398952421409
de0e3efa4373d7c1d6b35ea5a604666cad6389e67098ab30db99553a9c85b45a
97321d14c7cfe5da7f537b9c6a2e2a1ded32d1d3ccbd7b595364b34d39c71634
85ddf51aaec9b95f072f98c219e7b0940f2c06a436f7f77839dcb210c4b1378a
c9e495c629d21a841b0313c6e82b44153fbb811e3e133dec4a03135eb1dddd2e
218e5e3781ac629490fd5c4bcfeb665a1699b7d847ae4fd5068470b193246c00
aa51a3adfe854f1fd731b96ebff54624a0bb36ab315dede6abb9a7ee37cbb828
f749e9b0330a0347d7ae0e2e9ff52d708586ed7caff20a2639a0b7516b0468cc
ab764f80572ca17cd2e9d868e400397f71cbdfc2451c7755878cefe2dcdb6db0
08083f5613e9b38d5fed37b19ec26bf006a1f25de9238068943b0eacac4ff848
2cd8a556b7ccacfe16559a472fb6ee2381516f94a56e96af79a8b53f27219cda
fbbbfeda3cdb3c876447bc69fe1bc66f19302b262b41a6c77540fd114b8a98bc
e5e3abef092369799cdf55b65a82011c2348daf236d85ddaaaa60d6e7bdd4e33
f0c522fdc8bb316fb4fbe340ae762e1c16ce3d78d85094926278aea3daceef51
a652c781e31b8164639e29e2f1ef13d7292d03022089d0983ee1f5f1934c2bf2
a7e8d0aaafd06710f07312859f0f3cb46ff3444d4fd9aca57ca044c5a9050652
86c54f1260360febfa0bbcb58668402d9db13ed00a965a0a071c6c9ad93f2815
dc3204e90558d2ac35505f0171f9d815e297a013e9c373b3b2b6b2e739461f78
b187e008e022f88acd365f68cdc992ebc8f3100e46db3b89e0fa02cba311e98a
069def30d7864b2452bc14a584c129f9dfe2f6a26fae296ea5cb2350dcc1bf81
4c7c2b92168b67eabe76e08fb9c27a60307aa61c61095de1d3af2bbe5d8780a7
64685394baec35ff9753c77eb70feac5f7806f03050f62ae6ef3ff74595d8839
f99d66ff27975557bbe452d66292503534b898cc935ad1fd5017b9cd6ec1fd27
c20e02c0e02e9549b4cce131ddc5f874b236fcde3ad672df11696b741465cd62
5632d1698dd6a9119bdd0be326ad1ef54e43cd5a9de1a5fb6b97ac31e5674e09
2738ea85d7e0404441d4391f806915399872606b1eded842e0358ad13349029b
ab2d8e45778a6bac60570798e344b8bc3fc016383b10f2af52be9e8232ddcd1f
dadab90e8d5ae5ad8898f6ad35123fc61a8f0c99c1fff2e09ba70b30ff65a06c
50afef352f62f41d403bb45a1bdec5de94e904d5fc0dbc3f74d725014ff415bd
a13c05c8c4d212f1510d1e98c910ed3d1004e33ad5ea119b3208fa46ea130b56
1b2864463f7f78219553493fab07617cee6b1270464e96380e2094e0a48cba7a
0913baf2eafcc3e84b7f92c8bdb63b9a4693759b392fa96314d6530df767c1de
167c0780f7ca979b97946b4e061bc468a4148169e90ce9c4ff3191a53cfb0758
f92d646eeffcfe4f7adebac6c9aa9efbdc2c7b24823a170cd27fff547288245a
14866188eec0b40cf834b06ddfc2539d8f1185d55f157a8244216c1e0077877b
7d1ad9233c6137420fe6de01c52ce72015fdf0e8a60f73b36579c47d104733ba
b93e5fdbd23520346d90d416dfc939cb8917d69e596c661a1985483c5f8e4b8f
513834b39831fccfede23867ed86775c33996be3de7042e73bb5b6ffb340bb81
08ffee7c586bfed9113ffa489cacc7a260aff1df09047fdb1dd48ae6d48f0785
9a5854130f904b8596e53a3a4b77b4d595727603c99e8f24674b2a4de4c13f7c
c4308fb31233f5c2430ceb760727bd506d3e8ccfbe5b14fe5700a0c1590799de
f4813aad53de25676e87a3a811b1037603a83c064485ccfd97234b08c53e45e0
fcda650744c1522f44d9c0f27a22e489662f8070c7156179771cf0f373ca5086
6ab8fd80a01eeff038cdc2bd4252575dbc5ba39e189982b97bb2f6080f337608
4831cd2df36d59e8e7cfe584dbe25991186ec5b90b114c78c05db91329b7f522
f07ce9c2d27937e29c25efef5f13191b611e6556c26fc4b449add4f4410ffffa
6e61751d1a55a6386c27cc6f038e292876064db21f317a5c77a2717f7d46faec
562ced1cd3f33057919280cf370d390958abbdbe210aa772d5bb57250e4792a6
1ba33e2383e582a04c8a6979c80ed450403273944fe1adb1d43cae4e29ad1662"