void-packages/srcpkgs/firefox-i18n/template

233 lines
9.0 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=66.0.3
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"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'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"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'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}"
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="83a4d96fa8e7dbf899ea44ee139317c8e17c60ece5779bb84c5a73706e956de3
05dd371af5786291c311e8c39c21f0378a35140f0b8fe1fa963101b29d6c3bee
b19208846ae1b3434e8afac6165aa2024537f5f90731fc371d5147ac7bc21de3
c63aa715fb2200d4fff35ef5ee4c76b53db828f007402b5ed907b9cf37fc3650
a8ec1392fafe98077b1fcc4e350fc06e387f046d875d6e7d7f00dc1b9d84cffd
0120a2f0a1822b680ca0b3d846e1dde748cd29e4d5e96b5df36f1cef4042b74b
c1717aa53519939d21930a55ffe689634564461a5dac1affe462dc2ddcb073de
fd79ae570d0f7041de5949e254790cf46c8f10fdef63127732f4c438b934c3f9
fbb5954f5650415101e7c20343d0aefe428edd1384cb724922bc785bb0517b11
365c73192c07bdb8e386d98364e751dd76c3390e3ef9ca779902ddf39b6b0885
1737854c6826b7e83a402f8a898aecb5386ecf26a899d61a8b3b4bf9b97c1c38
ce8c44967af06c596c4e5eca72deb50ef7b5c28fdaedfe494c56edc1baaa23f1
11db5e4a2d4b1c4c070229b71f4e0595310713bce498ce259923ac87cfe9339b
5083eea0487872eb7eff943ca7fcdeebc03ed049fbbee634bab95839ec5b9920
4d8457975b740e5b5b1d6fe2bf2a54ede065be2b6f961fd98df2c1838fb2c935
b3c89103b7a18e233496a938271ae55e765a5cb107906c61cc23141c5e4558f6
2f3c33a5b574a461d23b71945ff6e2c9180b43d7dc8561906fa784b6860e19fc
a1e1ec1e8ba00773572744db279cb74b0627d989254a978a78ada6bcf8225fa2
2dec2d8788a251c60644d221080bbcc0aa9ffc7a10fd589835b7122d44132219
4a2f5379ede2009df93d8eeec7f22b081c2f1b4539b593230ce32877cc3418be
5c469c7121184911ce6bcc6f891d5a5513e8e8fb908c830a616061ce99495b43
2411bc44cc242fcc53988640e637c4c67bbd4d6bf3dda744a1e08b328ce0be3a
e6bf10fc0885be15f9f2906981ba39e280000e3dfe91843c2beb53dcabf2a2cc
23754bdadf1a6149dcfc3c1fee4472af5a17d00cae73c698d9360a6fae6ec5f7
682fcf6ad0b344b2e58cc28b09c10c91197f0be7070fd8e412ccc6e8443c77b6
709b1460040da55fb82a0f8cf1efe507fd444a7ab1abb8f4af838444a004c651
4caf4bef8e9670515363246a396584d4c3d98b33a0c7007e84e016e7207b0b27
14defa2d0c5ad243062d00d05fbd32ef809546a2a587d0082ad9854d790f6472
07a400b96913145231d44f7a7713e1e2380031062afb1935d1cdcf2764dc9d63
ab79a74c74b47a0d428d23ec20d6d95a704ae8159533e284ce11c71bd558db17
cb48a5098340fe249c2671b8e830b8240d00099630f60358ce217215de1272aa
2c05d277e30c539f9cd457eb105a3f21ca1dd7da333feaef289c08200ede175e
e0151b7e5bcaa83dfaff8b2fa073583ad0445bceb247ef4883359816e026f9a8
f4beab1386075be568817305a9faf53f51533aa5f0d546a3654fc4e75872ad50
c26f354a69586f208699ad451d9116a36040f245782c335eaf83b18ed019cd39
721816a4bfc2751785e48cafb5f8811be8b22f13f9dbfbdef39cfb50758fdb34
5e472018dd5c4f0008a4c6e382e2803a8e778efaf3dfd5c3484113eb1f4cddca
fa247c090070fb53cd6075b00147600ae8a883c01faf0a29b889cfb9051cd4a0
4783366aa9957f6ff1ccd8ab8bba1c6075a96b751d51d3d55a37ee19de90ea53
841d1d54f8675956dfe41ebe5d4ab31a8608c276b65288016d12c75b530e6b2b
dd409ad522b6fa789083cc21c5a4384a1835023d9399c0cb00db4b1fe5de3650
63f7e05577325373b06168ce582ea1a834458ef9bd336fcbc1bb280e343d0e1b
4214ee737fd953ab5ad87d4b69fb9ed313140b95c3a18d249425a4c76a7f8668
82a58aeca95e785b1705715bb551882d057d37cc11ca8ae4263412cda563cc6a
629fb5fa800e6398fa1dccfb22d9c643934fcec8eec737cde050b016aa0b2a1b
82983f6082baaeb01c342b6588b96441247d1bb056784bc5d5b863d89a5b4a3f
283a50f96f625ce916eea78ac4e1634a669ca2ef192e51612723440d99849a85
3d855f174c5dbcf9db681655db0519bd10a9969f075cedb9e6f65c9548d24317
413394b8bf86d6dd69ec52a29c53e2307fd30477176a4d7b5663dc43de45deaa
552a74896ef624778fee801acdd81cd3c8676514171bb7260f6f81ce37f2d5d0
9fb4c4fc55b9dd71c02851a8bdb205ffbf25e23defa5d3d5973474df3c8eaddf
81294358c735ba066ad03b265a6e10e7ca6c376c3fe004f4abc5b552ec80ab49
44094dda5bfbc2969acdf397daf5fa938db992ef5865a2fee2c1c2d37b31a9f6
07e7cb00f45bd2eb4c4db4b6d1f67b4d6f115a0e7c6def7c68ac8b9ce8ca4e1a
b58ea8ddcfc81601a89866ab947dce072107ad6115f3871567f92534a5476a49
86a0552bbdd2a4923ddb18877f28322ab2c18ae48403e0525fb5a8a8666b8495
d9342a37d436d81439a623661b1c8f67d368b317d91c33f3d32bf02912f68f90
e2a53b7163499657681f03018681b6aae783a079b957dad7278b7850d09418ac
f77137cba2227c18ffd4a7a66b946505c7a992a489608a840d38ace4acb26888
505fd1d69dba4ab848b6ab50aeadb436c530f00114a5f41af6cfdb9f741964f2
6a892970156a66b2c5edccdf0ac6c73c194f546b19d017fc373542d1bf1ee3a1
f4dc7633c749eb379596d0752756389317b8332b4642a2c2c2c451ba404d20c3
dc4760113005f56072f2484a1c43e80a2f1d55ecba0eb4f5d42a7a60dfc44a1a
6cff837c79fc78409bf6be6cd8b73b5daa73ec651f22174e2565c913547609d8
6a26f247152ce0493e3019d694ef1f9c3ed8c23963c3235a662c0ba226ed03cf
f2912b0e7bf747299f9f74e07db26b1ee5fc69321c6c162370ffd2c8de96960a
d7c1dd8aded371cd84dcb2a8593479de6f727465ff83c06179be203cf746656e
189e5b1fc4c55688e5ace41987c2d6a34cb435d9b60cc33ab0191cee186d18c4
ce48845fab21cec07c16d4176257981a492028db703075bf95470f508534a8cc
176c33ee391c23d810e47367c8d5f468e4e67f4523bd02cd1a245ce0c90865a0
d2455ef3def109d04bbbe3e33974cb9f98e4569c578e263564b176e0709ef461
f9d60e4fba40c238624c9d5c99bbe9e6c81d7db7be3923dcf7685f070f1d4e10
84eefbc200997dd8915cbff366da9054cf3522c07b73ae467819ab503dc0c7d0
2ca560b9c0b0327ae34bd377feea8a12b89624a04412bf86f684ed8626059f0a
3545aaf9032159bf934898deed9a14ecb7bc6faa4a153250626a018f3bda75c4
aa6f241d48c25b3c963ef662148f4e767ed8e1eb686402275b8c5f24c6221050
82466f80359f8317f150b427e1b53edf7053a48b7460ec228dce9497df2dfed2
cf9468cf069a3a0747f7232a1b59e5b60f3b2fa2ef17afc2fbd826b65f720ce9
9cbb6875a109b55fe608be43f0c6dfec2b58b986b97029ef8da4f1c9853eb273
e87470f37612a9b234dbc09ac12ebc54f37e127e4ed9372defb1e0575e2322b8
986a47b5bcb661e1eaf04026d50ad2d10c98c0b136f8f5804949c6258a82478a
4205773be76cb0642898ad58c93db91af43e3c5fddc75244ed2c7bb574d6052f
c971228c26310dfe0d6d080e2bd64efdbb4fc7f47eeb54fe60d787ef3d60f859
63da31cb86cf04f4f949fef6d11d39b013bd5adba02e2f36e275b8ba69c4149a
1d2a7e8da3a6b789bd3cf536269454e256a7283e1b367efaae7ef959c578eaee
2faefc954ae6f887bff176df39c4d6738dceec30c2fd09b1ae2590757c5d9ae1
71ecfaedc668a61d87254bd806e5bef94ba4416040ae952b12bcfa7a6f46114f
1200d0f10951b770263e6ee0f75b34a3cf4d27c427b0219df674a91f4b2851d2
540c512ba7c3f21cff4eb3b4863428bf4cbe30f244bc6a6062edbdb413b2ad67
456e1ad2ba399df0166422d6f8e4eea40c8ef1eaf47d692e26be42cc4a33e8dc
ce3ada37bf1d16d4dfed427510eaa9f216d42a2fd5b8ad8666ce7b5d9a9ff6ba
ceb6d80b50f144c83b6663ecc4502bdb8c443003dc811debdc54b08dad6db115
f267de67500b23591721fb0852cee601338df7dd67ea022ae9ad4a46f6f06e87
27b440393f97766769e0df3ca8d13bdc108a34647d436ac164bccbf755a21538"