void-packages/srcpkgs/firefox-i18n/template

226 lines
8.6 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=53.0.3
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'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"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'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>=${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}"
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="
e6a116ee56fda449cdd67585161147cb77dd739667131576d95c0aee94e5ad3a
1d0084d8373617e25738a7b3462935369a039d56f82f64527ff0415c3db9e3e7
b0740572e813b2ba281c190c50e8617dbce274ae16607cdb2f06f42a6c1e49af
561d8baac858b8b54d34fec81781645a1faf4b75923095380ce3eede566ee4bb
fc4f5bfc64ab7bcc0776317ed1a52d5f0c6d612f945bf8ae436a797f745a286b
cc31c6282534e067e6b09491bd8ce86e84b4c46d5c217a1931f029d9e746ff30
9f55b5cb611c95672e90188ba63a1dfcdeec3c7998688821feb0ac7ef435320a
6ae5117b4636b74e6aea42271d109a1f295e3c5f2a1c13d935cccfd8e793df25
bbe8e57e339423e88aef9fab8fd186ab3ccdf5bb3ba3828aec4b53db24feace7
1bd46b57948be279d93b82f253d749e79919654374998ca814258bb8ecdf36bc
231a3bc39f30ca1990deccf7da656958755d2639a97e89396eabd19ffb91d444
cf14dd3a7cbae9d247ba8ae43bd8449a758266d768315ac27ecaf790a7775a24
96c7f00088e2c758071d95c79ec474b9d56ef34c7d11c83b62e069e6d0e15d5e
232ca5ce0105c67baed0ae7695d879621830595131ee5cd245149917bbc72c2b
fa3281d69c9f2dac9eda8e96157f2b191641852562fb713dd104c94412112e7f
632866f99885ac791216307f403faffdd36782b59ec4d71e5b80239a3f78782b
85c1b80c5a0d4f0b0b991963ddff203624486fbfe51c5012ce656f201449fd1d
4c8a3bfd1c4fb2975d5a8510a0bf1f15eb1d0bedb583aae05254954ae81c65cc
fa0e95bb08506b4978bf57829ab12b030ba995fd49fc6ce6800bad20c1de2b6e
a647e41baafbf943051c6632092074f6c753c303698aabfba075ef7e131c5ac7
f1d6a52496f690a5588f7e7ed6e494ba8dbae32fb11a51a27885d442058fd5dc
193c492ac1473bc3c776d6eb36672eaaa10846882d71222d5bb0ae93eeaec72b
06fbcdacf39b7230c6ae7f97a6b11d61c649f0db5a48539cf7ac8da194bcfe86
8d65c14c9946b82f3de6f06ddce3ffca2b8eccf6f8c114c77de5f37fe090c851
1cef38483eab7bad50f814e854fd78b3aae5e94a4fdf886610d0a874c8a3c5c3
68f738ae30690751e37d290ff4dc45d6464e659c3c24dd95077e44d5e70af42f
4b47102f9fc36e651d7501d94e36da372e7e71fd89eed8c13b0b39c64e645a04
31992fc3284854d2ecd15c8c05ece2e6912ce8db48a41cab13249604fd0033d9
c3d9c9f96826712ef327ba273e43bb628e6f1cfb751ff12719d1be659e3c8c7f
81481d249ac98833e51b0d847f8fb4091dac80b1ca613303f0067d3b0ae9b677
88f5a080963cc08d56812683636e8b939c649028822a6c6ff1a2acf7d15254fd
4d335479465769e31ab9d315d1be373da2306b78370a2ca61929f1dce746cd1b
62970f8b0bde16afdb29067887c74ed00bc74d317621335683243a780d30d29d
f593570f85f3aed79f99038f93447e41a28f025c5233d75a0b8ca232fcdeec3a
dc0e43045727efa78a152ac0398196540cc17e1bd7c450c43a71484131f82701
04e1a50f8030162244523f92d9cf0ba7a195ba742d292c64b78c88fc983b7584
0d1890182a95cd2adcba8ed965e0553821d6a9597f577a1197bdcedd855aaad1
acf0716f7f771d73cb21055428128d9498d633fda7763c3db9d427e8ba6e4243
a115f95820f4d653053fec02b1c1400ab957a819722d5a29951aa1407c2024f1
a62119d72e4f8e4b3f00a429ac0028fe6ca53f1294ae2089415ef2050c7f87a6
263d142979b67853d37f60ab29f984b8e14a0609a6dd85da927383d9301e5499
2a450c9aaf941ba8f9c0ec12354529f3dfb47d9de66685066634fd2e5359cfea
e931cbf3ace412f860dcc7e0b14d862459f0c54e6f8abffa83825645910f11e7
9663469370dc0a6ed450bf4061f0bd491e7766740aafbbc79057534ac319967e
fc28470f937ab701a6262425a01e725d1c12e9fd5045750019608f00434ba93b
eec34716ad97a2fe2a1a8449c4f450aef326c2d13b75ec571dacfedae918ee5d
25df7f7d38327e8ff8388d9588ebf29423723f76f99b890db8d41c0d6dc6655d
d929734bc994f3b20f7c8cbd4e25d98d9081afd63af81e6fd5318688e6b57eac
4f8a8855b2680e8bc2323727d3a2d7aab0cdd9f718b1cfd3586f6b93430f88cf
fd7aa5fa31bf8160ae1bba834bdf43129c14978cacc775d3625bc42555844f2e
085d618e649720ab7a8649f4b5ad0e576aa5dbefee4ae0f23480f19b8dc48ca2
d2c3dcede1bd71d85877b8f9b4b6e300275baa9e9f266d65066ed49ffd970fe1
fad69dedf7db8d0ba39209dbb4a6e759c60e541c253101ec67b288cb2fed9ceb
7f0b62d524629a037505f8deb1e400c3da5fccf78c0de975655f973e79231285
54454c19503de03176a98e7a9c1bae14bdc40886bb730b7f26e7b0d38d92a971
1861bc9a195ea3b0319a8c1b8b664fe1e4b5e007ebdfa4f7d1784631da2f8c0f
c00e2a8254107817c1f2d27947bc91755629fa734035099693c04a7ff9065d90
25665e8c4a73180dca5c6b271c4d89b8a800261b019ff2728a61954af10f5de4
78868c7546daa620f186c72c84f51d1ff30fb007e3b3dba4dfc194c109525682
857d6e655c21deef2c0b1010d911c420175e914ec2793239e27b849939f388e2
56367d182c2815d059c41bbac11825a0b7c72b9b30a5adb57863c42a97fb6624
4ceb5646daa509065fa5de098600d4b60160052240772d33cef78f8b6a34e697
b812e5b4f681d38dd6ea9a707ce5297e79f25d7216f4436ec22ec580f0880b6e
abd34f2c16841f9a6159b4f6de967ea19f1920b941f89802ab8c34347a073932
e42e3197753f83bbda085fad8f7b1582ccc0af48a9b4189f8987d8314ddc7e38
7bdc757b4d74430d0821e6e3cfe6ae252655fa7c1f82478a1140b32d794f5f60
a6a94c7bf40c3d50112284c704bec10db14997913d5696b700b78b7e5c7bbc01
d7091eb558474f63d12ac1e182d397c708264f0465444d5bbe06340461409621
34297b6aff54b29803c2c534fc31405cbc5a34a0ebaa1e2bd5be01674dec0355
b7fd92c3e4bb7425457d1de0a4d0944766635bb984e6d31104704160e465c3d1
02c74fc48145cc3b40d06c94210313b7f24975b45bab9aa877b392bf932713bc
9d0dc4348d0290b5308cfb3dc2e15583188ed457e5ea3e82e08974eac998519e
51d9943f124ca27928bd2812873b234715b038f2b1cd89cbc1faf9daee0dd0c8
9b20181adeaf5e8a81f0014612d280b80d2d43b9c3da28b45fa2d94c5c16d3d6
3d394c7bcc143c59fb9bebc8309f8ddd4c13ca35fd44400957729b9146b99879
3f328c63bb70243cc2e74a6a4403f8755354c7b85f6ae87a74853de037a69a26
beffa4c7fc7387a04fef9d96ad1cba47c4a4545e6f25d2826c96b11d1dbd8d36
e7ba6289dd07bc11df9481bcb6dcf9159a84f163efec5ae92d25a294ef1f6cde
5fa121ca8cf3c8eab17332c9f43bd94414190ccd2827fe51b68946ed04856e77
71949c2ebf794037b8bf4bd2452a8aaa72f603012fec0a921aead50eae2ef27a
391a6d7622d216673e5f2cf6391724ceecb257aac6089ab290dab510bb5ff92a
a80e1c178f1d27f2a551665faaab48445fab20238212ae5c0dce9b9cacc1247b
6357bdc635568f52b9c03b8785b4cf86b656fae69d2393ea7b53fc87360803c5
12e9663e2a591de9b4eba5d689f25ff98e2db45781ada5877d8d21f093800eae
966d51bd93cf4b53721357770fca2c4bbe064a067bc044b1ba0e269213b442a5
90d44b439af4204fb022e99e045540268d8ac078470e7a7d756671161d79d5db
cc67e32dc6aa0f36827e4a9f156b8476950cc876bbbd9668e7f928dc7c90aa9b
fceffdd06821fc224e5a7118e54f4ac14d73b175784f654646791878899ea385
befcbbe52e769631c3792555e4e579684762c719696fb4c0e0d48a98e4a5d599
32e697c5f5188085fc1bf08216ca8d562cd2c286ece23e61d9a6359ff6e78061
"