230 lines
8.9 KiB
Bash
230 lines
8.9 KiB
Bash
# Template file for 'firefox-esr-i18n'
|
|
pkgname=firefox-esr-i18n
|
|
version=68.6.1
|
|
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="e427882e2cacfbf4e31dc28f7b7be1e74e36fe69d09a75d3558516d73d255a8e
|
|
9cd22da3e3688296627540d86829c13a0bfbdd826ef8a75feb5d3e5e83460b15
|
|
2cd5cabad2a391f9360cc6da2ecc3b04c8ba04aa3cb9a93644c4a75ebde9aa62
|
|
ce0b5b79b33389cc66d33e8e1c842eef389705ab978328b2541efe700ca8d37d
|
|
d3e8b7d09664dc5b0b919e22ea1bcd9d186f2f70308f329341f11a2d1749614a
|
|
cdd6a68be42c43f116c5de4775c965ca245339df7669d858a166a6102686d10c
|
|
493b2267fae8f66fa2f4042e07248ba8976edb6dd785d4a8e3ba65f9b435c08a
|
|
f324fab591482fd805c779ebdc2e10484462374665edbac624e190a3ec276d78
|
|
46d1fa90b4145fcba1ca038484053c196e464601574077c9ac4bdffc2b271964
|
|
54d0ab47af888133dbdc36262c4d6a405e9bae1e6b7a8781c3d0c6b75d6706b8
|
|
f6e946115c9b37a060d459444bab8b9aaef800fb56bd0392da527342d08f6dfa
|
|
07ff7a4974dc9113f3ce0f60d81de6fb4a6af68ac197be78d9511a00b2f8a53e
|
|
7e916794ba9c593923663ba0fa81bca60cb67cb6e00b92ceca11e8353b194417
|
|
8a21ac2c9be5571e79ce127eacc49688c9928837b63d6f76625000a62158d11a
|
|
69d169826c936ffc23a2b48a518302b3b8dfa29c6192fb6eafc56b77e854620e
|
|
638dfeba23d63db011bea192ab1b9405fe985676396996a1b49b7f4ff8173f80
|
|
5974677c88a98e5742014403b69128681dc6914ef7fe0ce8a677f9f335e746ed
|
|
64596043740f4d375b85a45bc2f7c80f12aa417545f3fbcadfcd300a2b1c5d71
|
|
cfa09eeaffd2f0cd32d511e8baeff8010c1316931d743171c5e61c3a9dc36e09
|
|
cee60e834e057f3a4b27567036b21a37f62a3041fb398ec5699892cd9b36a249
|
|
732fff8006fc340f7690c3a3d5a01778d41cb19f963ae065128e9b64d127681d
|
|
dedead119fc8dfe8b9c58e8b1f027cfa25d82fdd745fecb2b56a21decd0472af
|
|
b2a55f597db79da9a9ce6f9b79a828ca45ffb48c3242776096013f45f68e4d9a
|
|
adca2dc328082d741768b7508795d249fb3a13f0f674f083847e8f6652d68fb6
|
|
e50efcb8d8e2efddec3f7d9811df754989b26e5ae324041cec929c70fd698c11
|
|
053c0f8c295d10ecd987196a2de1aeaedbaf8e2969232846b58999594120adf9
|
|
fcf66276a3db8ae6e3737c4e43348a5fc1f3c315d8668db9ddc3983add59018f
|
|
96b1ec9db55acfd06d7fadbc89f28931cad26f10bf7942cbac8e72546c7e4c0a
|
|
6089fc28f55229842a925bcdff6a786de761c7bca42e57cefe5b869a46751c57
|
|
84a94474f3d064738ce621206579e709ab7375dc92ad90bc3b3123fce594e6ae
|
|
c0c6667e7916a8b1a3bcaa0948babbdb1e258e8eb941682cfe644539b3e4ee0e
|
|
a50f858b84311db9894c75a7e1b6d728b960f968d2da987d6205990ba5b20c53
|
|
971659e84efe3a0b1e154e750ddbe15d3bef22ee33ea953867918cb12f8b37eb
|
|
5243c05ea83a6414edfed548967d589c80eb33226a371b3d947f5a261933426f
|
|
d95ec3bb9e25b7161922ac2810476272460574f1d7fa0d22621331711f92e294
|
|
5d49cb64f0e72cb9b1942cecc38fb2725e0e6ba03f8799e047442af4106f3077
|
|
295e932ca5f1723c8fa20c01d962a2389d26929669cfa3f26dcbc807b9d4f31a
|
|
e9bc25a4a9ba6bb3e2c1d4444e7482a6198d473c122f16cf7fa40b00280ebd06
|
|
a919985c30d3fa95a675f53db432fbacc439e7682e34fe9276a2f7fad1065dc8
|
|
b595f7a00c455825889c1dade26d9db3c1fb263b01572d552014aca9364c4f89
|
|
fbf19f19a884adb7a1c654568ed49592737cebf3ec52d4d322cf3492cb6f8d9f
|
|
e4226e15a616279cea0d8c9ab84507ecd756e966a0e0e7691a8501136c2442ae
|
|
096de39460f2800aa8ae82e4a9f2c6658087e292e625d06b7aebaaec589b89f6
|
|
47c8ac2878b5f8bfaefa4ad6949d6eeb76d00980735783c034e0f3f06a7a00fc
|
|
9ecca5c9922b903445805513bce11b61b453019e33369c9d327c5446265ae709
|
|
a43f6c92b698865f5d66c4fd772875718148930203216afe2633a42c2125ace0
|
|
994a74d9abbe0b9f7f810fb7d8ae1d9d689664ce12f41896196fe3d54d1f75c9
|
|
78ff6dc0e78e050fbe62bbd17f6b5bcaa250c80beb00caaee7bad54fa8efbb8e
|
|
ad2d265c3cf350e8921a259d8c8ee92914e073ff53375ec688d55e872bab1307
|
|
4bbfd3e8dcef0cd53bacbc3accb48250d5da0c227766a1277b04e7b69a3dbced
|
|
9bca9c502e80ead8527da7e2ed07039146e792cfe3cf4ee403d23d8e1b6e5fca
|
|
54d9b297c64e45fca2c25632015e4d93548b4adbb30c3179e71c1deff3bff059
|
|
615fc5fa0e4955ec78fe1203f08a26441e71ddbf3447284d798c69bca2b41a8f
|
|
124ce2b9913cf4df33448d50844a4a56ec4f30815a56d85b72ae4f0be4eb8907
|
|
41cfebc1955a807b0274859092b63a84e274ea6656a9ca851fbd022af96328c9
|
|
d7085f5f59d92ed6520c0785839a1d5059154d24e5e42116ccc31da193e9bacd
|
|
39bf5ec48d223a111a1de5af434f11f1fe9d509adfcce93b362417b841bcaa6e
|
|
9677dd1eb2ccade6c4643250b3b0d1565dbcfe7e36174132403435fdc9d23ba9
|
|
2ebb3962e108eaa367775c0753180f75cf8cbc7aaa658cccce679a3d02962c7e
|
|
5c40858d2d8ba6f6f1e4e1fa73553d5445150687f9dfc10454a33da4980910f4
|
|
55f6c7287355f274af7f76db380bf58ff93b873c3c650031e94d0bedc0a4a5a4
|
|
8a487e05631b81113b0f8ab6c8cff6c008c284c9aa26fe925aa5c120f2e3e875
|
|
6ccafbe127413716887d15f99296a74981c2cf277dbe3bbe4d8b240dfa7303b2
|
|
e944ee038fcbccc05ccf439586e2126d06497f916ca601a50e323b3057edf445
|
|
bf081b9a37f9a8ae6d3eec4973f26023481bd6bc860400c0131b151512eccef4
|
|
e0849bec66480be5390ddbf8afc1d7e9071f339c1160fc02adcbe09bbb77dcaf
|
|
1b8feb9b6686308a4f17cee8db2382bb7bf9752cb0a0ecc677f1e378eaeec520
|
|
0ddaf5291721795385f2f4174ebdf0c90e4c8a0c755b8c08fdf64f14e088a6d0
|
|
b34a86c7df14f1d580125d9322acacc64bd2c66032e59c92f92a2b6090518cb5
|
|
44b18ba611115862879f69d234fb4c879846a7ed04b0b4c2e536a36553223e39
|
|
5553c666813284016d1309bb5a265e9d895f6496ce071c7e5b37d23a1d1ea1b0
|
|
cdd3f8540193baa318cf4b2147b1581e03f83c9358d8e840100c748d326d366f
|
|
d4c713c5b5a1058547c8b268699f6fca9c288391afeadb67826f74d7f31b9228
|
|
1492cb2aa514ceab68f795e684ebfa59f82136f8a7f6df569dd50da963445596
|
|
ba9a65dbe5a38dbc21d1e3e8fa564c9636c44cc276b78e1cd79f911251cb6790
|
|
0fa8ac33f4a3b0ab0533eb993731ae7f59bbb9f746a339bd4551422073a6aefd
|
|
d07cf69ef3e2bd07d3b2e29af1f457116ad2a4cf226b5bbd5519440806508a0f
|
|
fb297237ccf19180a4805ce461258f90a9044f549c6b942ef21ba59b6921d82e
|
|
194b1f01a64312dc33c17ddc2e01bdb0c51ad231205f4d898dcd562663cd4dc8
|
|
998fce205521b843da994f80b1315f39f8e7f3eea301373b1df33bcf109e8ff6
|
|
4fd6864882ae0dc2763f44baa19eefa1bc1b6b9f7b16d02f054b685aeeae0b03
|
|
5a52fa2db5c83bba5674b1ba5ccf8eb209bfb3d41c0ad8a5cde0244830e687eb
|
|
159556f821e42a195f3ab228220729e62ff113724115bbc9658cf6519942803c
|
|
df7fdb4a204043eceaf3cdaec68112a17ccff4b7f5076c9ab380274391bd0a56
|
|
d735d4765ba81490848ba0c8b3744fd3ee983d08d48618d933fd55192252eb61
|
|
ae64605966ce1889c9f294099d2082da9446ac66a8d96fcae485b26fccd5eff8
|
|
e49476786eb06dcb8f1bc5ae65158d9d571147c7423c3d3f96921bf42990c572
|
|
9a20917520114865bc240d4598b4516af6183c5d8ffb3716a9667aa4f1745879
|
|
4f6faf9d0f1f094f0f88968099deb1277036b1762686b5c463d54e750a99f79e
|
|
5cc065088bba2ea13220d07df73bb2bc067ced38c5d164276a994edc300b390e
|
|
7b9d62447b2d3c1b962430b21dd4452958bd6074c1fd67a5e952837d6be3ea8a
|
|
abf86095d80cb5e253cebc6187ea7710b0b62ac108852c9e086d1332b43074f6
|
|
f8eadece36a428cf7ec12730803a32ad88bbbf44a0786f09567f4c98069ecd85"
|