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.4.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="429485077b26a17d329ba98d49b57d33f7f6c9a19779b2b917108650f7ff1e54
c8e4c4bdf3544d34aa2110464e8573c5c7edcf5276439824afc3bc8b59f4ce5d
ad2903fa9b316a608137fa0bf59f141f785e3f4202cbbf444af4a0d7db88a12b
ad2f4d99fb575d0df60a9eb278f5441bda30aae2d63a0fa74c739325ede3e709
dc7af62505574f9629a9dd2075313fc2773e0230a221a8fc9ca7d1d14ad11def
34ffadd81f8a02cf3d69e3403dc5b1dc56fced869ef87abab52e514c2c38dd5f
7e720fd39b01d2b3707399b61b8e1d40a839b2530a53af0afab2372f70f49091
a160ff5057a2f4f6e9d354dd3ccd0e002586d426c09f41c5f25d26c5d4dbc6c8
c243d1ea5d1429af7e8a11ee078782ae7533fe45279112f228e0638ea9d83ddb
2a2e3ee4b5efedc8c2ab49d3ad173e0f3fd1b05d3ed0cba33ea0635a25a09f80
6d136fe53098a1b7066667303a1233470838125449b4dab62d414322cff9f6be
09ff559dc3a094397ae5cf468a540009c8b7a2949e6f618aaa994258c2cf9480
c237bba84c0c3e2c11f7715f7a7c9510ec4f84291cff70dcce7c2d9842eb5e6c
b28328ad9983d24fcab35aa78c2b095694811c86a5306ec6b1224ba4b0aa873d
9ea99fe41631f924e01d43696c13d3521352087ba748a90924ae07f34fd53cd4
d29de73b318f20bf1f98791953ff14737de43caf6d108ddaaf537050257a841b
b86a629e77635b2d07f731fb3a5b981e1fe3363a2cabfc311a03989556f183f1
40e9b45fcfe2e42adf14a401c82c596f7948229110c9601970d76e7e87158799
18ba032eda283e0c78f83edbe580281e438eb0ee3bdabfd1968ba2022ee511f5
9266caa02c32e60d668f960486a0d238ac00cc73fa2ee8499b6eb41eeef1e538
431cc346b49feb1c0d890817881f3b332f8a28a47d32f3eb47dbf71168bf6339
28094ad5667580bbce889b2f8285aae1a9bfd5a1a77a48e9d73c2738af2b9849
2400293f46918e5d337d3a30eca19722a4b235bd6fcf3543c0c5f7491c905883
454c4f5745c2def48115543174e94df6b1cb9d23810b0b7abf06bd2c30ec2adf
bb30fd1f438b0a7421b9fb9078270873a8ab9123ddd84096f4d428bbc3b8c241
784c9565dc42d5b8e96a10404ce5acad6bf14e860e65ba49b30c42a6b0955cfd
0364963a1ccdfbf7b55fdec5b79fc5475b4988198c1929a8d50da4aefc48d4a2
d52dc6ed1faf50fd3577c608d87e9b91542c600142d218f8de4d2b5ded4818d6
a115eda10be77100817e297ee0211ab7271ce0111a1bd8327e31d4e895ab864d
3464e3bf67d42daa339b5a3ebe7a75213bbd3988f8ba48bd2c1763c2f359abaa
f49980a234cd4be476668735b40d3f467288b8178ccbef62e687884efe3bf133
ad7b0d033f0df9615661b310ee3438728a0576290e49b3635d536c845135002d
ce539affb4a31b622ec2fa8d60b8b3c23427534c887d5416b9cf01ad9ac05aed
bb48ff072cb65fda33980d9876d729e92cfb2dea3aa9890605556a49eef3a29f
f88c2ae9255c1623d97d5ef4f78af7149bafa54354e00cd5200b2e0627eee481
d3d4b3da98bd51d598c789d3de7ac9bd91f7aa79b9ea6eff570cdbf6ed61a62d
a73ccb26db0db792f49eaa7284b3b0f87b86ba661c6be6c1c26de78027a32ca8
0e816a76bcfffb323acf84d300255ada333d2ca8dd1c2944c9cea96ae0728b68
90cb6d3c481893499848b71a06148c5222a6ceda13d0c992ad8d68638d6d6ea9
24af0db942656b718ca13547ecf34d191ff791dde60c0a914f3c02c5f84be5c7
0fe7768da3b2cf03fb1c3afa5779c1413e379f1ce6c112b21afe1035131e4599
4096af441c745cf7fd6649ab4a5c3d9d518565d317897f324878031b7f8a81be
35835edbe21bcabe30e686ea80962e3a53b62af7cf71644472bd43b2c1ee36d9
f0877b9d0791b87b75dbaad19b92df407696b68fb37899c1f3deedb915bb95f8
0c160d47b5bcd8ae4a64a03d211c16ee578b64e06782c9869680b86846d540e6
feb8d5346564f53a2ad43d4244a623db6e1b0e045a56ef93924810cdd3bbaea1
dcdc9216ca95aeff9097e39739c78d64c93f198380e63b5fa1d1d17bc9b4e86c
5b0780b2ca45ac864023cc9dea88e735ebd115cd8012dccc6d53531a4cb42ad7
84cdfb570a4643c421b31548a941e24d068197485c3ab51897d0e4769d409d9e
6128d5cc4de18349ed5866ca474c683d2bfd9b67b9f67dd531e088f618d30bde
0293dff5bb082fa8e8f91e99bc9760cade570cbc1c2625a82abf17d986d859b7
686834a3686aa494f6ddec93b109ced9ea7214cae3e308aaf13cd7a01c3d8917
d0cb07543c41bcb012fc0ded11d122fa87441ae33f84f23b54cec8ac03a9fae9
015f8c372b33a2c14bd2dc83ef8fe7e365d4df71c47ae5470b15217455b907bc
544e25712787e0c633795699670ad0fae6fb97202c8dab76569a01b237c60c80
7d78d7853e6d8bebd28c8b9b571126a6c8faa3df8b5afcdc0061d4ad644b1bd8
2a7fc27da3c0c496b6bffed3017f69dca1958e52bef180e19f668b0932ae0342
5cee23c23d873a1381a62e3bd94ae946adcedf704f1f970817f22731b11998a9
7d9f313ef2d74daa0a7c6192ca330e95148f51fc800a5e157cf6778e71fd75f4
4303cd9a581f2f527c74496d7d4624e6bb483d1dc8b5dc2bcf0917a748afd827
72b7755dff1918755ef2d65b515932b4a927d4a94bb0ffa761bc3d3273d54f05
bd4141cf83d77fa87870801443049a0746000c963757c6f5a509eb31b83edc81
af32a08abb51d5f36c93180d3fe2fa0586f6f5a0e78e75f401ea4dc4f0a42187
0b3c84bcf3f946ebb1729a80d4392598a8cb511492e96b4a947068c4f0c77832
f61eb4c29725ef134f44d9d704c690526c2e78674df09865d4cad83b7b6980db
4b90e25b529f67ff1eeeb8e52fa6457d967a829909971e83c4720c1b2f4530c8
e3347724ad61500b137a5361ebafd99df1618b19c3b8f33f64f727d6608bce16
5525a3df8ad98464509fe73932cfc14d4580760a1b3bb3203a91d4d47daf29e4
0c9eea71e1a531f3ca6cac43597be01904cc1b02404c23af37ec677408e5eff5
450e548d074236882a9a916c533fb7294d02efcac667b4b19c93f19ea94ea17a
78d17297226140b56868c37ac68f89e83df965e704ac7ef39a2e65fcfa47f907
6593336a08b0d2fff5e1322c63f9ebc93429f4c3a15c8e5a51a52a8fc8ad1171
95c5ed5beb7c9ec4c2c5cb26e364fadafc46bdd9d586c555e8e83453bd1b77d6
1682671156449959b9ba2b6f87203c5b9ea9be0909eb1357146c8cb8dde443bb
a8602b62288a42d69db68359b851b5f8f9cf200cbdb6f817fd8727015a397f0e
08f3d342ae17ecb6f7536b6bbc9acda138ce640f3c58a0b4b8349c7f4b7dcc6a
76b3e3b86bbb7728e743376ff70b3e087b5adefd6f67282c8c60973e4711be8d
b33083a788e0fc4d3cea81fa3d3ab36c375382c28f1b25ec87ecf7c8a607e831
7b10e57b07be573113a8c7c23b6013ddd39d8c82b18b4b9baec87a3dfb515c46
b1c267f4d76d5b47aa271fe53f10f33f9d60af957fbefb835708fc5dd45f65d0
0e4a06de262f56628f6901641c6f7241f5de50e3c2d59d1b78e8249dcb5d3bb6
14c1bc412561148e117ccf82c62a6d605d87c71d846abc57bd97f5723d098bd9
4b1a28eca5737ac87e56e46ae31f3d904b2035cf1c791780e55f82fd46c7b69e
fb1932d6fdb11b3340473222c29aff24d92d8ad9f28703bcd708ffdd6bdd0e9b
9dbbd128131b573f59646abec151d0629e723e2ee2ebff49f88910dfda0c9142
adcc9f8b6aad9ac8a783e728caa1d3fceef9535c1d0033902642747f37e32ccc
299f36fea9571d0c4f9baaee4b0e46d4beaab354898eeb6fb86c12abd2410c88
c9c3ad702053b6c1466354c4d790007e665a29ea83de2eae313a7e5ba87016e6
cd18d2a6862376761f3f866cb18cd2fb78c260438793a6ee584c78a366f83c17
0e7ee088dc166742a9d518d584f8139eb36f52ad59782fdd6e81f0b769cc0c01
4ac99dc69cccb0fa1713ab2a4f587410e9b6876458f849ac38ea52907d9e7b86
1879979fa08af943cee195f9fef7460cfd79ba15c10fe44fc1761e3def63c1a4
656cd0707e67b8c0238570dfb41d7a8232f6c6c328a7c8d2594d0b8f0a30e4cb"