void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=84.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
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="94b0bd6f285775715a97145b6c4e8d6feef3b94682d124f161f98c2f2cbd4670
c4db135e18be2c300f3f27453e83378d35b1c954e0e3d958ab61936aa977883a
5320df230a7d0a680b4daa6d6908548c2957562823a8229c3f19d5e1183343a7
cc7a85e929c8f3a01516342ab608f9acbf2aaa03bc43fd5612300b430f5fea29
7ef0e96819501ce8dc8d3ebbeb8bb832314201f733710ffb81351318a3f22dfc
49579dc21ec917694df9509852b8bf919fe0cf38b2a60b0a32460de3c37e97a2
93f19f3313008308cd1d4e8eb1f3fbe05210775758a234367713ac3e71e71972
47ad3f8ce909feff19ccbcdcf2275dfe697e504b1ca164124a9eec9f1e816836
176a3cdfe39084e97b607198200a551cb23789b2cbc43eff460e1221c96e065a
1910145457eb8833b62d60ff54d735446b9420129f7a6239b993273fa7b94d79
d070ce5ad03706d3c281bdae7af2ce680671a958113d244413bb862821187d9e
587301ecdb55992a224e54132e07db16b196b60cf3a75fc47052dfedd1582422
a9413ab019266b0d3d8d27d08521c235b8ef0214d6ce01e147975d020a673f62
c6cebc4ee4cce3bb4135f8272d11a42c84383f2be2f45246b4cf454bd0977622
13778ed0f750e3218b809f11ba8f7a1521ac0c691cda846822aa8f9198b22cca
23043540a526e9e36f1afac57840e35059ccfe838079ce0835a56a80a807920e
e1c15d5e6a33df4752e70befc67cd188cef53947f77ab565a537e1424706495e
b37e8cb11a39e65478a674ce73afba192b8f67a97cdf01dda07a52efb54e4956
37e8201fdb786753f097d36cd8f4b4724863878c6ae9bfa44bf87d8b5d6a63f8
09f3d0305d75e02aca6c9522a5dbb96f325e21bcc744e2b66ad75fc66ba9608d
53174122dff9e8dcc3469cc559776ff88a75f0f3938abc5913baeca43f2adbbc
e35827598cea81434db5ad8a6d4ce266d911e4fe47367be6710a0a3576c8cfc4
0c994ae57e9442251fe1fe2a04705926fbfbc81dfaf858c75c19ae32ad9a1e07
7d5ccd03550887d1d79fa5903f2d08bcc18e858eb91170b3818fccd52fb4b97b
a69dd7da11e30951459411e67b02b559b03ccb9d254ce436401f0797461ff630
08dcbb4f3175c05d20ce2492d22dbe48f4b367fcdc74ae8192babcb9555b4eb4
f4656e4fe6aa3ce8662600929b799796cf3ebb09eec861e63a0dedd4cc025c5c
d2b981338c7eb6ee64d6de420f5059787bd9fa2516896fa53d6540a7fd43b377
addc3c02591e9ed0d75c8c99f79e4495b7ea680243cceed2b5f5c4a829d49e6f
2968830fe5788a152c9af519ecda0081bda1e303229b188c3e03b99cb89aa284
c5979d3270b43f616bc3c78cd0afe085eaaa3f8e24b1557d199bc5cee83c1f69
c6eead14ee828dde3c237157d6743d5d28ffff74d9c5994fe36dc9dd5489b44f
ef5da110ff5db1fa41437587e0d4232ab5ba684615e5878196f6fb3db9fabff5
9181e08d987bfdd4e1e6a6090b7b21b1ec7c53e96be248050518c5eab34e5f34
96f09ef0e7a68873a2d95794e4ee8302654881df85c21c80bdac02bfd1bab335
0d582e6e1cf9cdc694a3e85c4f9cf36a0c59e3bf838953c31ca58ed2d66f5735
e541c76d34270ef558573339cfd14f5c09a3189f884c2a7265c1c88375c79b58
e0c1e7cb9f75bed76c388705a5679d1d41bff1107214dcfc9ca910a7c6f571a4
e909d9dd839cc3890bdcec29e3496b299ae69388fac43674510cd9fae6a4e4b8
99258abe42d59457b1fba7638259568ccc218106e9d5827b4def893c29b470a8
168466645395d8498f3c13eb09cf13314c9b0b9018d0769f3e613c0e9514506e
857b392925188807ff5521adeaf0b6a0ff259f99ef09ac3cfec0cc7b1ee32180
f040bc7b60564d70c25a9296fd4f11e484e9b74808822e85788c06c897bca5b5
06134e687b99d7e68bce477cf85c54317dba124dce486352dc5a6a1876e54f67
a41850d4f690e1580bb7c37d8443c29494f33bc2b5a6d4ffeed22c58ec2ae776
ef3301a5afdc0f217edcdffc0a959cd7b8a18861f2658d99daa2949a8745ae47
cdc8e5b18987d6640f782f1dab728f14a80e97d27a680f186b7479c7ed0a76e6
e1a672a052c72a94dc3ff8816235824aca20b4481bf1c48d60721b49937fe529
1a2b88bc6710f07f77f0579d1409d37cb3f7a2d4ec2bdde1f0d4c992d05d9fed
d4e90b3abfd6ed2ddee7a2cf98bf1492e145a83b4be8711d93e094d56423a54d
120560d88a624c7ba0de23bc23fa996e42b0727c3e97cc0a4c9f667246b868b4
010ffa6887ef0c9cf03c81922b22ab04b55c2d0c08d93a3fe683f14d442e9b15
8d15fd2f21cbec41cca4151242ca2c15d681b96a1ea12f2fe06f4d17c8670e3c
6cc51922cee863b11524ed638e1d4a2ed9b2249a76b468791a471051e05e1451
e0f894c991c0f59133f369b9ec1ad2b68e521705163580025410f09250c26e60
488f340d031de8ce7a4a9bb9393390200849f66fb050cbbe7aa6a9c237c1a94e
0255c4f216257a7bb6da94dabd8c9528ade8b87313c7ab81be9d6e76d02a230b
62486e6f43cd57dd531a03591b95040ee7d98ba1fc74b6c2dc3364090bb50ea0
2b1d994675d33c80cda210b2d3fd88bb3051d26b9c551672aad6cfbf56ac2f1e
3a7384888b4894f386bf450c39dee9ea423697e4c784d886d8b63fc1826f98e5
2dd784fcafb0208279996f0974ed3a89a6ec11faa9dc6865e7e6bb314a93f5b2
2beb59d3d2c853dfc77a11d8418b13d297af71b7a83a2daeb7acb0daf5c42d40
22f6fdd526430d359c48aa77a1b6e87db15e5cc6f1910f44a19f89e6c9d1f597
4fee301a969835ce145fa91dcbee8b0c902e5b3ed4b5890730285c48a577d2f0
6312462a704beb7cabfb1dd5e19b4da0221a088484fd39a73197edbb17c3eb6e
329cace533171098d65139bd9fc056db9fd1cd5bc74917067296b3d22d493bab
612b4e785458592dc5e53bafac4eacea2058d5a9a474b79318b664fd4ff2d2da
84e0574c5c0f104a8f18317b26e93b37417aebfb7ff9ef3d53fffa722a241a60
e3da154704200101eaccefaf982ab663f70fa3c478ca2faa9e32df639309f79d
9e25eb5d25ade0dd06d5fc04dbe066783bb517df742bbab64aef845552e6c315
0c6b239034e21bf2032fe593a861d5ab1d5d65b1b9e15c165519791cf3d6287f
295ffe3f03bd32f0a7db473a4075fa517c435c15e31f1f4362391a898e15cead
c51f29af4135e6a35c29fb8d253b71ffc512ffd3704bf76c9d9a17f5d40efbd2
b5329b44f7ca76a6903ebc52e33538fb0c5dd935961c30f517a6d4f4fc97a09e
378133f57d3858dd76d8f744e62d2812dd4f9235b408ea8d7b718f289827ccb8
ca9da8481ca8052142ff4b1cf2545f0cf0f51f26ba2ce3191606ce9c4d7b4396
dada3b72a10ea9699d4c569d8cdb50c36b7077dd18f1c8d13817539848c2e0b9
4185f1351051f33a5728be8e177d359e29d933a01e9db99fe330d364e02df00d
304eccf0e97f56d4c92c3f71abca23c4fcdb9891f2501fb8659f0a634250b245
6f506d2af8c13b3319c0c5fb859a719350be94ccc3c93e654cad78234ddda072
d28f7b9412fce3547865019cfe14349da2afe62224d4b99754c433b4eb58f415
9b27ee6728cd386510d9a9ec86e426477ec6595cb1440b04d00d61585abc2bce
6e3b75e0bc5a8688202eb51990cad69c66e817262c77b4e28b33c488057de1f9
cd34159677b1870897fb03f1e8f058e95992145f2fb62560f1a93d0783dd6fd0
53b1de3ba82b65511cba4999b86d77490e40a332d1d5810627fbc0af8e395e40
10fe9582ffbd42de78e436ea0b297aef7459feb825c3d09dceb6d3dcfd8153eb
dcd03f136f7a32002373ad2e0871003d1882bc34ac73ec6bd5625ae3b6c0f5b1
a4c3e548edc1f3306c4cd07071c94f20a77074c08a2c6669d6930f197dae2b87
e11f07bcd00e6a3b72f6af2280867783a92ba3dce1cb8cdf786f35bb8c40fae4
5316509e6a7360316d35283d3110298a8ea2aab8bc9b2509c8a0fd46354d0052
74beeffbd3db2f292b4e2f975e8ce4ea2d997042e4844d7bbb6d28beee9565c6
fb383a17e945d55310a78a8f42bb1e28380c3686cd3e8ed6a8adff614f1c5ca4
3a9d9a4f25b179b31bfb4b33722df6bfda29b432a004446d293d0b15997c55e6
67a035724ca388ef134a5a66360b2bfe928869678028714cb778a7ee5a0cd4f2
ccbf810ee25e84dea7b9f5181dcfc977c060bc985d900e2234c3e1e80a87e4c6
1462ec5fd7720af4bfb3faaa4aef3eec6c28c3d86bb90d4830b9d8dbcbfb27b3"