void-packages/srcpkgs/firefox-esr-i18n/template

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.2.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
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"'
'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="1b2b833b8122d6f1cd6361ee22a06b576db06e984fc8860acf158240451869b2
a5b0960eb0f03da27da2ac9546d46a124bb5c04b85aedd845c41dbe792a29b54
ab9ae7cc3267c479e80523ff098bfe04b6545b4562d15828b25dade69531906a
2819be31c0aa016fda3283e47ba3888160a8624ae98bba1918fc4677dfc0aafd
7eb6f1899079872fd0137dbcad3db167bb559e8e537cc33a1c9b7b1db4de5b9e
066e0fb03339768980d9410866f4b6a55658076bef14a8c583e619735fe969b4
9623abd417b94066f4983963b642d6acac915b7e0e95a912791116430c35dea8
d0a81bc8b466cfa57a2c9e06af69db6961d5e14ba8a8f0420c2a2a164075f31a
1088aabb5cdbf6f332eb1d381add64dd1600c16822a760f3f49effcd0931feb4
a3ed954d5af9d1755b7fb5b4fd08384cdf53c34b7a79f9ec9999a7c26f83bd67
f0bff1fcf96944aad0d7cb6f2fd199f87febc8d7d2e50c169ecefad9f5cbfd56
82f8e2d2113cabd28d08b129b80269f8aba4abf7352176c6d4c6001ce7b8836a
a006100a5092325c0c3e18b34dc786b6a07c007b8ccc569c9540a173b263be52
426e6f04e4d3b3a79451301947c744835c8b2ad350ce8a06403ec4ddcb04e9a9
0eb188aca78b03c8e88635bb8955a9e90214e9ec9dede861795a527c33142a5f
c60a7f51b331cc743504159677ad665ef38098082f763c0394e73c0c7bf3f685
dde7a7faafd6e902f34ffbf5bd1f639da2b5f69c451edd48b708617b70c2f2eb
3c1ec5c168364bbf1e69c227cf7e15f7a0c96fcfd10924c7017329ba1d3bffe1
8dd2a8e17eefbdab6f77a439e2225b5716e6aeda60cb3a91013547d11a85e310
5489d84e7e09d5d461ef3db98294dbbf8c62f7fd5f875709efdd9c83bfece928
10da2d6eb600b86cf5e994e983c3545ccf9ded04ea8a6f6b24195ee6fe79e4b5
5c5a71116913e67b3707c59706e3c12e7a0c7be7ec3b78cce13d9e24abb0f038
a6489331e5caff34c748a783455058776db94a239d7f6583c8686639762fa251
58993cc094340092f578d8cc376f875112fdaf01615f3938db8ad953d891b9ad
014b303877699aa2c39effbf4ee04134e8001d166f8988c6d58d6c18edb8532a
f311b908e63b8f1e6d852ef29399883191a37b44fe51ca31a487184a97a9dddc
d6684a228c150b19f6765519b3e0caac94497adab919bb1dd516fed4aabae484
d3deb2c12d0466af161d509d1d2b38f7e85b49f8a520d5df0280cb29fac03049
f92d1bdf3e25caf91962f0c2002c4cbc46263046657aadeb80fc0160aa6a5df9
5c7a146b9feed15e4dabe9e93b840e244ef4867b4a1e90759ba90f8c48f9d77e
9a6b7fcc3d735bff9fb0038ce10e3e477c631e72b49f050144b24fd4fccad965
c6b58061ee0153c86cbc4778debcf715e69625011179306f8c2f93316aa4ea53
39b179cf01417978366173855f35c4fc4b83715edf043879e00ecbf96af27b0c
ad538b32574e10e485d8f24c68e14ed44c7c5db3e6ae2e19b1b5a091b62a2352
d5f79b94e0f8386c475d62acdc979b2ca047c343508deabe3754ee1cf61a37ec
0f15c349c55e6ac3973347e75529960503707479ce65125553d1608d1f0024a2
1d4da7a0e374b7679080d6f6590046da63e9582a82e7e74f430b19885f0a5cb1
8ca510271a8aeb789f8f91cb9c56f68d2e7784eaae9c5caeecce25529b5dd280
060cd79b4e4594a8a24309cea93706f64fa6758f550f7c55f16f340f1d648a99
9bf0aa22418c9bf7453f389240b28bc4b6507432a120067423d8a8ed60cbe6fc
b3f7eccd4f37d2d5a65308630b33fba68ec899499031a33e17e5bd25294b1a5d
1ac6ff156d13e45f9569f8b98dfc4cbbfcb673d2ef509ec60a32972c0613ed8a
cb8a62443db986a21594aa7324e8ba6933f88023f7e8edac3a70ca61be9ad076
14cf4ac5edc33809a6a540ad54ea14021c95b673c80bfcc456f68c0b8953455a
809f67282bd2edf3443572fbbc9c6bd7d0bf6bf011bf1f733a9d7203bae6d3f4
8db74a213fe1df6dad87298cfb004a02591830dbd3e4a2d86e0647d6809dcadb
af16ece04e0eb4b2979f51745ded99dda8cc0afb4143e078b3303dedba3deb1d
0217ea37975248465fd6987705363c570b54b123ca3293d39f23d4fac53bdf8e
9776c33b255707132bea73e17805b571e8942c9034cc154ebe438b234d45753a
83e6f4d6bc460bd6a07b645634cdf962a8cd3f479740e48318cc5376d580eb50
57cd93d9e7122e13904bb9fd1b62860fa849000dbb1651d1e0f1463542a563c6
4502720ed8f5f6aae568d5a6f1911942eb89f6018328464b00b67b75a54fcabb
3755f9201d40014579e2b9583542ded8621f22111829c5aafa3465b2a861979f
f39d60727a1bf082d6d1f9b6a3ca1b9457091c26253e0ded4bb3b6c2ed207700
2feaa565808ad1eb10748cd6d7fb86432721c3aafaeca990bd9217911821590c
3202de6efc73b18e38500edfba4085e6c8d87ede91c5d7e517865a35e583c75f
323d2982e88537da5d9ce53366eeaac7d0744cc3d9926266ebcba8fcab9042ef
87d36187e038efeb25c5fc5f4865432d92d947c394dc9915d063253c68e0c593
06fa877cda032ef6433a90bb98d989804056495edc816c846bd5eb4f0e2558c1
8fc68f6014151d7fbe2b183ece81357bd0db950169727cacea39b6a54ec2317b
dcb81d5b70c5371a3e05e2595120745aa188877c521c5ebf9825d189c99178bc
cc730257f0c9715be76129153d873fe98ca6cbc1c4905ad974f0a3ecee8712ef
fe0f100525319d0e43655090f2f7f1561ca0b9899d7e903f75f80d3e37775ea1
e9067f4da7a54866744065cf4efa72f6b81c79496efcce875017231969b4f8b0
2b2429a4c5245d0aea3e317a83e3b6d82e24e4b8db2238626503c0abda5aa0da
1fd9d4983b9e87d164f94708c6c73485806132d52eabab8d9620f24e31ff262e
b5ffa8391594c832eb4cf665b85f580362f805796e9af5b9f5d5342b12b272c7
e2defd45ceca49d1ff3062e095dc60cee1441a25bac08945b4e6f233dfa0f471
6f25fe33fe46a546cfd67c979ef781cd662c84096612190e5705c111d72d6b31
20639ee2ee0a1f8188e12307520a5514d9fac70e65bab5d8624254c5ce7e4a32
30e7eca6c31114e934919e1eeabce3447fa778fbde35fb58e6c09b9771a2c717
bee3bf0d01abbaa3ca8cbae7bde8822e7f73394e573992822b43986876646b0e
93dec63997d31b27271678f1a1765437a69f85695b66d9ee2f6177c89c24a040
332b33195a2c37e0d428c424ebc3d16c23e82f03178d923053ba12215775f4f7
b5b026ed94f0a19db16ecb56308b3d210c3dbbcf1838abdbb459b39bfe40cf00
3a9f8a6d9af871a1cabf271b4a88adbcb7005b586ab4a0d28d3fb782d879e054
0dd31f2593198a3b2112473e3fc12bd5e1f2b493fbb43d31d27b21a25e085689
de6a88dd30b445faa88b4bc10d1732eefc4c30ce939fad09382a3e55c1b26f3b
0d320f2ef36f4655c08b954ce0a8101697fa1354aa4d42931fb8bb20f5522fe9
4911500ee8c522988483f97d2a76272b39038699b709d8c7ecaa615df5c02b2b
20bf12f4d46721110c45db2b03b3949abfe8989da5652c77a6371dd0958c2fef
2b3a45daaab640affb6da37e7cced3a5bcd3bff51c6b182658f0d4b0efa77aaf
0aa0917e1755194b3040ae156083a4e38f4b5593717577a87b49bfe35d70b10a
babc10519fd8adc0a6153a1a957af61369f0dab8af2a42a0e897a42f7785581e
3d947f24177dcf0f45f7ead13c1bc5017f98e83a64486e7bde8d13ba7a8c12ae
17c5ca51fd380736587fdabd0b016ce1c4198d56ff8f8063fcd37d3021fa9a6c
981503ec5b272d4f5e1cf25bdc25f429ff2788ff5929afa230c26ddc9dd3171d
a8ec77edfb37507e933e0ab94a684817666ff03e3de7242420495d40cf1340e1
bd110c4d71626846d9b909560fec23fe25934cd01e5392d297e50cd26d60cd87
8d35104cfb4f86ae89ae5048509a0a6a1cfebf3ec8a40a8ddce0de91f3b13eef
78cfc87da632600a1c4aa22b2a43b2dfd193d2f45f7cdfb874e8b6caa2a6929a
d94c7d96d1c8ec7e2842578f4703ded6b75be53e6934086e6a5b289e4d7aa476
9d4185117872a09d989d01dccdd81f3266e0eed3458480f78d810f2d1f20f990"