void-packages/srcpkgs/firefox-i18n/template
2022-05-28 17:17:05 +00:00

238 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=100.0.2
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="3f6029cf0b660b625c3387741c3353692a63839e2526a294e429170e3cda099c
e2db5ad34b265b537a0b7e9a53fbe24bd6280dd07be3055234bd1e382c170d6d
42416a831801cacd4f9b239471a2e710af13a7aa44d562bd5ac4601780c0a62e
3e2b810e91cb0377619174b95e47d51c415f6df72bf3c6e1493c881c7d648dbf
7e08e93640d5a5855249a1eed44e507ee3a6035fac10d6a23ef65c854414aee7
d27df3b36622fb080531a9d7679a2225475dc7f8af7b1d24ae61378671920f1b
481a4df74aefd2fdd6d1b09740e40123aab9a88dee3254b58e70feeb75088621
c220bd6f1a9df731fddbc3d2e776ed2f52720a9b38fd5e9ec3b9bbb6f3baa4bb
d5a305df54a19700d5b8971473c05bc747cec83ef6ac8248a5bf374df21f5e9e
bb3ed5908e5968d2792e47392e09c06735438b06f09afbec04ee64836b5abebd
7830dfcb996d4f4cf4b437da087c3c44d6cd436af8e759bd3354837b11f0e353
272cb9e23ee7d6542037ee4b2f8b4a7acfd2a55daa5529707ef3999654cdc624
cd63154ad0a625dada597d08690036e4a1a7da3d2da21b648cec98c70d847a2d
9fb5656bbc2155fd26a56c5789769d28f6cd66b77ac3e83bff71738866ffe02f
43784be4486e3b65fb8eb68171b46114e8b176332790876378ce838295c1cdf9
ac002ba145f0cd2ed947427739fb82df19b4dd96549951c1301b49c102496754
6340544b103721da63e6e7f4ec2c2b16158a8409f003fdfef76195ad469e576d
56e2fb0055602afdf4a309c98bd55c7e0841389d95b8b1ba3584e3468447184b
9cb6c27fe782d66e6acaa13d70a062d5754318203206bc1d755c668e49523edb
8d6818886091e440312de51fb726bc5d4c160c11d6a634fbbbf86e8f0a57c5a9
3e241b7002f96dd56785ac664a0fe7adc3a6133f39d3fde465ab9ea4a5e02d3e
e495da0326ca2e75de8da9d4e8af0473735cedf7dbe3e9fd521662bb3a09dad2
c6db6878c91789a3d67650f23e8eebaf6f8397a5252b13554f8619ad9de9ede7
83e8a9f210ccd0f61fcbc1f29a714b5043aece11aa09864e47170af9527c4492
e5a338aa1378a512d9a35827326d0c0e87d5398440c2a6ee3874ad918ab47619
636f364fffd9a6a49e0b601ab940450b5fd3ad28bd6e991b350bb80e91ee412d
cf720d2633ce56c7096d2aa846cf361ac4581c59b286ae500755bd7873559bf4
ea707141f32d7189497dde3236b35a42ba9bd480b748a7f17ecd1f467d9189a7
13390d6f422e4cb53c2864cb354ca49ddacdd9851ef619749222c0ac89fab90d
ceb876460e76a42db339e5400ac907f2c747c90b32ce7ed1e2faa7c7c5f32d7f
bc8beb474b9fee143b4e25a973c624de6526492de167de1cc96e87d0de247b55
862f5870b12bf9e2ada9a23c05664db10f2c09a3c660ba59ac66d48e953da458
c937a56912396c94e95ba9c2b598ba0e01ea21730ad702a4685e56ea787e3dde
deda7dfc3a5e44ffb16acb0ce373607a9c50a15eb7939326acdc4c699ba2d6f9
0d58136b99d0eb09150b5e954b809984eff06ab83da0f03638815fd5221ca08a
b7f99692f12d0bdd599b5ddfc4645c89a51b3548d9c5b37ab0806f21917f3892
71bdefd657d73bb6a39745bd5c50c22463b9c5c2031704293fc21b8090a63461
ae5bacf29cec6cc7980075936345b002258d263973b18c68496c8a184e78e417
4449c7b239857db46ff607221821622938c8ef286c940fd9e02c6cf74eb8fd44
d4e5c4ee54a6800186cc0c2f4d96e783635a08daf7d04dcb30a3547032cb17fa
39abcdc1f4605c23146f9e0a1d786e7c73ce229f4eb1da836e9b938060384d8d
aaa014c5623234bca1d8532eef5fba0b775c076d5c6ad458e6ca827e7a175c0c
082540907c8df44d537e1ae33ca3e51ee0d4dce41f571daa61635321c6c72272
f54a06994b8d3d08e8b3afc113d6fa07acd11e44c58b973c3cfb3936c855e2be
1e64b6beb16c1ff42edf5331bbfe7efad49d5c47793885a56ca32f0c09799fc2
f38b08c5c5acd33ae7f837dd1bdc14fef2953cddebfa3fe66bc2c05792b53787
d36a6b34111d6e665794adb3f57b208403af9e8206ada5839d50e7f69ab1e03d
410838417be0d102613da766df842d10aad170fefd9bc10fe635215488e639e0
e281936e8a6154a447a48553f047f2de76c9252c92292797b3c3cca33e076b69
7cd4f2bf51ef068696673362a74a63d5d4f61a7db6f0f3589e736f77f56e36b5
a004c00c7f0151a79b237aa2a9b42653c92105c8459e3e0779a31851723c54f1
df37535cc217371468c3808614f85173edcd23384b3caa6b4ca45dc382cf1287
d101e0d822568a7fd580a51cf2bd8f744f7f1b3a1830bda77375241eb45bf022
8b38ce8812317367de06a5e1fbdc117c9b5a06f9cdfd65beec2222f682c395aa
a9f02478619e6f77872a81863769a3e2f131706c14b1b87dc58d7cb44f0be2a0
7af95f38d79abdae332ba9c5bdaddf170943d8f711b4c8f0f6578d93c64f00cd
abe027435dc1b106f6bf5f85e9b0ae053203e9e2dd62f12da40dcb8bdd01b4e2
3ff18577fc469619e750e0a996cf4af9f8d3fdd5918c56f766c97ac852e653cb
d85036cdd5bcfe84e2a37fa77011c685d5a2df9d13197d7fc5bcb9954919d2d7
74b2b17e5fd3e82107cd04d71a937cde7b66f4c4361ba4862d647eabff674f38
0a10d1d4ae0596649a4f7d41ed8a5464d994b8aeddf2fc5fabc63554a1e41662
ea8f056763dc3c5ccaef0043e4d36a63d8c02f8575a803533e62a13d1fbdb726
a57c8bbc0f8a955f3e715116504d170baf5e605679e988b6857d239b09592f1c
c73719f6e3ac8332f7b9c432cf72dd4c7db11e33b9a080fe3475560edc54419d
ebbcda7a80659852b72583e24de324205d8845dd6981f7d6b31369bb632f5d86
aafc83e141db7711f8d274ddda3091a4009081ad1cca1528efde6bbec1e332a3
80a87009231be8980c1c52ae2f13a5d45a1e02984d42dd7834f366bbd15fec48
e7b9dbd7678a2e2edcc9af4a906dea30535227dac0d8b40aa19259d2a98bf2b6
085e08080a4714c3c2741f7881fac4fd558b04ca6bda9151e6aca65118a6aeb5
8823095d51731de9e902f35fcb22e27445b610284c5226c8890ec6df29152f8d
cf6b6cf4a6cd0f999d595b38ffc07016ae38105b63233b0f292afe131336ba60
bafb14ec84c3acdfadbddce1402008663e1a61d76c3233fb590a410d03fed4dd
a5ccec37b4b0741fd6124c45c5323b0322e05b2940fae3ff2e4eb9fc57caf39a
b705d00d238d9be77aa5b21c28ba37ed83a177c76c1dcdf26da6a0f447193c57
697610770d3495ebf3c31499591c5e8090988338cc81ba32b87d981e4d6eb0a6
439406b33008e0539eabd378dd1a346acd9e391b8bc65b318527df1dc02ee42f
caf846f918eae48b51550483aa11d09b8431721d72d1402e42e0730f7fb5e2b9
00f7b7303469fd3609f837a37e0ec43ad71500a4c0d4bb43012925f9e70b4394
439d1c5018aa674e1625f7e4d23b6c625c14bac27cc52bddb9d6912f05fe179c
b5c5cdc1d83e44f3706b2ddfb4fb7e403b7f8f3e520e36dc8014df9784d9b57d
fc85c7fefb5c40caba17eb623b0c3ebabb7efadd7cf91f5b42e3c69d1d69b3ac
6b6fe521d115eade60f0d579ee3a9c772fcf0ab6d27f21048167fd1fa3eb74a9
10e6b5b5aa9b9fa89fec663b8d5235b465afa1f93079e6d10ce28baeaefc36a6
d2371ce2bc01b0e8b03f502b69306b80d1db5b7b0b901cad0013038611c4a973
22d8fc12ab74a388b7b1366a136c4c45f9b3ff04b8f6c896cb84de7bd2eeeb88
360a4ec971809981e8c39db3ed17009b107ab3384989507654810aad55deec1c
2a693d753272fc216c3c1587a899e5b2e4ad1110f20f21d843637b2d3a51324f
d5d215ad070767982586a8511f7be467df5edc6490bc498c7062abb589592b6b
b7672e0b2c1813bb36ffc63a6b07a9bdddf2e6a406ef15bc6fd27239ba5a4001
46eb96a472fd26374d77d1338ae5f1a575b467e437715e0248076bbce38e364e
d77d233040124a9d3dab3c8cfd772708cc8420baefcab84a8994829f41e61be8
3e51d5c464f1c7734c70d436a759839f821bfb68fa6c8888f35a009269628554
59d5a1662c16ce6a9a79ccc95745a635621a1ba03aec17d649df96d71458f4e6
6db7732be6ba7ed688859c084b9cae9db94f84f64032fe0fd177d46ff7b968d7
64934b06cf6d2bca9344b37f224753ef527a6af1d784ae4e120e55ec662b6ce8
446a26e32dff3c1768a0de01f3c01f9d160dcb768526d6acb73294ad99d03937"