231 lines
8.9 KiB
Bash
231 lines
8.9 KiB
Bash
# Template file for 'firefox-esr-i18n'
|
|
pkgname=firefox-esr-i18n
|
|
version=68.9.0
|
|
revision=1
|
|
build_style=meta
|
|
short_desc="Firefox ESR 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"'
|
|
'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"'
|
|
'tr "Turkish"'
|
|
'uk "Ukrainian"'
|
|
'ur "Urdu"'
|
|
'uz "Uzbek"'
|
|
'vi "Vietnamese"'
|
|
'xh "Xhosa"'
|
|
'zh-CN "Chinese (Simplified)"'
|
|
'zh-TW "Chinese (Traditional)"'
|
|
)
|
|
|
|
depends="firefox-esr>=${version}"
|
|
|
|
for _lang in "${_languages[@]}"; do
|
|
_locale=${_lang%% *}
|
|
_pkgname=firefox-esr-i18n-${_locale}
|
|
|
|
depends+=" ${_pkgname}>=${version}"
|
|
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
|
|
|
|
eval "${_pkgname}_package() {
|
|
_pkgtmpl $_lang
|
|
}"
|
|
done
|
|
|
|
_pkgtmpl() {
|
|
_lang="$1"
|
|
depends="firefox-esr>=${version}"
|
|
conflicts="firefox-i18n-${_lang}>=0"
|
|
short_desc="Firefox ESR $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="7dc3f9966c171b877ce118d5e4a2338dde7bb01bd1f7026c9b3dc163fb32338c
|
|
ee8cb8df56affe0cf028944b734bdc209e705247e4a5a27d49ff6ac04856af05
|
|
69c61faac2078c7477c1f2cf3cf39371f43695a8ea9b71bc6f13602bc49d22d1
|
|
3d9dd82abdc7e76a679ebca562d03843183ac57850825be8aa9fb15847ed2b8e
|
|
31e8941b1593b32a05defd174b2e4ea78817c7e368cecbb7beb0cc3cea56a11d
|
|
db5dbf4c68ef98c0a5bd5ebd257a8a6517f6b390f0f43947d3bbb6e4acdbdd6b
|
|
bf129294c789ecd5fd949e3376d6cf52a0a67d6efc12d78aec6de83c5589aaad
|
|
dcd21a3b46d59da5850c134f7bc253050db7a3b1b19ea148045b86c8caba1676
|
|
cb0cfd6680a348cfcee6adcdc672633a58d95752c6cb6427cf49176b59da4283
|
|
e20d73f4e3325f5a4f23639ea1ca737e8adf116f7af86f8620fc5fa60381550a
|
|
64bf9830b6c4775a84ccdc2d65b803f37c916ca175fce89e37d37c483080f4de
|
|
9b942d018350f51686570815cbf730d237924753e339fcb52b9dfcdb0455ffc5
|
|
711d70df1f0ae8e7db6eee5a7dded10ed3e3515b28babfff3bc85d4d569b964a
|
|
7af49a3dd6569ae353f76a85d301b05ff5dcbedbc7625f1f2918032dea36e39a
|
|
38efa252397163152b2faa9c78e4cc9091306c3f8dbaa1f7ea44ad6c93752d50
|
|
71884db2ff89774306d5495db3f6fe187321e17a2a76c71a0450d37860efb1c6
|
|
bc4ca5f5769b0640a6664f04b02067dabc6372c5081d03393c74ca4c9a3f6fa5
|
|
4ca07243fc814b04e96e92e248142d918009f8cf90ab99aa08df4ffe684167fb
|
|
6e24faf2deaf99a4bdc2290286dec74cf60f17c0d3411f9b6314420959c4cd67
|
|
8dcc767f285dddc4d29c512860587458f7894c665862a511b3d4604c386085b3
|
|
3f2b2707d27025718f2711bc7ad9c4fc5dfb3dc5f82355bcce678899a2b8b764
|
|
af5eb0060e5d3bd2d11d31dc4f1bccee0d961f791cb0e517778287535df9b731
|
|
3cf1356294191737da8077877cbb46f7879c8530baeaa93ca756d953fc6a7054
|
|
7469eed1717aeff0b398251ef0ef7ad55e66110b7c5d2c098cd55ad6f70c9d3f
|
|
c0a807c1afa07cddf02c661f6bb3fd2e2eb44129939639dda397d82aedfdd7b2
|
|
3d6c9e7216dc66ed1bf9bbe05a6d3f1cacb79d87f0c8915f24b653dcc047037f
|
|
738cf048a48a6bc5ecd7c4f76c742c8642abcdf10e8ef7502a4bb1f48382667c
|
|
f129f1cb2491f5f3c5e5dc356165ab603609e163cabc2f9515cd16a5e0b7bad9
|
|
732a499cfd664762be5cbfe0633f665f19660045674f8f64dc638ad338b91b8a
|
|
0e06e2866281f28130ac7876c9145c96812541aea4607302a709217fa6195d00
|
|
577463f3f9837d516945bcfa7cc4f97a3676a4259aee262b89641c41e0ff65a6
|
|
2593ed5bb3e4d6f9c048c4b06400bf4393c8e208200e1c477b1f0d0bf16604b7
|
|
7f649305e8f4c57e49a14f27e05178bc0fd07559729e9a9baa06a03e193af372
|
|
d6aab8db0c23aa129bb5a21b299576215b0f8c909bb259e6e836dd1118533765
|
|
b8a7927eb4653e7af6e5a56f64ff0f6961ea859a475a4f54d96ea24641a7cbb0
|
|
6535383b547291cd41eb9ed756368308b0661b7ee5854639f862bb8019d78ab2
|
|
d0f614f4bfce9455bafa10eaa244674926c397e3a645da3787358093ffcd421d
|
|
988c6b508402c482e6164c474c77da4d93175e63d84012320e33911290cf94b4
|
|
0e1dfb5fbe7f6eaf7739e9616a7d52c2df04ec69b148487ad0a0a6709d887ddb
|
|
525c8431ddc3907d91d2f96230940a98280dd9dae226c5a5afd6512e9ea7d377
|
|
ebcd21681b8beec14357935650452bfae6d5ef4c6c48b94755bba27e3d068689
|
|
317b32356ac01a1477bbf5183b1185cba476462ae5e699e4cd2ef93ecd95342d
|
|
620d57199507c8fcbb10c50ed655a2258b14e887f74165d1d610ece374e3a7c9
|
|
7bc71cf1209b983faaa3bdbd7da16f134a34a5ffaba11d18d294c73637ca3d88
|
|
b7095b25f4b5273d18827d5278c5eee7899e7e65eb7161a3b748c63c54e720fa
|
|
826886b248bafc0cdf6b846172e04bb24d74b750e0aaa4b38e635c84af54068c
|
|
03a1ad8b30209a9cfbdfaf2d4307ca3b23f9365dea7f4d563854e6fcd0253f0c
|
|
11310cba00c2fd041f195dd97d8071e53fe3831698b8c886ac274948d854c6e8
|
|
a7c87693a552e87f54731b9f728eaf281f424028c3b96b820bdc718fb78adfaa
|
|
d9fc59fb9704722143deb8921fa2f145b42a960cd0756440f635419a04b42b6c
|
|
8f8b13e59244df5c86cf11325fbbba2ceb94011aee459fd6bf2737ae520c1017
|
|
8f9c247cbb8ee42c45e0354b759138f607a95c406beac3b4ea9899576ef8cb2c
|
|
05b93a1fc1904e524967ae598e59f7cdfc8d9977aafcb6488adcba92837dfb4e
|
|
e233f7a6a30c3e279bea87a395f6ced2d13666bb89734dedbe6f03f34e57f4aa
|
|
28cf4b292f4867760f541b62188202020a191889cc9046a64661063b58af8f38
|
|
23431783f6003535b90c979bce3e1db1cf20c193f945c64b9030bbd7bb3cff15
|
|
aa07376ec63b58b39551c25bd6d481079d912fc309dd39f8b926871dfad9b4a6
|
|
af3d3fb944da306397df5a084280443c0b9a442b44116c43925d2debd2ad750f
|
|
3def249d91ecccbd815738c927d148ef014250f83cb4bbc86bbcc85f75c0c78a
|
|
e7328a5cbb4b5b03c4a06d47ac6698862b661384b36912c59056cb6f524b675c
|
|
fefe80d125619a133c0bc3ad9d97edb3168d653914f6a44174f298e5a096924d
|
|
3ce82a25df9a00d8cddc0578790bb407a2c4d08be23ab7306ce4217bd0e143c2
|
|
13767baee4900b8b4099e80917a8428fce0a411ef7d1de804a19a83a5d3f9ca1
|
|
3127a9dbc4bb5adcd1b89921accf9792194f542ed2586fdf5bd0fd87e6cc594a
|
|
718c924b8cff5c6f6b9d14c59f0c5eda0aeb1b356140e387f68add8254a63c3d
|
|
927db45ae8d5d6c0099e99ed72843a81a68c13ad817fb1b5cd2cb03ecfe61f23
|
|
7cd3afed275ca80aae49c20ca68a0fcefb33c41b5594487b1de048bb50b42180
|
|
b8d408d2fde4c11a76defc6466ab62b6c29f6160cec97d3851387b61d9ce68a5
|
|
f8465bfb27437ffcb46736874942afbbf863406f7e6b0b44219b484a22625891
|
|
861adbe3f866a4396123f57803f44c4c31dfe1bff1b318ad4c71b608a9d1c4ad
|
|
ed1d9272413441d9d5c1e53a2692e9f4eec2e85b99e078239531221ebd26f8c4
|
|
139559e718eb660d69e8157c9deb5a79522635f6d499a1b63795e08818eddf3d
|
|
3c216cc281b169780eb7bb0a9f5901a869768bb2a2d0298d7ad7494a1342de73
|
|
4ee7ad5af7ccbb06286144147694248f88a8730e6a508485f386aeb82ca6ab0c
|
|
1a96a508d28e7efba46d14ea6aa7c6915d44b8c1cb1039d4b4da00bd540405e6
|
|
d823194b5fc4d953d19a22ab686577bd6dbce6a5d696da21a7072263fd0e21b8
|
|
554eb6daf88bea7ccc91e0be2cd962255614e9f9a78eff70d011968dc2616f0d
|
|
b894f45dde6558ac4ef22c89b940de433c0aa6f4b8004b5c2db7ee8aa9efc4d3
|
|
1d1017cb7fcbdbd8f90ed01eeaa84a46b1a980315fac06a0ff216a9f5b9edaaf
|
|
c61a33177bb75872578d23aae608519a1a1b8a91a6cb591724faafd3ce5dd73b
|
|
bb51fa320c894e9a07a30ef566e698a330caa203e2f49e60800f9edaffce9f57
|
|
b25d13eedf48a5945be5215c44396b65c6ded17362b8e5363a8e415a581b054a
|
|
ffbe0cecea752110bd0bdc51401c64cd7dff38c1ba3a052cd0ac1ca505c498b6
|
|
0e09765a15e474473cce22089bff932245b0894a3b477fbee93d062b0ae91104
|
|
4888be8cef47b64a2355bf6c8b6351311583d857c2f5885560a3ed2536b1d4a1
|
|
30d1c6c816bbc74807f437765c7f1c6e97c9901e31b32ed482615a7ccb25b24c
|
|
109fe912570ba3fabdd931bbcbe0f4a781165b185c2b2f83994e256a8b16f11c
|
|
92b66fa7c60c55ae44633ba9dd8d306217779c922d5ff56f9d79434f5030278c
|
|
626f22ddc7f84e123ed2bcd4249104b062132be0df05bf23419b24e9b61c6090
|
|
9e9463bbcad073aa69001ebc2b60727c0b84b2f5cbcc1f13e5cc7e4ba2658391
|
|
37a6279a337122b40c84f4e9aff7a36494f72bcd2eafed235650ae1810d91f36
|
|
75bb58e2cc7ff17182792280e5a19bb47bde3598363a0f3e1c0f9bde5feae529
|
|
2b843898604945a69900834369a709f0abc34f2e50021fc5e829b8d6bccd92be"
|