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.5.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="902e9d95a293a016f9688c8b89c0b48def09b6592bd834bc80cc0e9e47e970e5
f18d098adadea9014e8e493b0488b13c0ce94ce5d9e27c9134cc21ef39f4f884
d0f0dd63764e89de9a513c8a2c369474946d64d241913d588da7043aef52d86d
a10cfd20b6e4387031a508d7f178766fd1d3f3abcc6f6dea38b507aab25a7076
591e5e7fb89222a56aeefb20a1d37d9ae6d4d93c585df31b8a78ad3895ac2300
8ab0231c85aef1abc9a80720d7385e008eec53068f5f9aff3ae2bb07c31a7567
288fb39810a20ed4524311642dbab181e6ea023c6b2fbc32fb1b24c89cf121d1
c7c3ee90df65e77b9a083c7578d9d02271195f24e42f6e1e78ccf4f00ad288e8
80771ea9cd1b37f98ffec9e273c4531ae7462e46593de99f214fd8d2cd96484a
30d8876bcc654db989f32b80b17b88a24a85d4d216a37f3c098a32fb4b32fd73
a4e4a9c46bcd2e0c2346b0e955480d59606794920400becee9fe6a87c64471bc
93a42ac6c6bc03cc42902ae36b9b6a84e7d3110c6f54d4ff6b81ed0a5163756c
06e2d833a8261fac2758247c76058421ea545f5e96124dc14c7c630ec6a45d71
675a11181e0d09189458b02391a5ea0b83a6da27e6943135c164fc147a92193c
5f30f7aa222e5fae70c8494dfbed488d837ed51ef2da20db5a3bccb5453b6142
8439b8d0e20912ddf3f94d49615e63b605cdeafba457f3678ef73929eac482da
06634bab29a524a454e85b77f99a67a2a1651b621fac72454172cd25d26b114a
3b3e29a9d4aad9adb8e756a1310de06ebd7f73a637a0e085fee2cde6cd8eeabe
1e8f16ab1ad091448e58d576ed9526d4b9db759b040a999a7e423b604f5d1a9e
2fb408ceb8f0bfe006b551c3e540f0cbf33a02b6a21681cadd408cfa8c8016f1
3ec3b05ff9d604baef5e871d8844d1c0637df73e5e7c4b5182a59aa8b9826008
8df918399929d5d73e924beeb7ac4986d028e2601104b29291c8e984a9bcffd5
db720f916bc55ec096a403c64c46b577a50c287e5eba9b36a08ebba67e2a54ba
f29e83cca768a91a0c5b305cad8538c60886dbe23b2ca0f13bf88399fa72bf94
588051d0cd2be13dafd9228057b433d24804612933676c3f7175bdb981a0b968
332a90218d0af056f6c374d2ac440ca7f7a1b63b61c9bce4f2f8246ec09eaf7b
3a5f273074342e4bd9320e11c592f65a3d0442fa6e7ba860d8d94f2cba8acde2
15a0e24ae0dc2812c4697213ca6024f55f81a665ca5db57bfc7e5709c50cec67
0d69e17e57881f44a8e95ce896b3bfed792eb0b61192fe781466939d84ec11bf
0490770f68e5a34810ddb8b9be00d994844b247ef8fc707edda236b3f14d1895
2b6e8b7f355e8d11e84c8ef93a17706003a3076c0b67d356afc5cae4889f6eef
a2734194d4103a41676260e6b4c68c6221859ec25a9d808f72cee2229c411c87
0432b0ec0303caab4838a2361dc1df0151e9e06db049287cc43f6d11354469d0
94d4ae4614a0913828ec4652f8329bd95dabf441ec869f599dd8ceb297205037
2502ccfab3282b487b5bc3fd6bf6712e6b4c719a0f7b82ade2fb4daf1f01a071
e425b5b4187c62d61fee56a449611a7deb1e507fc78dfbe55badd962a22d4259
d613f8fc40cd9c4f8b86871eb2287b2bbb5a730a3d7919844759e5a118703bf7
e1c0bf304005c1420127e33a0b59841492688a22a9eb4afe905a0bfbc3b89b79
1d8bcec3b6b464601df8e7b547c97dc80e2b98e3e7a475eef5ee437490245f18
1dc03bd3ca677c5d938074f657b43ae263c37d8a652ccf8ffb3f8fffd91693bd
b05f2525c91571057cdb8a92b3ca1953a829c3e72b7f4e4103c3c2e3cba9b2f3
810fadb78526516a9d2485c7e4fedc5be9e56c2f31cf3b96bc9d8e17f3ed5bdb
67a1d5286e11e2bc49a7696c4443c2e96196425e467c393d72f7be8fa51f8286
b33cd0ab6d1bcd2970fe79b4f5926243d37ee351ddaad43c78612c5745b08c2d
b4740896365efd609275bc01efce4d2837af2875636b3a1c1a2324d12c5a9dad
2f009d77b10246fb5269cbfd9e9d429b5f1a250328951c34575533c6cffecba8
9e9ded7194f4be5c613300ae6616c505549d6ffa04c6a692c24e3f400ebbc798
50c675f59a7027b69fd520d686e30231ab60b69ecd3c9028c4a0050c849d24f5
27fe43ef8725bda19be283485eed09c7f3006c8baa60a922c38777c804b3b636
60c52d92522cfa8d556e3f2b515bb82cbfb87a2a5660d79c216cbbe618fc5319
131c0f1a40ff3f608ecdff6c1fe25794c15011df354fb072ff086d2abde40790
7dbfd2e737251cb175be544486076fef17dfcdd926cd6e405276fa4ba51abc6d
c5681e61588a23aad87ba52537531284039b3ea9d835530df97fcf7fa783c805
71189e64d455b0ae8d5aada32eeb38e0f521f862cf46ec11d3375a32fe9a9fa9
b53a3ac66057995cdc626201bb770dec80c36d8219f75d7dd20c70915fdc6076
9978775a22c23b9f3a94ea5f2e6eb9ec9581354025e2d65d4db89a82db8b8c98
e4951821e403b17c750ee9ab5bd902c17307688f5593c3ed6ce7e1010900ea72
8e3e4fc152995752e9a297933c3c736e2406e10e0c3a19945fe35503cad4ff03
8a659fc5a4b73ef140e4b19da26b42bf8d4580f2d0678a577a148adcbbc5e549
c42e08612ea3d98c1b359def320615b3064c717711be1ce0c698419fc9ab4b44
44da9c2312d4f11ff32d660014a5e41aef5107e5d69f87662b1f4d0a0aab5eca
2b0b831f98e43a06c72e099e6dbd4dfddbf58b789da7fc89e05f3d7a13a8ab31
1f9a7f961a1bc24d884e1f863016ceedc18facd17560252cfce15a1b04684409
d942589ee0f43f250cc27643037ebf18b9f4e239b75c5e5295e0cb2db200a2b4
7e06de0fdff161468a8ab39b85bbfacc7621adf85ace5f9c72ecf549df53d370
877e22316e59d8c77a7c40de4aaed5f5343ffb50a5dfa609b4f943b3226a0fdb
f627060a3d1e134629baee0b7bbc60b98ba531ade790971ba438c5d1bf8f05ff
13bdb8cbe92bd3e0d41e3a66906772509b2079c065b02537049eda9f2cf62271
0fb6f7ae980bcc0ded0356515e3c63e2e220e06f025d4fde242192b3db6d63e6
39d9532f7c54187d6095dcce2866d231833964c40771f1b577daf6db5ea673a1
3f2bc1e613fb0324a8e862a9b533e1950e1714da1869f5907eca1b85da29a322
95d1b481e12995b343a0d16a5a1ef51051000763366ca7f645749a26fa2c4fcc
de4386e4f6d24202183a3d4011034254898bfa262a301fd3794bec5ab801a4fa
054ff93b1ac3ce4d850c82f43d8fbe78ac10cad6cce9b35533f84f2360abe85f
5bfc67dc8efed4ac4ce02360bc47c175537f8f13810f9c31469ec828bc7b9baf
709cda5e8cd314a6f6bfe5dca0314eec1e789f509643aba3056173abb7b658f5
5a6ae6e866dbe6e5095b9063ef9a2a06c3242f48b4c4b3ef8031b6bc017de360
c4daa23116ece805db5e9ba14dfecf566a9e32119dbaa97de7de17a631cd7cba
1e30ff3bb6067baf090752beead57369fc29f48184c040c37a638565da37b135
9df81a2451b291f2562bf12101a34e92480f48ee0a3001d8e0c03fbc199043fb
17c8df028b8ea031a2c324df793990075527332c9e97850461c8039d4de69f02
08bd7af9da28b6889c75a87a3ed84b895768ec6612d0a35b102c05e7a001cb34
725ed184e9485fb67357da18fc25d14b9926380ad051cb41ee2029f77b7804a8
60b59c2fddc9fd0e53e60181e9b5777d0eb4eee29471d383d7185e8e9ae8e5f7
49fb8712b8d34ed30f3a499fa217ce9890072d67e3380b9157cfaeb078dd8fe9
78d3868d484bd56f8c02055bdd632149b491595e1964643132595f519d055c00
65b7195626d9aa64eed5af5aa837d42ec4712e7e18de2c940c018bdb78c18930
5bbdab6771771b2d1e1eb49f3827db9b3f7cf7139f8433db3befa89d3b42c14b
a05914a868fb8b3a8516c07e79af2c5d1ac2c3c903640fae1d0f557b57219db3
d4052d0ac608d8599ac1f6612ce9c64b6ea61cbd298c2de65d6d98bd5020ce30
e3a910a16a9b452559bba0f4a23e5bf30981299e21256a61e34b706e37b602ee
d88293a405aa67049138d6a3c9e331e6fc63258a232445c15ab4d8cbe99b5f9e
67518a93c6cd5d4cf6994f9daf9df11db9b5f90d7146b75dca221c7c17ac98af
cd0c42fd40a4c798e94fb9d072d8fa8b67d34a5411d5d485ed8ae616d1194273"