void-packages/srcpkgs/firefox-i18n/template
Johannes 13b3fce692 firefox-i18n: update to 68.0.
the following language packs were removed because they aren't provided
by upstream:

 delete mode 120000 srcpkgs/firefox-i18n-as
 delete mode 120000 srcpkgs/firefox-i18n-bn-BD
 delete mode 120000 srcpkgs/firefox-i18n-bn-IN
 delete mode 120000 srcpkgs/firefox-i18n-en-ZA
 delete mode 120000 srcpkgs/firefox-i18n-mai
 delete mode 120000 srcpkgs/firefox-i18n-ml
 delete mode 120000 srcpkgs/firefox-i18n-or

[ci skip]
2019-07-12 16:01:35 +02:00

218 lines
8.4 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=68.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'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)"'
'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"'
'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)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'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}"
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="2ea325dae9dfd9725a533d7a4630b9326d408ab9a4b925b70468d28a2d45d2ba
7ac5d43f433ccd68bb96ac92cc7485755348a03c0bcb74d66e12925afd9463ae
88914e2a4d070d307ab4483538f3b863179dc4f1ba148bd3ae28cff4d87a390f
54627c8ba83781677dde0fc917eea5926a53906cad6283143cb917868e764b98
2f03fd4a024dc82920cbbec72140899d7fb1ab84c8913e01bdf2444de1faff95
129bfb200b92ff372be47d7b6482f509643448dfe620b725a3dc4932c1fecb83
841ad3f8ddae023fc2d426b83512f62d8ca0e6c96933166b3e53a144d08abf53
65326e4b1bf378e6971fb29f5532b5de81f355346e5310a63db093c6156255c3
edd830c87ca09dc9764600b484f763322f9771c6557b960baa690872fcdfd3bb
c686c3fd8a62b4fad79748f56c0306844545828aa8bf5a2f06a3710e21f64fa4
70ad36174d88e06f4ab068e55d3b737ffad7847014765b94bfc0de6bcdc52c5e
42381fad38549111e5ff2d57887318727159815b7b6ce19a8665fc049615f0e5
ebef3a70259d887cb83ed61826dc4f4efb7e934a17a1315921232a0be0c78faa
c3502cb60c44d1dbdec77046ca1d00b4d5b600f546a7964f4e27bfd52b42d193
dfb94b9b6665284b1bedd6c9e13aa78f8ac43d64d5337825645c064e89bb5077
0c52ae1e1d8492193221f4ca71c77e3447521169202b615644b618ca09a02b92
1e01f718a7b5e4f7b1e7ba383c4a83c336658398bd8ed579511e099399eb7659
4a81323c5c564a903da4e58ed9e6ce968c96530bec924a143a83a153d2a3f712
870d58d9ea7615b9c4d7425970c1fad96ea7ec8864b55509fff5c501138eb724
595109a433b969231f5efb0b1de5585d2b3a82be0338166418ad84b7472fd6db
b6ab79f793a7558e074d53f210721c9fb61b10ebd6ca219c47890c2066262ab8
d059897607824b2cd3fe68b7a3bce3214ebd490d486517838a41ac21a9d66cd8
1db3f913dcadbdc63e38c8c41fe7f9d58b94bd372f2ed815ef98d7210376281d
9a0aa04d643dff8eed58b9167a8f8d373962c5df2b5c240dd280fc46add25cb2
5c2d1c6de35b41c534f98bbf53bf68dfcba7f81ee44fa41670852f0b7cb6034d
253d0275b7c3be1ad387f27901ed8f6a8e1c8f06c6052bd1ba4432cdf8987e40
282b17de74487d4af0b6471ebb86702635b51b658d4dc1040b2a1bc0173d75cd
f0cdbc7b603345ce782efdda2cdd97cb3086a35ba8a8dc93316a408aa008ce4c
539a457d13deb4ac0e4149af5894f6a34348d00311212117d1ba5472b3eb7630
d975fa37a38d88ecd2e539082200d7243ba00c1d0388ba3a79b32cbb237cb5be
1bb93ab89e1b29b13e88280817f22478f734f8b401e8a46e45842f80dd12dc91
7f92bb80877a94b06a9d21fd4c8773828b2ffb00d76fcada5fe6d63046f50e56
5cc79d40e9d9ac053f42a62ca6bf3fceeb734a7c4ae3c4dae730ce5326dcee53
b991ad7abc56fe09f8784d82b5ce31490c54ccc0336f8df3735f39442eb408a8
914e3dd3902056311f0b31891dd5829e44c9b1d21e5527b5d5fc02a0a9163231
d4a34da51853ce5ceeb44c717bff8e0e43e8a7a3573a5b8d37bfbc7535a7ab8c
2af29f4878ab8d2a68374ed5e548389defc08dd7ed4afc922a0ecdd469d323aa
3fbb71fcd7fbfdc7df8e992fad3cf4101b1d8864fe2a3adc4cce6c9260789892
c2e8f0ceb5b585038189e7e29ab44ef847b302ff12769a576d9ed84f4c6b1733
808ecfcb890009a5a8aec761019f7365dee0472f56a66cab3dff5aab96f5092e
e3b41849929b2b339aeb31187e5a8212645d4352b84c6da2d00427f4704701fa
61526c0ed945e0c4fa7e3c74a50b1c850640ad1127583b261d98d96e051ab8a7
27b8f857c0cd3a0cfc4b672dafd97b5058141c9c2611f3bc3dcdf0cbc7bbb0f6
87825f138676242e47e5feea13416b7f0b80d2abcd6d1e9e9c176cbf2b16fc4a
25adc223948abbf53e2485ef7e2ba7c6cd57035539a328bc1bed0ef5a2e98151
29117feb77725cb04612ecf4d5fc2cdd99cf83ec5a5443bc7ad70d5087f067e7
a9313a9102e7076cdb2fb6d93c521c7125fc7bb238a1c10b7fe7aad83ed1a832
8ac5b14e77083a78ea452370c388216827a74a535238f46b68e54f583fb9d28e
8fbeaacb8eb49fcbdedfbad2ea8ddc6ef6c439ffeaf760ce8951399f130f2e70
7e90cebdc49ba304cbcacf1e2402e1d04a74915655e51736f77cbf06ef96b15b
6a05ca1dea4d1d1df7403909765469fd64f930687f10c4f12d6df47b316b01a0
7385224b6cb45a987ccf7a78e14e4d2962f7d8053226907db7d221871a1d9654
6cf181372cdbd6e71d391e3d301862df861d09294b21e60aca2439adaed90f1c
e52b3fffda04b1a1b53f3de317e5e1c0632284ee49f99a1639a5e153f18eb7e1
79a2c8da2175659ec63d62414b6f6d39342f705f3e973f886a0e05979dbbb5e2
56d52734e4be44d91bfb993ad8ff71a8adb467781a562219d62f58f13a588ed7
96f4ec00964d3c9f0f5db9243ed2486ef4f705d822427de1303d25decb1d8091
97b6e1980fa99a5edac112f25a4873b88ebb1c28f010c7e7dc2197216740f916
1b14434f61257ce16bdeef681383b6371b0ad2004c0ca165d819b559f1db57e6
4908fe09e5da90f608d1abbcad948f4b4b6622ebb6bbbd22c61233736c402281
92967023816682d0991bdf50e08eb9a199a45c95b848b5aeceefc0906d267a1e
65e4a1bac6db7d51f67d3d522ffa5104031619fc5a427e446de90a959cf1b5ae
774d4102558b9744c141dbb6b89915beee1401c7997caafc5e84c3d3431505aa
0c5b7a027c8fe124128db7f339ed8fab4fc2f81c5d216dadb6f6d963cc5ec572
cb3c41a3137361c2fcc63a118d0e7cb4c25ccb0b40fdefcf09f6b04e6a51e1b8
b51c77b3cd0c07434863c2ab7eb0a4d126590ab48f078b2f2230126a6af655fe
fe578c4722c54c0a2a5dca79eecaae1ee83d5feee77239e7995269cb9ec9c90d
a4fe9e531c1398be200e931a483833406e0891aef002b4514bdcb6a87a84634a
1f935162baf1aeae96c38adeac0f446c196a51b376b52bded73a190c5a514c9e
3ebe4a346c0c90b3726c260108d5e0608db3171ee926f2c2d8c252954a1d63c3
c91500a7bdad1f633bf481a111b08843bb7e565284e31b12a7e58f8cecdc8cdf
6bb1b7f5f9997231656b2c1403e75bdc059ff9a550985e6a7e6ae332fa8b92d2
f6f6bf02e9427fac2112d06ce142543b505d6bb15cb028d8888e321d0c2fe9f6
d2f0558cfca841a9215b13c240fb30086ec6593fcaf8ab745c4fafa835bded45
b096f2c53df109ee5dbea8e002da2edc01aa7f8f99891046301762bb0d8091d9
4c364906fb8e51cadebbed53d9d1570b3cd8745fe29f10232c176a6f5b26eca8
d6a4731cdc003f888309aeb40cda3359c1105c1c5718e07c7aa33dde0aeb6019
4d4f04af4d2e7a44cb6280671b487af00713fec30b9add6b1e83479f9e0f216e
48a73299a4611e58c3732a4863d3facc5b24be81f5da7a7000ff474e141b8357
63c3189c531c19460841f0ca05cb4d1687e073191b9a5c6161189ec42ec22db1
9563264f31a9dd3ed221e344e12b425108e6ae951facb38fb625954bddaf76e9
f9efd9f21eb42b5aef80fd464b3329b754666c7e931b83e7d986891389c43f24
074d14b2d828b6b01c7e03f214e7fcfb39385f6814d9ed219ae6282ff4e0fefa
3a7a1afe4e782ee61992e2b766dcb6572efc55939a33163b395c8b9a12a8f582
ee684053112c518da46ee4c31a98628f0b4acb15a4368461cbca02a367d861bf
c4643de1494af7c66a9918cfa5e548b76f3ee7d4d65147adf6a838ab22d48f9b
806d5b363e787e82ef6959452d4523087da0309c894214a9481016caba5f9e53"