97b6877c1c
[ci skip]
232 lines
9 KiB
Bash
232 lines
9 KiB
Bash
# Template file for 'firefox-esr-i18n'
|
|
pkgname=firefox-esr-i18n
|
|
version=60.5.1
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/firefox/"
|
|
short_desc="Firefox ESR language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.org>"
|
|
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-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="1d772e4a8562d4b8d69a02f572b8c3e849259aaa678199a3bccb78ba16132ed7
|
|
4c5114e2c3efc9717f8228599281e16db270c13f1639dd886264afe770ac71f1
|
|
efa49441bc2ab45b2e5f11eb1a121a86f03edcc2c7545e478e09ed43f02e235e
|
|
ed935bee30aa0e3155ba4218b897236fa103ead4ac755438b5d6b009cabaf109
|
|
339b6f59c659eec7d5c748c255482b5024288c3cdf7c0a216fd32c169546035d
|
|
c0e24e7f0b132d4dac6b7ea42d6370cc2ac5323cfc355f6d590131b73196f2f9
|
|
8da9d7bc3921896835255b1e20b0f2b4b13a9c693f5c1933236de00860bad6cc
|
|
9ee90de969aa8012defa1081e6c0e34c3caf67f5922b0ff1e2fd3e2e5e080cf7
|
|
ba78db0d3909c761d987496aa18522b9e27fc84c74e3060daf6be8dc82153e79
|
|
364d91a23541bea769bf2a6107256a46fdefc51c4b26de9382eddf9472cd78d2
|
|
6cb2822e4d03b708103dbf76834227fd81862c0ddbaacdc02668668f3350a33b
|
|
8cfe3f5061c33f0110d9221d257799376fd51fdf9c680a12a961f51aec318232
|
|
109ef3e0adef97cdf14ef4067169c1a85c66e8794c6d5e31575430899ab1be5f
|
|
e8d9413f66a44181c0cdc1ab9550ed70bea709fdab059e1e3959cf0fa201f8fe
|
|
bcea580ec35f01de4d769446084614c3cd814cfabe4f4210dd058ad738f5a40c
|
|
bd61d2c1f8d863121621bc63d3e5d8f4269423c06e13ec7b88a2e2754e19d0f3
|
|
bb0cc2ad702097ff03ed3a74bb4bacb7a04b9c119db513f155c4fa50a1583edc
|
|
4d4b9ed4be106579d2de520bb30df940ded12dd3ce715a7e10efd3944426f298
|
|
659775ba2d99ed073a9044fec4d1b60f28432182a9af4b3ac5def4125bdf5e90
|
|
087278bfdd3fd5efe2c76e4461926205b5d991b51b678d7f45aa8ff3c491ea0d
|
|
75f6bba513297d32e97eeb9d3652d59aa05decefad79b3bfbf2d1e0ace21203d
|
|
5547ae28a2ebb0824ced98da4f1add6f5931873c62982580330c001aa877e664
|
|
e327a42e12c1b28f15f74775603ea2473f6c70b81b6b702471682c664a91c82e
|
|
fafcefd20d173e3668d23873b12e64360c1a2d9c534a6f43c3e159524c63fbf1
|
|
4fab0b64d8cf0f763108693942c91a03e5f3bd4851afbfbbebe21e51ae567da1
|
|
e2824824af552bd09a7c159ab7c9874ad7186f0b8d5e7659840ef714aa46a63c
|
|
6edfe44006b4fafa1cfcfadec65254e29c219cb4840de446ddfe9a95602a1314
|
|
3d061ecec3f16f564046b1a57d0e639102c5774f5c26cbeea7f21be016a2e99e
|
|
0f2216e08d0b48c8d541b8a365a0761ee0f2ee742860d79165ee84d034b6b767
|
|
04b980a590215f5dba5ead5234122e293a4743857b7ad3269f812c82152f8eb8
|
|
25ef93b0691cc9d22014d8b9625bad13ea5abb00cc92c643b4d24fe9d0128be3
|
|
6da2dc0a1de2418c8ddae49e307c68910d7a2535c5a597bd3dce8a7cb01d24f1
|
|
e08a325e07c821f55c07acf9dc3d88a721fac4aea1ea18d19f4e7c922d5c0c11
|
|
3e1411446a692c6c7f2e6f62f9306708ea2b92a8c3101a39b3e7c95cd2d4829b
|
|
dfd18d77d2b24db04780dee939d1622f9f8ca5d0411bda1db01c8b3e723478d4
|
|
715f122fcd77e1f714c4659783113108340924bb88fe89440c111e068984d9ae
|
|
aad5bf5c8653e6de930370420ce4e72e25b9211eeda0a5a6c8b62e11711bfe4a
|
|
b758b55155f692c9fd7e1dc01fa8a9400089679eb7619f3c9199e3471c5cb40d
|
|
eec9180372b341421d372985039cdce5a96e067e995c58c81aa8b3645b891427
|
|
fb4dc6fef700b75bee69af78789302dd7cd2cf1f429a1817c43ca7dab31c6b9f
|
|
20a90b15a00c8b71dda997b9e7f5032cf31b609c5db98b0871a561becfa3aef2
|
|
ebc8fb3c3187d7adaa2cc13d324d3ae6a346afa901301c54de470493b18ee3b9
|
|
fddbe04ad7049cf14072f994061d6f5bed75cd4c3e19faaef2b5bcbd182e4022
|
|
c7afb84f00ac54b41de3888b33bc1add8c01cfa02ab52fcff9dc070ce6f43b31
|
|
b009a360fa335978fb3ddd93ecb484da67c46cb57c8defe6f4e1919ab7d1d0e3
|
|
5d25a17d6732bee806109cb3d78dffa1fb1a41485639226e4fd66306e2416e91
|
|
c93d5f9b44c58d54c9076dab06f55fda74e1d8a890910e59cb1a86014133a022
|
|
4faae876fa6070fb4a603716d1c9137e428d100062f29df9731807b39f7ae0c4
|
|
cf1424531079529515e488b1358db2666a081b9fb7ed7d3a191c0d3f4e53c133
|
|
c3855c0280691d0fa31c7658e682b3d829962097475242182b2ea45a827ec4b0
|
|
5b3bfdd11eaa8fcc96a01ebc2ae036b2a5ade5f78e2f680ae6b2c602546cd17f
|
|
de239ab044f4421982d35ff992f36025515144ddfb5eccf189fc7e30a6d0876a
|
|
b46b5547aacc58e03b594908f9eaa373990690de910b7e5e3d1de41cd0726daa
|
|
5443bcd05a9dba81ec52bec7ca3b9267b1e71a029b7bcb6cc9170199c448975e
|
|
dff53b70f2da37eb1d1f1f9bb2fc1a09221316fbfe90cac4e745d39a1908d0ed
|
|
aa2e9a9b5e2790a277a24bb0ef7b7c61386dd5419b9e834aff985e870ad410b1
|
|
5c61d072a66b1c9ed4ffaa19d15c3484ad45a7673f4f4dd02662f663f82247b4
|
|
a2e1ffb0636c5b1a72ecb2974e1f59bf1c7eaae15d93050246874969fb85dc96
|
|
c748a8cbca7e1f5dadd7231fd715a52887128a74b9ff8c6e77709b0f89faa0b7
|
|
d9c852870087e80000b19cf89acd29a75e574b1e1aba811113f0414f8a114863
|
|
cb816d2d21cafd71070aed73fdb2d52c7f29071a699ad7857956621576dd875b
|
|
53939bf58d156e8e46472f16996336bc6d4bbc0a8540a558f5c190dac47fb8dd
|
|
2b76b2e01e8d65fff44b2555ed4e6d9641813d5b6e66aecb564e2ac6d8b29e89
|
|
b183aa55360344c5209333b10e4fa3331d7179e1305fac7d293f4102a4ad4fd5
|
|
e62510b95d3f413d48b0461f1febf032bf1a8a4ed19a1bff9095000b4ce894fb
|
|
988001fdf9f85c0af63d15d63d9ba2d0d6ac37671c874dad311b58c020078a2b
|
|
138f39808735c397eba6671200762289e98909a16525cd6bb7298ace0f97d013
|
|
c8100ac1aa2ba84f865762546d7f23177787d6b9ed41f88c7cc0e065b2aa3f70
|
|
c176cc0d4a2662c164fd8f18ce236cd8f5b0360cf29255ad3b7e01b3d48e3eab
|
|
830e00b58595f2e0ddf3818c7584dd632fb4331d1c451b92637056b5fc583dd8
|
|
9f2917a875332da8a6aad520694a22d339a64dbae5d1cbda746794ba08c844c5
|
|
5951d06851162dad4a1af77b36e7a99f2c34bcf29e8cbeee3a0473e02e3b9bbf
|
|
f15f055955d5e97f589f1a73b97f28869f7f36e754833c63163f08da93cd124e
|
|
a4c1993803e886e01a12576722033c4a9ba2662a68ac3f03c156197dcb4ed4fc
|
|
c274bec73e0f648a3b0b9d438fd2f9288012c4c2fbdb688cf4e4a14d10a0040b
|
|
56716c7961ee7ef3c46fea425a2e65f7c763bcefb01ffa48ffd281bcb889a834
|
|
e8df96d5a449ba1360e2a9d406ed7a72fd99c8908a8e503eeb42a56457d7bfd7
|
|
1034bbba6e54dc80b6b374ecdf019e28e20f46345c97fe3a564282a3776223d4
|
|
e322f50781759491687a68e8b10d4183344ae734d35353180fad6fb5229080e6
|
|
f685139ed3ef3a04c46720633ec9c7f247a13dab9ffc2644dca1938f1c216331
|
|
e886eac66821a859b89f06238d0edd53bf5820d341ebc71b4c76895854086dd3
|
|
2d596b115ad1011bf19b3a122d17d62f9d23af1acbeeb9fee404a40d79a5295f
|
|
13e40dd997a43541e9de81e349f356e8298710581bfdc5d54ae5708197f179e5
|
|
66e9a5bcd5ed7c105b752a964c01131be38ce21971154099d56a0b672d4c4527
|
|
cc029c715801d3269dc44c12b8669c1c64d039a3b302d16053d731ab2e349094
|
|
df05da619cb9f8415f41f085e9e209467a30bcc688a66f945dce8f44fe465da9
|
|
bfdd7d9be8a08b4e52f0fb30e3b076bbfe8989d4e67c736ac8528b0de76666d9
|
|
b4020bf15314bef248515180ba60d0b7cb7df658f55e5cc923735a9ef5de1720
|
|
caa9e0255916545c2e8154d5d0daf27482a7cea22fe0542d278cb0217d147206
|
|
249ec35281833b0be9cf2deb1683aa24929f9fc635c17bf8b5afc4b999ef135d
|
|
c2a4c5b1544e9eb50179c101eaefbc1d7659c91d3a1780c12a7e62940fb80c8d
|
|
917369d68c97db347f0d7c794ea08196ed7af7eaca196cf07aade3fdabe36830
|
|
7e706dc203c4c0c20edab4f4d2b35e415657d3e394663971c8b746361fa0c674
|
|
3f0f2d979f65c16b40cb9366ad6dfbbfbc780082682250c7417b4fc84b06d7a8"
|