void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=123.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="b0be6e70bcce5301b6e8e0c411f484084363629cccd3218f1ee93ebfc16c9d2e
9f059b90ed93c6a62ea03f0cd4081ee7b7f62ba24c5d17b7f02dafedb12afc05
4a17bc2781265e1aeb96bafad1884ae26ad9578d212f3a707496823a0da5fde2
5c6e624d9b2874346e75a19821848023f9a3e7ae4ff8ab8559de8961341fa446
2e842a0bad784802190ff1f3cb093a494840a4968599e2d57e5e4a13e01ea59d
9c8bc2cda53723a8b3b5439b8b9271aa00aa985f3ae76b27f21149953ef1f734
fdb156eea137104113bb1bb3f7cf2eddae6e914a83a8157ea5e7731783fba173
4e66d284ece290e1aae876225a297afe01561c0b150b2db6c5d7efbfbe21ddfd
2a38998b5d92b6fa0e87938fdeadd066fc34e21ebbb74b9171ee4e3e1afb226f
5a7d34d4c4010b2164cc214550dc5e259424e035debb1884fcbdb702ce7048dd
d40497e45e1638681b2969b786378bb09a901407298b0c505cb30db586a164ff
0a4ac9b1860361fb3535b6fc61697ba597656d2c69a326876f4398b5d06e1970
74a1f5581725f7cbf20d2e91d6764a541dee267be8de657e049835931dc4029d
004ed24ac5ef010a5901e6fd909c52a6695b7ca18f148d9acb6748dcfd88764e
bf14ed0ee9e3b888e2a5b0a439617a804612f923e443112f73072deb656efa83
6f9ebef63f72d16584486a04e14f26b78c5a824680bbe730be7f9780493891fa
f7fa56c809883bb100f538c1d215d9758a97137f5f51878ab7e721ee46f2c511
cd238b5ba214c2f24c6c5900d7112bf8c8e725c31832666ce3bb32ab45f3ce89
c72bcb83fe502fdd686dacfea2e3d335a04b6bb515859fbd46c6f39ae4eb98b7
3d5974dde34507482fd3d449c42b67bb97c95ae5461bc1e3e104532e6dbe0b3f
849da15263c541dddef1ca84fa999fb0d5f5f0757ae3239d88c6f105b1f9e00c
043d09d036a8eda957265ccd8ea18e7aa611eaef782bd4c7cbf9300670711f7f
5064be6a8389c216a0d08b879f0db13242bae81831abbefd2166387ff191eae8
076f057bedec5b161c98b5a25a05488663e6cb03414219546ea1431d1074eb13
79a80bd54aee9024a78be45cb3644d33cf9eadffe0fb56a9f85e402b001d040c
16e86b6c1942650877334b4e8afab659a20736430746c972ed34f7af905cc1e8
c99f760aebcf5aa1dbddb0a04e302893d4676261d508b4c0010652616208a4c7
bf9968dc0fdff891f1890760597b05f127ce20fcab0c6b5829239cf6d81e63ef
432d5e2bb16c1836cb3772fe5091940a2d9da2da80d9a4ad7a2109ad8982e97f
8a40539e9e2cbe32952454ca8437f3b673587dda02113e270fc42c5717cf2480
0ded781ddb8cfa467a97b2cc5e375f52ca6b2193296850ef6fc4b4e491db791e
e842022d841de0c34219e9904cd19f8487fbdecfcc29ed550303e343f9bdf8d3
1044a753fec1da3613ea68fc5e6abf439c9d347789f35ea96209cc9fd971586a
aae46c8bd024d3c02f07866a39183c7be753d5abab6e9a523f74876fa043014d
8e1975b895019c8081c2835a746b42f8e49c114e0e59d80cac009e0c2dd8397c
9f28c9e1bb3c30775a9d8c7ea4c470788e0c96d2f055a2a144cb84fb0c8ade8b
4a3e5bcb7611a0945ec0e340551aba977dead65fbdb08f87a534b5b06d297c45
5e16dc1b317b109187cc05ca5864c321439f813f0cdaff7aedce9bd37cdea8af
377dca9b919987bf14bd1ace28d4b16eb2db9b89a55f1b012dca19507e5e8f1b
528776de27b40b01e2d46e83c8cceb1b815609fe80ccac44817e712c123fad1e
3f5bf3da618265baadadc8823759276c0dd88a3f6a5e2ef4d1d2a8533a116e20
b58f36f83b3f163076ea2aedc98a484d573f59b7640886bee853c2220ca59fef
9beda22e7f4c02f4006f97f44e3954d4c024725e1783ce35efa0866456bb2c59
21c5529fdea09610c45486e97dff85aafca4078432f4c5061dc0c5670a0e53c9
2b00bc3b78001cf572d9134067592a875b88524279fc75a35462753f064d296a
616b86926fdd3758c92ba10173ff9aa57a2d7cee5d14409cb39935332790252d
f58d664a5fc2435b8e673b0c862e4ba61027b31123bcd3e29455ee91c28dfa95
f203e3393c3fbb2b1fe896de5c638bf49a0580d6eb24a130012f2a531a4ba58b
86d47d4cb7772fba2a39eac8f32c4e108ecfb0fe63b91c900d68858cd8b92a25
a000cbc650ee84a862eb6de172c2e984e984ae7a457a1c5f5dd5ce63ced9805f
c893d6e8c34046daf72628f609befa17f5c427d3aab2fe8448a7fa95fac7a2e3
3753922a00b7756e73267be570300193ef8e23feb42da4b4045ea11d07f0fb30
8da51f87aa7c3358d3368f03d9cf117a53e44d2ad30b3436651a8b0d6f8c9ea4
47aa9f5fc8bd9a27b38b5d1c4ec960fed85809c4601bf93698d0f6c2fe51fcee
eedbee5f2600c9e1a43924687286ab8b307b71dfbeb7a10e8e2421febabc828b
a608b9259fe6064e12ef11b4ead4330fdb11729c1a24d7403d237c08383e15d4
e9755360da9492907f2d2259692e0e63fb23e7eab314adb44076a9a6527cf3b0
f2e22b7aa0b21ba33a9439689de81859cd9bd87a18d31a41bab183dff589f03b
eefbe3966641779c61100ced4d042f0052d98bfec69feed2425516ac7932b498
3862047f0b26ae138f79e8d89c6129f46e9267574bedc94dd53e397047c2caeb
3af06f45721a2fac06520276f99ed59deb9e892ac9a1a7e33a50538a84aecde5
7abdc7154cace37e24009bd4f79dfd332dc64dec5641caa8d6e464736c165f05
0adacd984921fe990a9bbc4e1fd45a0dc7dd7f7112da9bb2ea3248b8cdc7e158
608b010f1ec55c649bcec55a57e90762cb3d19e5a8a8ea047ca1607f0a862aa0
5cd3d4f69938454ee7714dabcdc5b0a36631d47563b35de4c361da8ccead6a5f
1082a8959b0f28ec4b50b0c8ec287f5af7f9ca053e1ff562a484b1d014815d50
f252e8781c976d6be964c5844043183e389cbb9696a994c5d72635f70f6af91c
7bccb853ac1ad40669cb8ea1d93bb08be985e145d3de4687343cfa5c8ab68234
31f7af69315be794e8935f7165c06655a5b826dc7dd6ae411488676941e4cc44
fb0715122ea0530aa3939f51497ce1fa30010d54f87c00f778791a6ce28ef3aa
934ecf2cb14d3a06c8d27507a8190ace78161d48861629e94a6c82d3d306b916
ae33d17b4b9f11ccc0dd4cfbcf1eb6bf724a451c587aca56a060ed3be75fb1f7
4198c0c42bea68d672acf103a476f85b249d864250e87995bad1112101f8f82f
ffd5af187d92d542d6976f9ece70d9e618dff682871662da223a4e5c0c894a74
b19b991369e7864bf79d9bcdf6204199fc4e62993f37fb5a698dffdef18b8a92
b51736f7b493e65f9b9e76b9b34757cecd76a6248525fb6dad76326480b38e5f
9c45b11350873ac5b7e6c650844d661cd1663160c8978068b27a7af07820f4e9
02c162441f393be022a3f75b23268fbaf515864b1eb306af3939ce331a52667f
5961e261a6bf75f84ef53b7e8c1fd1a5b6e2fa72a333b605b3b2a0c70c837a31
780957630e22c54916e3fd7a8f72a1b20b86204506f1cf51a12895e803a8c3ee
fb682e3e4e149880a70c1602469d092c112a6d1d88fd0a4de04718e590ecbf64
3eb120493c6b05359ef76f477b5feaebd65cdeed0b105f2185eac8c9657f68a8
7a6cf73590016454d3834fcad1603bbe3917096b20cbb3af26ef252ddacb55ab
be05198c719c438c79d91b4cca26925ad477ccb3c423cfe7e6fb407210b60d0c
bd8ac74981d13684b54180725c15672b3391890b6088714f56073ce351614bc3
5892983c5fdc5a26388b7c3896706f4e710c6422b6a6ed4ca50c9545e9ef463e
85af5d4b4845336913b13c875ada2f4047aea44ae9e1212e2b15c4ac6e6b9a12
55ff888b2edd4e6b294d81e99769f98aeddef06154b2dc8fa7142b2212834c58
38a25c990aa345c43a3c87131646c00f31787e47b96cd8a48c2a300dfc2a57dc
3605d3c3e65afb2a3e46ab679a34f90818d8ebb16286289d8d9529e01c2513fd
a122e7d2c3032a13071657d9e282dad588e7a1674a168fe810646a4453f5dea0
7aeed65253a9b50cce6d82049e30ea977bd82ac126a73789b73ca61e6d73a5d3
d22a80e883bc5423d006dcdddc04b3f2864c91dca006a1891886d250e316170c
1b14173bd6aae51127dc665e71042169d9d5335ab4567ca5bc527f6ed2d33898
e0575d3126b88f41b8a99e172d6195e2068788bcda0d4940f1e776c5f4da2247
c0d4d8aa7273d02f1a3efeffd0081ebd63d8510e3204e7d71933d8ac6b318a53"