void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=105.0.3
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
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="7920247c5539f379980dcaac286b72d5b212c25f6dcb8a3f4b0f73170bba565a
909be05a8ec2247466041dd0b055f2776887a6a5c99f86c3beb7db42a8049a86
ddb4d0d03454ddfb7b5cd88db2f84cee17239c1de8d244483d8c2d366f4a289c
a9c25602063aef72ca0725b9342138cb43dc4e3045e5a08e0e8fb531eb9a986d
d47d684f97a9524b3128215cfa45e01179dd23b568ee3adb99e27694d4eb2cab
4258562077f25456f208539ba0eb89e5d99d8e9405776680c098dcb0d27f5692
28d25b4de7683f0b66670c9c83123c057391d4466599cfe3832c0a06b4f347c7
16653c917a5fc32b9f3231a18bcb84feb03f71c58eca9620227e2ea011ddbe54
867e05c59d7c87d8fbda3a08c40fdef3e733e244bf44837e261f52a503b274eb
d6991d7879e2195bfecf149aee54d971f5e36fded7386209a1121b3123171ac5
7825e46f80732abf0a3861f70ef6fb801d3da930379af4b365199c7ef15cfaea
e79e87410122723f15f1cfec188e241abd4a1b59ba71ad2e412c90ed4d50b150
672b26e5cb56810ba7f0ce1787ebdd71e3da8f560f4bf2871490eecafc3e5678
5bec3c7e5f8f187caf5c03abf769a7e50ba374da444c1b1937599232ef23b9de
a275208adff1485ee16c1668f49ae63c13c44f86224c1a7cc2dfc9f46a64effd
e11cc6e50a894eeb2bfd2a693685b8b1cae7a4610b5b0abd8fd64f3918d1d46b
373e7be9506171e37bea0883410656b31f8354bbc7d3ff5b54a6657a41f1ea7c
9047f7c1fb0c39d56522393452a61921fd48ac96f3983cdd75d699509adefb92
54ffe75a18c83b19c9d02b8f33b8f5a3e8c6178fa098192716a630bb46e5fae5
c5bea4b600368379e5e040f0cac5eef61b10e7cc1b2a4fcc3104bb3b30c4e1fd
6665a35c484d2015f1f6d7124aa3504a423175e1107db0e4145000aa20e49548
bf7b40e5a9d9779eac363751ea242090773e922c53df86d09c903e5b1f1d5801
eadabf6e28fc743496c766a1783c1a7432efe599c2a2881a95ad200ec3d5a9d9
605aff109a6d0a0aa6d8c5d3ce42a3c72a024681423b1feff4c411fd52ac1ea5
29d8ee604e64ac17f2dbd6cc35d26f81dcf4862983a3314debb971387f9b97ee
8826d2cb24ad1901001a7ba536d31f7a2f334bc686070ec06e4f4e6d5b384e63
ccc17d2826ba311edf64ba5da7aec8016d103006657935ac28d772359b7fced6
87cb395ff528807ec4469d2df09441611fadb79862b326e34d603ee69b30bd62
d83229e63ceee94dd676edbb669348a0a8aa9c789b74cb699b458cc08a7ea7ab
e3af42fd4d9a575ba2ad4f6ec807d0acd42647b1dba45eafa9bdb763ac1ec388
2a28dc6a4c3eb0e9e08505f930768c8fbf96eaa513ace6f0a39b1ae2cdf88400
0412cb6c3ec05dcfec05ba4aba93a2e8c61384ec308b68bc1e083f969d6cf72a
6fa978e6bf4bf3ff37f42e6b88608b11f31e513209064174e5b9167d3014324d
919b7ffc23d7e0adccffc6717f6541f91f1e25ce68f3ad905ead4ee58cd517f0
3f481c3117a277a76f11b49aecec8e245c4dc3e693823d6b243ba3cb91bc4ee7
8a96d6fbfa75fb424673ab6848af8be6ddeb33e38e24ec5934c59f9928963682
b802f28855cf4b70f0b2a92d79342b4439c1982830362d00f672cf5601fb52c8
412ebe2845ee7ec0e455951ba35d1f48b52dfa7fbfd4cbcc28aa56660d04954f
7c9e730f0bc4ac5bc881a6f073f8069742971e2d4315151364d1ad687a9ba022
8fdf1c1605581d0849738feed8feb051ced99f8f33f6cfa2562df6a77e72da48
a198cb8cab8e973d9be7a59663e876b43452b2b1557b4071d2c746b5df0eabc6
c1b270853b87c80b1415bc2ba45ebb05b360c36ca39d2927f6a15b6e996d662f
f3df9e4bc2614426e099e5778e6ecbd91d99bd37c36ddab30f570470b2243ada
f084d622e0e293396f1aca4640d8d4973a93086c90db465fbd97b1cf43dcf6ef
67ad16bcede78ab31704ce6b956c1218df57e21c53255348bcec6457210faa0c
b3339dea7bc97f352dff82b16d7d64224490b74ca4a3aaea84549ced8bd4f077
00694adeb6ff19d0d0a89d528877af2238d9d3f30270e36841d6a5b02296d1ab
54fff4179076b67bb4a5e77664e120842dad1de01420167429a00578e1711f57
c40e62b1adb2ca62d288c60cb861ecd4f4054f8b91efcc9542baae62f8d37bc1
dd18726fa36de0071fd5ffc5ad09f18577ea842f15608b08f0dc87e79bd85639
6d8df0e2bbae6f8efc7ca178a6c902ff059d5874329c7cade9157b4d5345d08b
0cd79e091c32c5f8e8af1bd610c1160f7792e3e4b8c1183f9487e04227bcdeea
119a9398d775948a11163bb7698867694fcd2339603175f07e2275d3d1ef2fee
c5f2b89ef4361761e8fc02ba130e6752b063bbe5dde01c7244620360bb797108
86ca833bafefc74571c0612c7516c0a8c4c5df113d87729453b7743dca97cfdd
e57512436acfcd02ee6d6fd03ec0cc029e95426a0aaea774dcf7d6960080f51e
917f9596c93e59cb7b5f2f67fb9e0bf7645325eb52a67671171f1023180604e2
49d6bec69daa60f88a3655fc4942878a8033b4e4ba6d9d84faf5a5e4aeff20cf
12d17a3e41911a604f0786c718b86e14a60828b9dbd5727d2983d769f960b431
786ddbc345be48e73952f6a06d139b19e0a00b3070978cec61d2f27ecbea7215
6d5cb8c5e9e8749ee65115141eeff6d20ab814abe3be73770651d9d8c2cd91ab
fb6454ba4290fd653892ce48e1cd4ed82255f3b8f052e441df9e6eca3dc16024
8fcd769303ed6e2f427db5bb8f534104caedfb41e96976927df4aa65c9a2e1df
b07021502959aac57aa945a906e24877201afce2fb0fca7e022af864c4e3c0b6
ec07007e4c19235c4b492499c9b7408e1ae1154fa9cea0fd1a0d3ee50ec565d4
00a4f19eca4874abb04480d2c0cd4e2425c52e09baeb3d396f8d992e7f6a1fd3
95e935228491a9031f6afc6827f892ccc1d99a2e02bb45340b1cfdbf2ad8d20a
d5611ba3fe572db6d314290c976cb3fd262dce91237054a90fa3bcf599bc2369
d5f506222030d1d498b23bf1c20378cda1bfd716b45176caa24aee3abb78db18
5418dff658dbabfd159934aeb384ddbc8f1e4c5b75bdb61cea70450872f965cb
6b5e9f65f3c6f3e6976bcbe5aefd2dd9337eb69098424c023151f6452b9ff671
d2ae82bf07e9580b80dac797ed8290caf9143ddbf9a3b7c27baec9d067d63a81
5099f4b6f1aa3a81426faee6a3b2df7cd69301e8d8223f7b5d803c805236a2a1
4e6e7f20194fcba61b166ac3a4f854ae297c4ac0c673cb6677713c97b7bcd337
27c857f36dc175f2f932dd169b8a4f352234b671c583f4aa836a0278c948d1b8
a25ae23d67d40e1d50a854f1b51a5a83589b43b4a665553edaea4093c7e19e8d
4d6d31534b4e50c2bad0e0c4bf32d7fdcac6f9ccddb3aa2587f0fc88cca10fef
6a9334c01a08d4c43e15abbb4f49a0044ecd378bd7836382aab9f6a6b7d0d74e
a4b3aefbd7f00d978036eb805e2a19eabbc46f7bd8f380f35c53a5a5c2847dae
defefabfc464933fd34a338311f5ddc6129d20443c0ee86d2d1be4f2f82f76c6
600aab11411127c33edaa4ab63ab50025c8cdb4e5d2b937d223254df2cc8e763
ada0dc1aa1f08162951aabe45b6f0e546eed7a17794af7e83584c2ce67ddd136
5f2eb5a3924b866418497644fe63a3933781ffc36781173f2c1f1d81076f42dd
0572663edae4b9147b6aac442dba807565a9951f1151a9502aedc4435ec1f952
784cc7fa58805276be19930a5967b21bc75aee3aa2f12ef12e8937f98e43ec73
c16c3d3e6df911bc9a546e047a008bbf90477624e6e85b054b078ba67391fdd3
df35fa84bb1da27cc0185cb53bf5ea0fcb43f5e904833713cfd22709cec9eb94
a04163e6f6a0caa08ea6718ddc5bddbb4c9168b75b70f46e7c26c8639bcddc8e
13a08553d3dddfc331e4a62b52b66b830f9a9c3133f5b0ce1e7bf53dac031152
0aa4b2eb9f7b33b0a29d62a06eeb5581c0b520348f3cefb84647f08fce490ace
24cc52462eaf11b6af15435ee31fc79671820429cdef7ed72c70b9a1f1654610
f86606fb52600b39d4f12ea9a205b4373e7f44c9d8ffdc948d32213e5b07c4c9
7f46a4603c9f12f3ad513d0ffbcd1b5f2ea627036b14e7cabaf5136b30984d98
556babe6596310cf52e66de412eea1142be75e795de4080832c2a65ef7afd014
2c1955bb66628128c3f7445edacc6e750dd44beb68fd77660e5d0e1b826775e3
56121254bdaabd263c1477b8d9f6f03ebb64ce451e633a53d1cd29931105c456"