void-packages/srcpkgs/firefox-esr-i18n/template

233 lines
9.0 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=60.8.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'en-ZA "English (South African)"'
'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"'
'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"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'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"'
'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="ff8a0e5081e1bf6f1794ea47dab8f32f5b28580c423bccc149e16f4749e36c50
eb86ab716a1d6a32bd102952f3ac13b7708ac9fdb947e72e0f66891f872c1cb0
beb35664f371716cebd1a4a4c84b44129c381a1dc9a38dea19684fd5f15e407c
25e8cdd8d22a1073143e2c88e5d3c4d96b505edbe9c18bf29fb5fbf4c68db620
7a05659ee866abc198bd55169b189f8e1f4daa1259b28bef78918ee0e84ed669
610f0c658af4d93eb7d70a459317323845a641b229f1dd42c4ee66ee660067d9
021d5f86239831892335f8d4b434bff3e129b774588e8b49758b3ff97534b055
b3d75d79148ef5000aaca5d6948e09dcc43673f9d51a91bd21c51eaee34a4bf0
6481896744f2a0e596f425de2590ab78e153463a8bd16fc9398bb0e6a2278f3c
a03b62fe0dba6a9aaf080505299d632dec7eb98d2973c42b53330ec25695d9c7
db332375bf0224ac90a0aec2475c70d0262f52a0f856ef5d244ba7ab8d89bb90
ff234f75fe294bf4278d7976a7c44815f5aa9e981e9742fb322f19726a38dcbc
5f0d36853f12f5fc3d8a85874718bcef77103903cb732c370b4e301dffb38a51
6b336951b07e1dd63472027d7603439ee5384b3f6a814c7be34d0cdeac1bd4d0
21e196147819aab031a733a4ad78b4c67d77120cd8976e7aa0b364823a3beb01
4edbad866270ef310932149188d4e4b0d786abc22db3196430d9db9b9113e992
0acf0db94b5e56fd81c14a763e2b4dd32c10f21824464195e30adc7ed9e4c021
440ac13c8d241d537c7de382a10ca1da1716cc302dc200ac5039ac43efcfd8a6
bb7fc4aeffeca0c89a2ba33a7c762f4764cd70334f74cfa5d4b51fc4449aabed
feebf56ff307f191ebd2af9990840db9e3e447c0cfbdea3219320b108838202a
9ced74783c6e21ae934243b3558ba1ecbe2858b6cfe57a031389d4c91b4887dc
958ff950724abf9c593685991246325ff6d04f73ea9c518dcefe24e289770c9e
d8f5ef61b8a2bbe021fef63d09cb8e83a848a8100331acecdd70c47cf0cf9d43
db9f3432a6a364791e0c4c8e47516c60182a0640a8ef795e24b7fc2465c7a7b3
7558f05cc6319ef57cf54a176b41bb9ac6d4650de9099998d3d4ad83163d07cf
8f8ef308c6c5d06f20feae2e4f6b29aa0db271f1a91f1d3ad097aa7a51948384
987c9758f4a71bd3e7602cfd977a611fe28d58ae28f324ba1325382958735aa7
1ac4c54b7ed0bc407711c589328d192b1b49a4b23417d294bd3608bbc5f40581
71d5f764c000ad31f252fa36a94d6a178b552c1a9e4815ae883e7c490ed4d401
74441cfbfdbd111ab87318598dd4a3c8aaa4c4db2b86a12bc6cf41fa05881ea8
43bffe371b4cb25f21bf767f618631a96b24e72a658a72759f4bb6a06bc5bf32
50fa12cc74afb9faca4ebb8ae47d2e22756f4cae70e3c8169fbf0f568dc64fc8
85e3332ce6656d8df3a492ed837192df3991aab1314c1c5ef25a67bf61360cbf
a3dadeaca0193cb249b087b165e1d6fbbd322cf06485a7cf1a35c090b4adeb31
55cbc207ea34d61519f48946c077cc9dfa17d24eed5310f58838af289ea0b60f
31c6f72f72743a4b085eb699627a3917e92531066388343a40ffc6412277027a
38f1b0d8091f864256464cec0e7f78f474020feb7c4748b84160c6e074088b60
cf2c4efce1203eb8c8f8a984b90c61672cfe9a6d05da3cfecee52e12189301a0
ca8e8da872f5053cfa15d8395d8f10a66794589833714538b0c67fd83c340466
c15707031179223c545a4299306b3df107ded62b685363a5e3274e318b88f219
c1699a128003f23ef5662919ed1b33c5d61caf914985e39853df29a1ba35828c
3fb4a2283723b2ef3709c88baeb99e77bbba33c9e835c2dfedf28c6b2ecad2fa
344b3b3149aa3b77f10f49b86a76c6ff0179043048093c541944058f620e8845
b43880065a4a92aeff823e4913eabe953e88cafb9cd414b2f616475cd7af69af
94b414e2f89f030c131742de0d9ba48f13b16b40e06dd568c10cea417b57b5ba
177ca8c3883d9c5d7e4a84b79dbc7b64e430fabaa247b0cee78f9ef65e2b5aa0
a2a071c6e3604287a99e78042b34d02d4d91b27d3b23b9ea90945da7d9456012
ae57f94246c078f8e2d4b8c297b281115bb008a811bf2a783278deb916007da4
a222763e7d2d5eda8a15869f85c19765111841a2ccf4d18993eb83f20bdf4933
7771989dad60a20756517a6f696d939039cf5f10aa47d271e2ff5c465bd7b4c0
389b3c1b09e744c8fe843e3784088ea72214571b975ea9d69aaeb7c4264a990b
d5fea97921089f0b4a6a8667ddf19a430eca78223118818480a202e563088943
617b9daf4d828bc66fc8061601adc9c40b25f1338c5f527d9fbf83dfa3e8770b
87d2ec6cadb2a61909888af5cc80a4dacd64493d82d0282679ba3c597918fb07
1afe05f69af9bc0b0e37d1c6d0942073349b173433a41a83b3a732e6fa026511
68b80d99dc3ff2c2828622cdf7d21c32e6f00904a239eef3f5eedb8fb8476386
853ec1ad7ef319a60586902c5b3dec73e0800c7af2d94e44b549d4f03f114fd7
d0c9e3dfd07994ebf26d4ad98ef997cb62c90c07f9d0e70c8b2f7771f39b1b95
f5b14095e891af078ef256460a41b19e00fbcd81eba66e0331af8bc096288963
bec28861d16cf418fa06d650765c3be8fbc02b69b41b079d3907bb01c3d8096a
b042d80a54dbc7cd0fdf24ba3599404632d84635ae73204235dbf66ef7a35a26
7b791bfc3bd843a291d74d86f88c0a5a31af13d9da9f135841fd7859c442f733
f12eb8be3a7ef93146c161f6ba02b9d9b892b792d0c190adb92398802f5365fe
49addce322b6020d69b65f72ee4e82a140cd0e712c647127f6fac5b66e6f51b5
acdc9ae4ae7397ade4c4053dc3b1f22ef42cc844bf853e5e846d1f6b0c5d5cab
02ac07e226734f1f693283784816b3c96a48b4e592c676673901104c5dcc72b2
b102cf97790415b804182743426e8eb1304675fb4bf360e64ae9055cce87b2f1
f8988dfc783c4b39d8a3a44e1000c6376bc211ab6297a49eddf5194b71fdfbde
58cad897f3bd51b9a1fcb7d4e4d3fc6bac47e5b2d4c6c19096732556eaec1314
23af8e26632da7c5d791a8891295eb2a83cde54390d9cd17692525f6e32ff6ed
0d38ca007291146731793d1a2c7e07bad2d2ed82668dfbd5be14daacf7abdce7
a5957711b3fd9665dd2fed5fdbbb0a2fcbce54ad43ccd6800ddf7ccf5be731e5
fcc2580a8ab3e95d23af7ee373a9bfcdce52e2a5ce59bb59d1ba1dca75772239
bc3a8480ff73c752cc1cbfa80c327b155b194553c3568534b9d20f7e2176df1e
196abc6109092f326b387f5cffad880e5b6a857203127cf1f76622ca5a823ad2
002109cec6f2e40fb4ffc07b04c72a8debd128357925e8d51e5a84614004a086
83be2c2c9f9c93c0c31c5d30c0e6fdef3df2381f7c62c64a8313066f64c98b0f
c7c83b2c405c432c3de1c187cfc800025502b1931e07ff1108648e77279441ab
8156b74896fd7b69fc306f90f1fd5291316d3c9b4c5ab4df620cab8d782b466e
27ff153a51f800ea9620042acc47aad6b2392c3551a4be30e982652ef89fcdf2
abbbd74fb4e2ce5cfb254837c8383c9cca637bbdfd05d403526a50b08806c050
0c6ada2d7bf26be43d4f3fa8f37581a1f1a3113c3399ebd328736802dbe7623f
b8c50654545a923e7ad7ef43bb1f2ea56b845b3443ffa0410b9bb7a6be9b8b91
4e49460bd3cd763e9527c771c4030237700e2eb73a359fefce3bd2146db7d56e
82bab7b006ab019d2bf2d6b3ed9aa85796f8dc1f827ed7350b0286dbd19bbc78
9b6adcd828ed3c2bb4950df6a2634bc943768b3d852e2e258e52c7e2da7a5ca7
ccd0aa23ba2662e766e2adcab201076dfdcfc5cf288e4c4bbeff6d0d3c451abb
f3709e35f5d4d317733f943aec9e977fd83acc1eaa9a35cf149dbf05e345146c
282d60e14be013a29ba09611f7ebe37d1fa5fe6dd8e441a1f10270d4e10323d6
742960a8b13cab9901267237accfcbcded21018aff9b6fc1bfd0ab37b7c8b607
0ae68434908b9512c46f22a6f3149b0f611f77306887a7641527d5df55725517
432353f98d29dbec0bc0eb50f0316220f155dee755ea0b4cb45b0636a0fcffde
8c1bbca429dd81d9180639ed1e526892908d26c1784f5f9c37093577b82d25fe
c9651a78d2d2395711d320f6fac1ffd37048d4bffc544a2f2e182cedd237d090"