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.6.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="a633f63ff5d676d465ca5ba956f04e962fb0d4107d2ee9a02d90e230065bba56
e36fe673d65a64b33904970f970a05aaa82d9e47986fd5189d9b61fde9583e64
381003ca95867ce2c5fc23d5dded8b6496fc62564a1e49ba13a132e2e423662b
61ad12d1f0c0d9ff7680e1516788b32db7c834204a28a16775abb9dd56da28b9
8d5f79749c1851d32664343e92f0a39499962303b243e72c38f591f9538b2b8f
1a3ee5c4482ef9bd2d36f405c48de92bf2eab7d6ae4cb75b61121faf5ffc99dc
a2644033b6129aea582de8b71a6fc168fd71550841aaf58349872e83dbcd71c1
c706077dcc397924d79c869ada2437fda15e013953bd6755de2105825448f6c4
e52b5342e68496b72f56abd6e7e856bc50f21fc0516e44ae9d8bcbf9a60d203e
4374938c61a4e0379b332ed24f3d9244f13c0e28d55143a2b846b6e4935a1c24
95f7d3c0d1c220aa9abdcda3460caf6868e0318620e4e35d97d707d7b0117ab0
6d315dfce61f1143cb89e32c9b47fabaf58e18cb93c49085504950bc2cfae5a0
b563395548b0c8c438f318d366bdbc264e9118b09206070625dfc03958ee2d9c
a36fd78b3baa4ab96dba2058db293dc8956b96cfef2fa2c0bdba60c348bc67e7
4b36605ab7cc9190d372b028ffc7b3ca56252893d9481f3ff869f2c42474b0b2
d36df1747bf91e61cc19ed2396d02430f887a1ccae4c3631175b50c3caef880f
0484c7f7062a2dde94f02c09138dd3c9af01a3e379f14b6c401d44a96ed541aa
1247b69fa7a26f026ae16bc87e307201df85ffc875bfb019d4251e158d197fed
981b82c331df5ea81f42116d299b91bd2fc279f3fa85242b13ea120ebc401f37
0ae72aa1beb2ced286c966ead603afc18f2db3c25cc6f9152755b1ed629c3467
d4501c7f0fc09aaf3a099f902966d539bed62a10cde69b80c3d0792d800f795a
0d5816c2e5954c87c8c0d073332ca29d034f719864268ac0e2d01b08c7b74f68
38ec953a80215e6e2d7623a8d1e8adefa5039f64ae708c57e23d9fe2f94e904e
0dae0cf9422f75e0cd4b105fa423d7074ee6285b99afba7e76bf0b440996710a
75a14ded5448e539636f569930e7d17d67646c151645e944c18c39e0593fb551
c5523e887848da0856d50be613501d9d038e31094bb0f9a3d7e2592fcf05ab14
bf58395da0f409962148b1777f1c8aa26721c204fad1589b1492bc0e35cfae62
91b473495a5c82589465cf0cf0e84faa9e5ba9a7e9e033c457bf9da5c9c08986
fc064c6b177eb293f4b4dc1ab40e236a72be8a44d5f383422e2a42d925606053
43d0e461b2fb6576e285658bebcb41a4585502b3e403ad60b562eae6affb7766
63d811853765803cb64b95eded3a0de7b867186882efe3e9f925ffd4d7bb940f
fa093681acdcf7f45216e49b5882ace38e653182d61ca9159a9dd7bc2c59a57c
216db3820478c951f4594c03dcfee5480a0efdfbe5838acc4e73affcb17df31a
0f7a116b3516ba31fd804a1311276fa5c644e1f398f636bd48bfc1ce72661e5b
1266fe9ef4d0dfe24b199d7844300d5fb5321d7bb7225f7c902b415023911bcb
b0a1d851050e941fe28f967443b8d7287dab3ecc3303ec7f761ffec4cc10ef47
7df9c803e9edd0e4980706fb5e6c2422919fde6da3d10866297704e2e86d986f
02c7a7956783a2395171353ba5fc45dc5296b876ea7af35be755f8666b38abd9
650c8c94aea499ebaf6875691dcc0fe1f7535e35a409d65d7ab6e7052d63cdd9
103603c61cc5d0734a7eeea8326a463cf5cf9c6b8f7d431441d442ea9344b354
3cd7767ebc5a218843fe2914ac026956addc60f82693fc43e60af1fe8abccbbe
a2a195c07ba2fce554d3997542da1c8c6cf45d49d326373508537005e5b31f7c
c39f0318614f2ee222964e4fd3768f772eb7348f17f9c21e4adfd66439551be7
65416f6af10605a388251ce3add878c95ac1a1e6e925c087144608e3c95690e2
7d590d53d6244384a2a7d3776bd5c7ab5e37a3b2edabcca5d6448ed7cc56cd62
d0708cb5ee33a9ed981ee3a4e855d78ad54a2ab23e0b5bb82fc4287224fb3a04
cb4b1a89b03c39e332544099f1868703c61cbfb522372c6a6ab3ff893b7ea0fa
a38e2a11f7696217d9c105b62b335dbd5b5ef3193804cecd2afcaf6a089dda03
a2b8989050b3c36bca76b8ac169e212d4ec19f487db8d908b1792ce8de8d4bcb
ffac3cc7a1eafdcee369d3a88aba6bf3116da37cd636084c8b0be50839c09cc3
56d99171547a442c55ad25c6252244d964a7c2db4717ece4659ae9f6e515e085
12e547ce451cfaaa1919748e206726a65434dba8f871f79f575c3c73b53493dc
aefc3626f4e4fe33074b8a08687b18b2ecf113d389712da5d73ae4957b7a00ae
35b244f8be1e0c573cad64abf7da006bfd7a854aabb645fd35dbaf86316965fb
e550338dc4599958f32e07e3c034d836ced197e962dbc6311122eec1d2c0d81c
bbc3841e98942c828ad53ddb514cd86abb2a394f22407364b702777c828d330b
4822eb9cc0cd4cc42ae8d4029f784a7b9c3a62a0d5dee5b8b020f1728254070a
3354806c46e6bc3cc62fb05cd33ef481b09ee96a053c569a66dab28eb30d7d10
b3994f37b027aee6171a089c88b10bc0dd56e10f9844ab710d2821fcc9197edb
b44c4deea5e29f6cb8be705ab06de7527bd5fa9312b7d9322e219c834d310102
6396200e5d3e55cd942a1238630b82fb65e0575bd2d76d645e99862d91813102
4b6f6477a89a192fda19e2c5a1d52194e9350d70f60836b8411af9958d23e90f
61e0efbf0218bb4dde676218adaad46aa0f8f1b89429dbfe1b93646035f6efdf
fe222029c0e2a175a8950bb0c3335c2a277eb87db528c67347f87ba05f78a8b6
30e64b32873e24b79f94b73ae2c404ecdade3426f3a89d894c5096dc417db332
229a275ba9547322bd0183b3b0d16f4ce7c992461f5378512dc865080b2cf990
9392b96907c50749ed460bd0570bcdf085cdc22c63119b0a3570b4eb5be4441b
70b436cf4c6ebdf02e6ba5fc84dfaee35477bb6085cf010283dcae9760f4b46f
9ed7ea612383205971a2ca0fb573daf4530abb4134d968b72d96e8530c1edcb6
5b24f85474d578f578ea505b3fc6c326181fbb6e52744895700d66c5507d94d1
49590b2c0422f35a465fdcff13df2661137817758a648f4f0fa9ba0da33d3d1d
030cd2d86671c8a2009a4512b15cbb5bbf08b69d6b1e7937cd483b1ecbeab43a
e4d798752e4263d6f486cb7339d5963eb60c9908e6f2835af637275c15e35412
46731b30a6cb27805f7e8167e66b1dadde77a39ffdafebc03f11300e2fb10667
76f1fbe98c36f2486dd15a1f15e0da9f012d2254860eacce2bdab160b1744db1
7ec19b9293c3954e9e3326ed74297b46627ac5f5eb4056c66c724b6fdec260f0
db1ff15a26fdde55e626bdb49af86dc8d6f0b070b763d13c10d855d45edf924a
55bf8c6ade4797dd39301244e8c1afa0c37c677373bc760edbffee26a8b3fcf2
f4e93da0fe15ba7687687991b8d00f5c9deabe37b6528ae5524682c5a7b91ecd
57677bf4805c6de175eef204874f8fec55b7ff9f52d1f2b785e2b943e8cc5b60
9fd5979c24743b52946eb5ee57894b4e3bb175f9e537527cfab4ed7942753423
46b9917fb197b9d0e3a2dd53630aa1aeb2f0a163cce7cd0177bc3a050a552aca
78a73aeb7ff1446e711efa44cf786e02f2d7c3a5217f14081ebf952748b4593b
55549f13d07fd904190956146372c4fd6a0a3f96f7729f8cb96c20a7598b8b93
a79aea11e5a2fff37d0074ef2a1a947f1fe45c3228af25fc7030aad56017050b
a5237e51a1f712755778267fe30c51dfaf476b8031e4192d0ed3319495abdfe1
b466f0c29278ed5a02d36d87d77476dd3879af620cb98edb3f3760732e6e3ff1
4b9252648f34c232a5bf65363fcad8682f123ce98f8c5b317df5b1a97497a814
e1b4daa5988928808bfe581cdebc78a62170214be7ed7c1c38ed5e083c6acff5
63780cc2d60299e2187709639c6f7a7194526668289a448aeb2eb1754b12d2f5
9b0701a0be10f6480f54332a8312d271266f3097d582ca88483365bfb931e2d1
76dd82fb3c1e32ef21255cb635026443ae508ae8f5ed4a8bd22337d16acd9333
0b64873a216da58695bc285607f992140b5172f8e3abb6f71864ad9aa3e97980"