void-packages/srcpkgs/firefox-i18n/template

241 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=132.0
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"'
'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)"'
)
# 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="195da335a6f6f8473cdeaec807ec1b2c2cf549f241b01f30a828b8271ff15564
38a33738216da3bd3ba0d82f8f8c0880ee0e8d5dd39e6e65c0e8cb17ce6d2dc3
6c57857c6e4a972070d5644ea22ee232d6c289313b5c8a6a9ccbdfb3f18c063c
bd4631147eb89f0c01f786d86ba0ed7250b0616ba6c1d993bab492b22800c20c
9a5ed10edb3f5d4cba487443529575714a783aefce718ba4131010cdd11c3047
7dfd2f47e9506eb4c636e3153d64ec774b81502a1a23355101d10124cc44c912
362e76f323170da7b956cc6fc23f9f74a0e4ae10290990c8e8c1023c7e4cf72f
0ea3ffde9ef7e2967f576f807c48ed42d2fb6126a4be7913ff5d3bb819bdb1c5
3483285f725a24c9b19356194982149b38edbcee28e0b959329dac7fd628a526
5baa9d520735e4def403bbc5765b92e128d697fc3535d4d3c40c4ec12f369dbf
26a715ce7f68fc68322a98fffce71a3ac6fe08e891b08589ebab63397313ad71
3beb903f604e0620421971d21adb9532ed79117b6466b01940a8a942b09e79dd
5c9b5b23a979647ac912f532419405777488d64efea64137a3f22a28a26b2f53
66a2dbc7cfcfff00e437f9cdb38ddcc4569e4372d5c2faa37691519e4dfd02c4
4a7f7709189f47861b0a508046f89707157b98278a66abc2389afdfa7998d68b
97287bfdb27f865f917b93daa62425f57e44df14c30df865abee42e75895e78a
394b837a3fec05cedd13be23091a1d125d4fc5e33fe50173975dae7720007f97
455ac5dfeba7a456b61cc8e7a2c1eabf7bdefde88583157bd45654760e15be00
ec26c66fc7bcfa21e52b8907e7d502cd74fbc561427ee6d1598dffd2dfe34f6f
16dac63ac15202fed0a352e0987ef33cde6c1dc464ded6e5469939f7bce46360
661747d2bbd2f1329a510df9aff8f41351a0a883fc7f7dd27175a2d08735b840
0beb63a999988531e789785243baa1cfbb003610e26187e06de37fa19c424a5b
4c18aef6a040012dfffa739ee915fb83ee64f2ecd60170c4d3c09cde9efda84d
6189a9671a253a55fd2eb1ba4d0cc380aea9167174b110fde0158f824f19188a
b215c85572ccc9a8a71c42658d181cb292226ef5b151b97364273c430ae65e99
c57155d11574d941e4d919155d632898095641df853beb0337760b056fd7b852
61491d0e3ce9e6920dfa790f6ae87c0cdbea326f83057f692e7f599ed3fd4bdb
e7a5774a22d5c8b0f59a16211c2ed8d588f47fd9bb6e33d17489e1aa3a65340d
1acdccda6a81094dbb87a9f10e7a8a38c391db52749b8e95a625f5dc1d93fef9
1ef9aead340314401dc11514befcc88474e0e4ad353cf827e08cf1c6a1a9efbf
7f1bd4edfc19bfd152a89c91e806ed3b1f1fd4af8bb9f94e5474549f90165787
3cf98e3b9950030048e9fa2886fb5bf10af0f0613d303a8e679dc2df9e01453f
f1abfcf595334cfaa0638478d3d714ce1037d4068c1e67dec9786d7eca6bec6e
023e262b7d4a62a6ecd5bcfded0eb8635b2edfda37dba73a7752669fdd02d2e4
b39b8806cf09a2b86ef7682f1c59ebceed7c6a2209d1e09ce9233f2d13d27025
79d8cf638ac93f8a2bf6b942618671670a031a58b2f55bfe97c28b03645ef236
75fd3561792b11933d17af1ce3f6d38496c1850f8b97516d121dac6b4c9158a1
613cd440ab31500df12232b0c932d8d700efedf7dab989c573599d26c806a3e0
a36f19674115463038867058cbc899f6c903ee57366e9a0ab2707ae85517d62d
70d93ca45cff40bf553686704cae87a46ae421b0f183d93964f16c9807506f3e
2f40b734cf33176d5c526c31160a614cefdec645afa266f124e5cb4b9c315259
a38bc51e583e606e22a3c68b3bd200d97e63e6e2266a6346155a44d747596738
39c7a566401d0b5bdc3cfa7f759386c5fd4534f7ed952b46a857e4269b2d6cea
c3d43a4d082146dbbdb418320813c1562edbc3269183ceeca23a01903e04f83f
69008cbf47ca9b95d79f88f0dde6c7fc18e8bff650677cbc06dc020b22c13788
d98700ad9661ddc0aa618bb7e18c634b1afe1c326013b7518202ada95f64c152
5b599bc3c664e96caaa3fbaff543a6f464648ec7367954904da0155dcf709378
3c332696bc700a9fd6b90ff6b5062459b3d64edb06ac912aa598142dd3b5a7ef
d451d68f66cd6f5ae6a46d5211305760bab505488906a615e433848023f0ee1c
31707dcd3bac6f567f79f920d27ee48efe30552c8983fa4222673febb326e797
ab0f43f8dd844fd85cd055d4dee2c89ea9432ec24473af986ecd2512b08d2721
1612a96ff7e2002bde67427ee673e4dc0da420396626a78d981cc6b64d7aa665
28375fc67fb133322c8aa95142fec3dc846b44e20170d37923091b33f1a10fb9
a65c4be8c5164c8f6c505589a94870726455909fd6268f55b98659b2aba55ec0
942cb22d1872923c4b8e5206d572deebacb686c9e9360234c828dd51aadcaf72
0a8a03ad6f86f1db6699bce343a06f02f2540490143b0413c0d2297106106a1a
7cffb14f70c12da80e348ffc76ec191d4b2e67854b24f5742a8ab1f827171a85
d6eb3834afdd27d790c6ab741200495e7aa325cf8d77d291c513981fa423c828
c45811361281b8e6706579d1d8aa3b380e472c7117f99343ef5c2d598f0c15cb
27831f859a971c85c03e51b4da7fef1d8d65959ffc5bb546e1cbae6a325a2944
dd6e5a12792ef4f4d26e27e60d1250e41c407a70eb9a388beb17c60ed74765b8
3ac83a0d01a5557fbc078be66ed98332b02846d6ad929e020677eb0ec73fc1d2
4ccdcb85688bcd2979bc37c7d2bc29ddb57cda868e354846d6d1aa60ebef3a8c
0d9b6f102e371bb476ad233c0d4927ef34134a866f2e74f11d9d900ad55ed3d8
15bbed901189f87aef46f18830e2f4b150c6267dba2782fcc690d19c69fcbf00
f028cbcbf52deed2704c19115d5cd6f8e0690ebb191dfe2e37a78726377c0fd5
09f42d48525181b5e29715f0aafb3e9ab261843791ff1cda0a810d5569754df4
211a5c5b69e4cfb7f4b1a2a6015a897426d8e64821c08625835a631fa5231b9a
1df766693c5a2f37d19338aff5074a7239fa07ebfcf6a615da3498390791bd26
465a1b93ee9a6b2d7457667d7b719319ce33c9d9623104ff946509389d9285cd
67ea02d25462280e5396841ea9983040cfc251c0f54bdbf34898ea054810fda8
c2a2fa4d8c440c56816961e36ed5c990bdd2aa4f2d870c574f4be7d54272f46e
69f96041d818ee1d737349a69ad069f16793700f39c376f3bf256b4dcde3001b
4dfde35b72365a0aeb6641c8306ee864c249eaa8f5d273c9654cbd98dc5636da
6c0da664a3e43581231e32be4013315afacb2cbd3126d5d2d499c00b7a5adcdc
6d8dae091a1cf15ffaf7067b08c74b9e962ad7dca6981449ed74270782f0bd0b
24892012367bb1b694e7d33503a117a233d64f4db8bf5421386df130341c4833
07159e9a5c87cf212a6e24efdbda75efe102b61e0f099047394da576bc28a95e
f4f924c119e40b8f3463f92149afb6ab1e1264e24b415b37a9c2452a5daf2724
028cb7bf4d05409b9eda58538237965ec2489e31fe22d6d012d44b0ebb00632d
ad87b3cf5cfca4edee1e6ba695538282a11271c7a9e84ada1cc5e1f8e741d183
92d11da5ef5de1cf7aa3a471f36ce63c85278580584f9e7f12f35c8a6a05fa61
f4551f336e6ea271b87f2de7c328ad0dd68a658c0ffc93a5c16d598dc2fd929e
94ed283f464a36b6e3652847cbe44da8d491d706bdf808298aa3c35eeb98dd1a
7ec63cdb37af0123ebcbd08ba6ec5b33435c556576c1651d94d22b5d7b96b9c6
f3fbfe9df6f6a1794ffc9ad0fc906a22c96e9e0e4d21ec18c48fb3963d636899
101b697f71c6852a32b172fd58a0fa447a73c75099bfd61a32d1c5a6d6703086
eac145ada3e2c63e7de217662c93cd14af5db5fff9db4eb9cb624b02f98c0681
3f111a4ea6d3795b80d80c5dbe04e5af188af71ffd96d230d270e9bd53e37d12
d60edaf1440418911ffd26ba02c2abb152860aaeb11b56d62ba07a783ba2105a
9c544f08ce8d7c730611b6cace1ee22721f737e19f3f426d2d5437d4c427b161
f511482d0df00654efd0090facf3c720b4c3884282c7d3cc8b9cc8d679cc2bd2
cc9f2aef0c2d1019982ebcb0f61fae815b0a512c724f3092351aaee32cf77b62
e8bc969291049d1e92df406904b6a799eb731a100e158a109c3491c68bf7da8a
d2c56214bfa356985701d78f3ad3c41b993ab18a4da85f07cdaa4c5e2abb0ca9
4a0c3c67d8a62d7c83cadec06abf5b1fef8c9d578a4c3ce2ee1bafbfd85a400e
1e4d2f30f7e52e5432c0d6bd6603821de91a04bc7e4d56b84cd77746ccec291d"