void-packages/srcpkgs/firefox-esr-i18n/template
Đoàn Trần Công Danh 070731d36b firefox-esr-i18n: update to 68.4.2.
[skip ci]
2020-02-06 11:36:08 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.4.2
revision=1
build_style=meta
short_desc="Firefox ESR 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"'
'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="02297253cf002f16b8db803b2355711702a99d5e695f77d142ead71a6d584346
e74f66138978460e6deca9daa849a8ad6d556a5ecbe8593190c252bd3404fcd7
fb8ae6ff6a6359f49f68e0a7238b9876007bb939a7540ec2d82cb18694c0eaa9
cc60bf7a5e5c00e42756628758b5a7821c788dd484f7b3deaf4d1a3f584004da
b7f223f8858dcef8f05b0d80c3fcb257fda0a197be9d82c4c81bb1e8cface2bf
3ec3cbf3853e042e8b6767c27e30da37abc56a794d4fec0088fa5df86606b129
be9042a5bf59ecdf1d6dbfd738be45d994371e1c487fd40dfe76a0cf2a7a8856
058b9c35f86c00e0a9680985723b145c21c1e6cdc5c996ead0707f0cad780ddd
05f9c99166db299d953dd7402a3a7820abe7603db63aeb3e058a76364fe2e839
d927fac0d4d6d6183cf561066346408fd269d8e37d86bd720a6b9c86fe217f37
622fd3a986aa379c3cdbdfda6de5c06f8a8058c0ed3c0d925bace369c64e3a9f
6fa587fdcf6915becb6d55bc994428c75536084ffa0f37fc8182f5631406708f
6595d2bd0a21033b358f969c06832fc432f4c1c8656e12c99f9b4140ee95b958
6e5d4635818565a2f506cdc5436f632cd0b04aaa4a153c96fa1bfe8ccd56106b
99b9ac6ec6935c0c1cc3946794fea08b3d71e8daf80d85db547adecaeddccb7b
fa2004bfcbdfaf7fc52f35ced9943da1a1e23be2e53e0ef61c7af8f6c01eabf3
176074bb0562f6051b90d8a33d75140233ef0e895d703bb91f077438789acd1a
618540da72f24e4dd32af5aafabd3b3f73e9d831240cfc44254f9178b0d8ccf0
acc514d13cdea0a76c8a42d07b601b6a7fa7ecacdcb2a44d1904e51041d927d7
0406e485ecaa05ba32d9710566a0e0e9d89b22add8e66f7cd286d478c7a519fd
5c8c4a22ba5ded8ca07adc8ff9992d3283f64a9a44be42ad2cfcf3ceb92dc7c5
e69a8d7d031a94e1d19cc5eb20d660b237c9b89d7e826dee13d2f662792323c9
d1dd62e0ad6336c79f2eb3942cd15516f51a5f0ea7fc466d3f34fe30a3a6b3cd
efc213c712920a5f2f07d534906cb8a14b521b46b1bbc99fe9a190a81f0c65ff
7b804b5b11014f232ed4288dc4c1288957ca2532afdbc321165634bc72be7042
4768f69483b90a1c209605fd244b699b861c9a8aa02ec6fa2759de95c8816b31
f2913fe7b69934abfed6182b6ca6cfce4957eb3b1bbc9dc178ddcf0f9f2cb982
18b7b13fd536297216729038201d10e3cab62b185a28c63383f42794d756ea06
fe88a0fb332f94dbb1f639fecef85d4ae57a1f682db9451291d32c99ea8ec151
92e78470878eaed0e2246709cb81c9d9139f8a72a49069531f820a5f9a9241cb
a4a36be2f0a6372f6e54a26febaad5db2b4248233cac5ec843d0fcf7287ba71d
9280359699dfcfb8805dec532bcd80b6400b1058422f3129185eac71bf75e5bf
e0e1a691598c06260b6df5460a787cc58d45ad1659888004da29513b1f5a5fff
8deb7e6b4e357906dea1b0a6d2f17c9f84af7b673d46df64c0688a9387c20214
5fb42c969426cf8067a82dbfa6212b1f63de647d4b06a853e833cf334abafd9b
63ce0f21a0c4d8532b4547017d857ee0be09ed23b9a4260b48ae97495fbf7c0f
e4a22504d0f3739921fe382b51ee7ad6d141893b3a5f27c30910dbdecd42d71e
c5f768268e359313c48616d56e8eaad8e5ab75d899d3661f60e16ace86100355
96874b6128d78fce53fd4bd8d7c7b133f6eddb3723d62f421f9e1efc7d5a99f2
273d8a2ee6e1406acc0ea12f00f214ea98576b77fcad1b2e9805c78a66f75105
6ae0fc1f52e770dd91f5e8b06950f84e6e5b04c0da8e00a28e1f73a8bfabad58
2e4daee517821080ff6259109711acad3947c85c439d1d8ef7658ec1374f4d85
7e7cdadefdced36588df4527a82517b2b45e046ebc916863d260de1e5b903dff
d06761ce823de900d0ed12c9eb174ab091e570e42e17f6481cbf9984794d7be3
64174c5289bb358ed5788a9da959ec6e315ba8f89aa41bcff144d598c342b7cb
3ffce3ab8c7a9d739c998105ad9a46c52677780471629a1050a80fddf88a2a02
622b35a28308041f27716476d314a93fef623b216631c50fe51e935fa55173ad
a93e66468593e466e6f4b3bb71d3ef299c38d3c34150f36852d62a43d77794cb
fb0d817b5141b143ba2fa52b20caa97896cc40e660cabb5bbf4720c1b05f2f7d
31df0c2c49ef1e75c7cc6a90a079278768ad9156e916d159ad369b145de95de0
ad7542ba40cec1e26bb10f7d4c178451aacca500edb8db067cd8e5b5c9457c4c
d5d061032326cc363e804b4c4059e955ee71aa6edf90a5486901cf7bda6a87f7
594dcaeefcc26da1c9811f5fe649b902a6f68ea909ccc9852be2bf1e42bede70
755bf199188b2d2c89dbdc17ee4e60e2c318a2f7b2c541c7ef827e92708ce18c
ed9bee6bb03b8ffbbace28fcdfee799f3d7ba7664a04ca3eaaa4d3611f31e354
4f8c1139795d68560ced14954a0c8d15672be15be3ee5de24b948f55b8123c90
570101d473fe5a6c055941114b631c55aba40f0c8f6dcc55a8b55285a9c10929
432a4623988ebd7514faba2edc345277f13ddd27e05bcbdc0d781af118360c20
9ad87d0f28a588607fc4a801a5c7c45d9c99e853a8d293a3c7c0fd7ec0904e2e
1cca4c4192ff27e5f1e2df1541cc33a0855904bfab598f4c5922aefc57cbcbcf
5a1ec72b5839f53a45602765d06443732a5ac2b3bb96fab56682f23d1a39f37b
5e41407f6f91196c2826f310a77cff3c6fe544fa0ec36e997ff86d14c9c221b4
2e3164a51f1986553c7e772d7b5cefe79fd969a6a3be702daf27ca9a17da3f48
135ae45e03631406adf201851c0ddfab28787034c68e02fa80897e9ddbcd8703
3ad8cc56c1afe4fd213333d1c3e996d366056a5503b27df0c6e183ade29f6dc8
3dba6b67ff695ed1feff859e17ac4e85d04bb64393e258de0fa142978a0fbac1
23f7ded9a4cdf81de62cc34c342eed8d12a8239a15bed5dc7d9828737bb1fc07
42a584285fd1a8dcfa8fe4c2b1bdba25b2e9ea199315be0cd1a96ca36e00bf43
ac7b7b980c50610c8553efdfea278fbb79cc12624cfad7bb36d6a3a4f4236668
6d1b9f20a8dae6e0848e050acbf62a1728d7c5bf00440ec71fd78e2738d4634b
3c1df6667af4189958dc48aeedc22237ceed9dc9eac71f5b5cf8093c84f896d2
4f932920d3a363152c641ffbeb27e4349cc3965815857a6b48454b73ad3ed064
5dae0038d58d0cf2e670f8a9ca580f313526c55790624c09b61fe820bda3c46e
5fa62f690e36d768802db73b5e59cd9abd6ce7207fbc6bf188214ecbc45df787
01a1afa3bae938bdd6df0dbb89d951911842d042ed51fcdbdfc9e7037a3c668c
cf3e64c796789565780fddbad90200d9041a1727a992cc4bacea0bbe91a54c0a
0b30b6d87d3f2d4309f5cc9846ee54921ea6287d91f11029b44cfa8de2ed24cd
73c0e95cc74a5f9a2f45a26701a1cc48381f091192b04c47645db41f4c2f311f
5bd69e5810ecd57714d2d8c705133f672c11a9a9bd403ad94ea5cc5a107aa1e5
0a323760587e88a50174d37166ded3bd10ff728138323b4b9dddccd21b0eae23
a64ffd7d089bb98c76d7bdefc0b75c88b48274bbe7be4b2c751a5ba8620e0da3
e0f2f4ce2e8ac632e5ed71311397d6015a87b97c864ca997d9e6286637f10e19
a75413fe0f6be0172e1f2c03808a221d6ecca3710c8db160435928edffad2b77
9ddbf7b7e7d4c9da92bcc4bc0d0fd702a634c73d52e7706a8137d95a08b82598
31648836b962bee93bf82bcee728a1d18b31b0a1fdbf1448341a8e1fad66670e
1ef7da49378c82535c4cbab20d6e670837cc677fcd9c5dd5fdf45f0faa8d9200
7b0e3caae7c345c04d5975c75558239624ef6c752f9bdd61c05171ace82f4287
052135857dadee3a81fb4d5f0beb98d24cc52d3d602260acd38b66314224ecbb
7e496cb707f15ea29a87621be083192319ed5005948e93397ad27a18fce246d2
ff430600e0e19ae47f946eb3af68c1d9307acfa347ca69144ad1fa79c1a451ba
2874c5fbd735c985b9ba7b49a60b306bf2cd1ac3e3cc80f03dc94e67a71b4fcb
0908a58ede4e156d83e96001b72bcd0addffa8e39d14cdfae7cfbb4def420ac2
0fe15c821276488625602ec43a0e21a8eae3d1e9a0402f858cee7a0900ef3d41"