void-packages/srcpkgs/firefox-i18n/template
2021-11-02 23:56:00 +01:00

238 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=94.0
revision=1
build_style=meta
short_desc="Firefox 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"'
'ca-valencia "Catalan (Valencian)"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
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="aedd5e13aabd5c130dcd1a7567a2c94fa69d2c454e2f310d58e44c282da38ca1
5130cf8407d76864a94533db04008831ebae9d4d900c98025be17dbe7e943861
fb2913edec316b5bbc6e09c3ffa5662040802359e37a6ed968adc81a642c5a85
f82e3cce9b27940be860a8dc0340f0e917328742e79c616b5906661f10097c50
682d1ffd0d1027c76cbc1dfd109a76361dc4866597c4645a5ece68d7a5cdf440
ad4485c1b09238e8bcc8258d313f987e25e35585af84cf832f29bc67e92f87cf
be4b89d6251429052d9ae512c75b59ab8dba174a9cebf6cc40eea350dbf73e42
55eff9a1b7cb7e0e8c6a5fb97c1e4f9de66c380c6b4b512fd843a68f3da880af
45858174eb26f6265eca5792693e4c051a9bdb5effc6eaee511864e7ee02b910
65ced255598f0d7e98ae70b71914a65ed67789efa9b2a64688c6ef63a13bfced
4632431d7969125cdd8f27e177ef25fa674c92ffe8960321722851941b2b05a4
3d6bf8211550e77ca9f673d870a1cae47fa6ee6f7a7e372e8f9a4f630d215305
9aa0f7f417b72f72e3447c0e4f438ca044c3fc91e5ed46be4f74293064d14df2
814b58191af0087f871e69163eb4fa9b7d7ba78eb66782324168c1043d355dd5
6b2c9b1e8ef5fbd29b3fc7a887be2fda0d37db3ed02e3904d2b5dc18a40852a1
2e6c9f036f60788a65b5c05d2e54ac60790e634ff8f94f06800df2c6a8113821
0e6201e35752963fb3591aa846fec5cf425faea90cbd390497846a6ad3b1f8fc
29f97b363c02e3b23a7a6d8319aa4909827a800b076a84addedf0e7d21f42fee
482eda912151c317060db889fa567c5ff9e6c3da4d08b40e6858e381f11264e2
61d09abbca0f43594d9adaf2272f3c8752aa02165f7cb4fb06387171accd4b82
d01d6a426eb0038e88e1bc98a9572d88edd4321d2eb4f02457bfc400bf07cb73
79d72c3fbc531d09cecb02051760149f8d3166ff709519aea4c1219c0e280acd
1fe9bbdf961e9114544d7ec0de62c7a45b44f1de76028ac989c217db28d51aa6
4b9131de001c2bde0454717098d2d2a10221a7ec106eeed855e21dfa6a138b8b
54d2a8a58de684a096e2d960d08e00418564a40dfba6e10779bff7535c485642
4f6ebbf1ee4677907b06d1e6d1fc525ce5e083c19f6f57d584b12649bc0b8f8b
bc635613551146140af4b09fc8ff6db42f12da25a763984f278c17e7093be0c1
0e08d3c9010c96874086c0e4b9d0cc7d30a3f3109b0555d2b93a5268b46f4214
9b03a928056312676a6cf480709fdf9e1b8169d35f7470dd14cce28cf6659b28
8eb95e2cc114fcb5a38005bc24b158754e5c50dcaa2355de27bd10de3c2f4b0f
2cbd800c3926d41b3efb443e5560109d464c1b68830bc49da543e6187fba62d9
06708befcba04b7351b513b5e2e81885ef3b3eb773290fbf62a929f50ad58836
113fdb182c31eedf0c20103f0bdbeae9afd107eb1e39be0d7d034a5d3f0acc8f
f4659230aac688047521bdda68d99eabe7e72b6b52bd8bb5c566829aef79a4cb
c1005571dd2e2ba27a908bb7f721df6d7bca518de149f2720756e0894d705759
3eb7337ed218f9d5591a347359beec7b4ed08c8ce22460e4620f59d78ab1c61f
6841e57c4c30df75e7fe63ea5785dbcb1f2e1e15c3fe7dba52b11cbf56ced2a0
46c8f62f7663853e2b3d201e04d2bea3b5f6d2a3d6604985376b009c6ed77672
98addd1a8e45f962b803325a40cbbe614083b654d0a0fabd13bda96caa5496d1
865ede37b99859fbb5ee74a81e0cdca24315ec5f20682a4c90da39a3b190eccb
9eaebfd15bdfd2f52a8dae5752cf69130b7c99a4bc1021ac85e42eec7ac5ffa7
eee43cdcce6e15cd86f7f73641644a660963584de8a67ec233b3855716cd51fd
c7bce562daded83cd3be09ab36d1914d6e84a282805efd9f677fe15adcf1b0dc
f9838ea7a29192827b3712f96df2ecad792d1197d73ea80c213d328ac5d31700
c7069b3b3596ef69ba3f946a6eb2d2bf8ee86d6d93ddc5398e067c88599af5bd
6088d27920345998e0244514a14f9f8fb7d1f58dca181982d3438bce28de3172
3a322aef898889a564776fcacf2c763cf2ce9a56708022ee8cd2939734fe0aa8
977bb9140273387973be872f41febc2b5ca66b6bd902a07f162f091139b3bef7
ef67fcbaec50eeb88cc50cbf74d574a4a158c9408b662db472d29ca98197d201
f4543a90bc9c8b94dd0a85ca810671e6e4c1a627817c93542bb22def01b832c2
522f3fffcf223c8f747d21a95e0a30e5868279e920e395fba7e87c7cd6378842
ada2079706cf0fa2ff2a7644900b92d8b2d612caa524d05a1dcd2bd55e56b8f0
aab7d9d162fe4477f71182aa6bc9e1a1ca002d140de0a6eb39eb19e5843c80b0
39fabe2b514b0c5089a5b9b62b2473d5c92bea654eb2f62979c3ca0fd95b6f64
81906ac1f2005ab7f5c589d7469e3be258ad5463af6f0446459476f1e62318eb
de420d1e5198422a93d7db84887156f684478931a4b07355292759b09611b925
be3cc85c5f6517f37bf3da7785f097d0ef16bf4fd017daf3aa17f9587ec15034
3e2619459ab0af0287dc0e0a26bf50f1f7abd5508086f9dc8d1b3e6a465565d2
3742b78d332b06855217f5023a8530e436cfa3bec2d9c1a7e93e8c949b30e3d2
261b50cc92d768cd88a02894f8d710003989d87de2deb3f6bcca822acb0338a5
11717d312e58f4377aa4262dc4c868da2297ea1cc618eb3c68a1da49ba2b3107
772b846575b0e5fa0c5b8484d9f8c93266ac3004ef286ee527a3e2e1cdae8dfb
8f446b76f69f217dbd4b4154b516893b528adc535a264ad3f764537d24271e9c
f0464a95c2378d422a2a739186664d455332637bf4b3829bfaaf36de9722dc37
aaf831bbb84fed8b39e33b2d907c41acb82500fb3e536561aea3e674b8980d5f
df351e87eb7f6ad1c24f8a05cd0d600c452ba39b0951ffca0323fa4e273e3a96
a7d5d1163f600a2387e010524bba504c21770ffe287374d6bad588c240d90b8e
9ace163e1a66b355c384c9e62536c048f547a1071814bc38b6608aaf11836c58
6737fa293f0ea7f92dfaa4710f679c86c6df0c61e523edfe8e954ef20c3886af
a51449afb34fae45a4d043364b117d6f905098cf7643def4c40f3f7713a14c0e
dbd34b425896b456f9e5e2a1ee373aae679e43cb5dfdd0a2e01af9f017c98e6c
a609d06a53441e8da089e609d61c24c15577cc38f2c82774d361ee97a16b5712
53a739f37e07f83e7515c6bac6a452bb93b215dde9ce1c8ca694b68a2ec0df60
5873abdce7be403aa25c07fae5b4e2622cc0b2ecd09ec06ef0ee2b555b871c60
5c519a41933cd074cb5d69a89a0f22d070c4c3800f2984c365e841abb0f1ad7e
fd0faa8c92305fe19dbd94d1ed80cb87dfb9f231f6deec7cedc4c4bd9788398b
cd9ce95d036585f16d29773a9468d80e262070a975334a6fe38cc7d9a9b38848
3675607c387d3bc0cb848a695814f4f67e0d98278c49659df6f5b9d85771e7c2
2a39d04d3878a38bdf51ceb88f2abb1673308cfdbba8b15ba949037a2e63c0e5
8e07afed85f39f9b802f07bc3e8db88ff52382202b927fa72aa4edb92e756781
290c2d1c5102260c36dbb0a1fb4e15003584d3daad5cb558b154650281574d70
875ac1629fff7a72bb1ff4abc49fa1495123bf9040d8a8031493c84499357721
bd56ddb376f48a7eb0ddff5cbe84f947f86c39bc25fd50df1f2667c8ad51c4cc
c69d76f82a2aba7e8547f5899def998457c1c0cbb452504bb6f79ffc68c18cfa
72c735116d9b0fc2500300868a9c373bc8db6317d6721f739855e643d83fa4ab
41a7de596d02f3f7457217f36694978bce3e4006c3a0558fd30c7c03adbb76c7
309d532ee07a175cc8ec40bd53a6d094f99aabae0d7c3337180747ef497cc068
63d9b14746125d42ea4b01c315e7d8186a5a8bda779ee8623d57e4aae415b5fc
06413dbec086907cbda0a130f89effe752121f596b3e9299c309d89e9cc4e678
6a0c6c355897ceb309f8c07fc09f99f538a18e339cef1e3141efb8b2823554ea
b9923737190e2e5a59c00b79724b0116dbb407c5698c8e986b92bf4ee56f85df
b013ab217c22270e9b39116f00bc1e4b09eeb15a38d709355fd424cfbf5ea065
2e667b87e19385f2a6b018ed01dc959e31ae71a21b6f3c11742cde51dec62a2f
0ecebf97293852f95ab9a7e8394c70773c5cb6067085bb689d113282104f47a4
055eedea0a2d9614809e4af9011747dca2013cf1616e2856d09e7232cfaee591
a315dc4c412d58ae2a1771d27e364922b85b5d88953fc33e3962f54c2771eb3a"