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

239 lines
9.3 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=128.1.0
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"'
'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"'
'skr "Saraiki"'
'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)"'
)
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="acb35cf817466b561d1d12b7b697713db68e12b8caec2bf210bb4896088cd3b1
f18259914694c89422dd36e8d67a6040bb632d831148256e3ac19737201185bc
04d40b8394963c2ee07a220bd4384c34c3545a4994c3881f74bc64eeae13c194
4bd1562e205b6598263b01857d804b1c572396d5afc8e4324f4756343b383695
483c5e3a63959f9c466b6d9c13cceafe876df85607969b931ff3ce72374d7b83
13dfea2d42ce97af611c72ce4e0bbbeeab6770bb42d0477a7056017ee97d606e
5d1ee6f61d0dfdf26e941954dfd785b25199cc20cd91de81f4b4a27d6365470b
26dea85ca0280baf0ac25e0c6492cd9a44b5cbd568d4d6ce23404474df27d326
dcdb88b784ee5c4cd016f0fd762fc8df8b354e50ee995d764144e0d363a4347c
fa911c3beb074e7527f93bb257a642023a1d83082027dfb2faa5458b05cf46e5
8ed2a5dde855585989d5eca73ec7977457501cfee8048823ce80715b616e1bda
7bbd581a67ecf4ebdca8967dc0674bb44d9b868a30f61e4b6cb9e7938af26dcd
32d0db970c92b56588886c804d41cfafb833ec604cb6fc5cbe0c836d1eac4983
570401618992325f6b521ef117c6967d065a9e98bf2e755c75f0324ef5418f49
6be9e77f341efc3d0d71a5cc8872190060bd2262f7ec09f40ea6c86fd15b5074
509b9238d893c996e11fcb8c268c05289727239783b86071da315912ff89a7dd
b15118140f114ec1ffc6d82c276d4dd1a1445ae755917230774040f1a1480465
7afa4cd01551d4506ba7e9c12e1cd55d19efdff58abb59f6ec19f7df4fb3dfad
ad6a05613eaafa7162b76bcfdfdd1f251cf8934c2f7e8f5ddab1dc9f8a856a1d
07a397022da34a456fda7c32bede3edf5bdf5077fa016833fbdb266d4e8667d7
dce15e23cfe84a291effd9a6f4327d4a57c8cf1d9edbf780240db8969182b30a
53858d1943924e23c404b4ef80618180d6a2d8d748f3f6fe04c8a3b670ef93ba
c8d56b5031fcb8cec962aeaa2c07f2d03f6b58487436efcc334d129bc9b28be8
c66e2a41d65297dfbf8bd7e3ecf2cd2c85c21459f83f718656fedd4398b97ea3
0f377aa9f9c926d78a37358132466811a02f3e791d8bfb588b8fe5156f03aafd
203af463a62e6026a1425c40d7d46392412aedb9cca568418db5dddebe9baeea
fc0c13af23c9ef109cd273724216f874e730829cf29ff86dabceff858dce9449
987856fb6bc61abdd62cf225049e70560c966e647b1d8574a673113053c52412
51b8a331b074eedc769ac9673c4b79ee34da664f1bd3e1c8c9b650a453e6af6f
7e79ccbeb9de530e080bc52efd46e5ade4db47dead39ea54a41395f4783413bc
c664dc3a49772f87fa7080aed98d8a96278814ce2a34e67fe342464c87efdc03
aaaaa648d44b133ccf73a2805e96f875169f06ac838ffdaf179e803c0a1fefff
64a47c5a34c20a19ea94eecb558bf1dc80b8b435f6db3b8d82438a0069786c26
fe2ba444f29262a7b9872c9396e19097a5180c66a930eeaa91e76deb63ee3204
844cadd4950e4d502ff62ec2fdde2196ab5578265a41a463a767561bae60e79f
b79f56f443c9b53284ee0f71e339594357a149978e51573aa4afc1db0ae20f8a
7b33b12544dad0ede7fa214366ea135b30fbcc9f274cecf35fbb4f4c4e2e9e03
59a40e9a9b10eeef2ba2e360b0d085aa98674ed807c17cbef73c3b9e3633d6c0
1f46f19115a9f2e11367a10a6b47ecee1a3485d9e6eab634837eb516dddd1d04
84d3990ba2427cdb03b977dcc31dee0de525d5c28d4758c4711991d47460ac8a
cf57743d39aafd319763d9d224d2ddcd39ecc8aa1ee94981cd7a7d669da7a241
cf09e13b1a89329f7f6ca0bd65f762dda9e804f186d02e52bb15354f9bcf2d02
a48f97e3002e6ffc7eeec13fbeeb868b8eb9fbde0592f29a03ce22a44a0baefd
9c470b463ba3cc2e7c988262e23c136908d1ae6438f2e40d723457635dd6bba5
c7dfa220bad8bff8df45dc0bd5384bdf5e12be303a4942282bb67202e3cd7e3f
06d8374827a85082d2e26d44715e65990f568a89dea36057dd53950685571391
6449b1290681a802ad2daa46e03c7b7654cecc62bc5ca54b4b370d39a0848220
806712e8cc60723bb0b710e7e55ea3c45248b3ec1756b10ece1f5335f3d64eb4
7cfe6bf2422c19381efb1452e0d5647a09f61b81e3473faa778604eb9278183f
c2ba0242f753ee4f432908b84be50df891dd495e9ce5fb4fd58dd4e49ac444d3
8893800f3ac5616d8b2408f3383073ac330e6ebba1786fb06c2a098f52e89685
0b0e35d7083c4d578ddc97cd3067d243d142b72a199d0925096a797d10184620
5f5a4c7fab8513919d5a3c4d9277db1bcb5a27be0ef6ef6f0f5e646c78e3726c
828c6ae9a77c5191e2ca1e45c109d8d502acebbb1ef286530a9337ddc1d59dec
fc06640c380a02f38a67d6d47a2ad8c113bf4a334fbdf6effd341f3e024ed3d1
8c6d2b9b798f82b010c580e717f8fd86a71e168d3383f3d4cdc03eb11bba84a0
781ae66df24287ac1b7ebadec2dc0215b5ca8d6a949434ee6686c8ea781deaba
a1c92b21e984feeb563e32caaabcd560dc8faf247cf55fd6d6c3a386f0f09a5c
a273e5b5b87f620199c7699cc63543ca8eb8f6f3416acabc07b728fa32ff50a5
496ef1e290f16bdaa65d86621f23747ef4dfe766726264a3caa02f8f5d62684d
6365370617d0bcb15abc3c861da5838e7195b982424a241f3a26f5b13e34aab1
b5ad32bc66dd3ed32b096e7d9048cc1c0fe888d2e9210c44360eb02771f02460
cc8852d71daf570437df0eb6a3b1a5b920dc94cbc6c04168a40100fef2ac968c
4705a1710ce69f08e0d1e18445ed8cbac816ed9deecc3b0b005ae874e9094a78
7fd0e015f2d2d518f708efce391303797662d937fabec46fc3357b4a67812598
e5270996809e9225bb6c2be19d50eeaaf618180ba96599a9141191e8aac18e48
b94b56e2e5b7b3a62e1d73f44eaa7e601b42bb5cb13f7444e1e906c0632c79fb
78bab98aec1de184bc545702fae4cb17277cb0b6c7dd2fbdc7cd706c674609b1
e60d636f69ae2cded48414c1e8474c29d34a9fea1588edf2b93d5cea2cb2e202
0df2683f19033733b244c66c80b1a958e57539fee2045f6a91cd1c5c57ab90ed
44ff4fd0e9380221a4ae4df0e9fcbebc0d50810818452464d3e366a961a9d028
9a69b3f58e209ef08ae972a5940738933d484676e873c7a48142955ec32e2a8c
2b50309cc03355a7defc843c16a2276d3b369bdc57fc1088e6169d5b4b1d7c3a
10b3a1177463590e14942eebd730d7d2334d18fc31b4b73906a0368108d7724a
ff7a7f07380f4bdb0afe898797ae1b8b9e9b4d537b10968d426a2919ae521b51
9d086c6b4dd275233399fbc6465b335feed6ccc7f13eb2055e7cbf498c04343d
ed1426c41363d0705e9cf2c7d69fdfe28025215ecbb200249e83ed09f8620bc3
c25c30b7af26b01bc53c53687611f1c1d8f389b30f6355cd1e5de27b7de69f42
f09b81618d35df39722cc5bf96815185e961b2c7079e85a4dd1e34daa2c4e80c
8d170bfdb333d565f1ffd50d2d6a63d4351cd5e0ff2065344b3c00244ea6621f
9910c445f291e5faa302747df6de807ac5ac5ed9f41afb96e184216e5c1099ee
bcefaeb7d2fba44a77fa988183cb9ec1d46c2ebbf5ebac7207960ed085c71d95
f067a3e37b31500b85b2ad9d1932d39e931a6cd3e7788bf167b1322c566dfe5e
ae436532ca32fd10a6154cc684c67e15603bd26a024b9ae9b49214b740b16990
f2647c7e770b6412d832810ec8a780d3ad1079a235ab642a594f6570f5985456
6a373e2d27083ec9de17af21d4cb8264d7d4db7e39a5733c9b8b30844fdabbdc
c744a6fddc867260dce11edda16f9cace121b9145209cf7987e64fe581901ca6
62794e9ff47ca165fda8d1fe0502f401bcf723318b4d6091faf96453d5a1b1d5
d0b107c2cd066ba39e5c7e83284878654cc6066ea1f3f304d273cb1d52655ae4
7f0e352a71681cb1265252d7c882b3421c29ebbef5c63f9fd48f7ed69f3f7a24
64ec282623d6c4c9cbcedf101f131900dbc88b218cd5a9149234e68259432d76
5ccaec85d0c7477826bd2e5aa5ae33c5e291975f4edced04601fed52a9f22070
d84d2c76c0140dfe44777c3c6b6a03a8711ce6b116645728ac42669a274bda15
e046a34b761e3c97c4badafa3174b2861ca95113985666257bd3e34d2fc3ff65
e596ebc355acbdff433aae91540db0b05dd5a598311c7f49ef10e7a1a6679cd1
a355d337d30030b0dd9a4d8b4e084712dc8691057f52cd55e3e9016c1a9df833
17294fb4c62d8dc6954f6508064b2ccd3f6c69fb9f5f6f3194f4bf16281439a4"