void-packages/srcpkgs/firefox-i18n/template

233 lines
9.0 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=65.0.1
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
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>=${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="4882c755c4ad198261e32ee3a7ff10cba700c21bbac5b1a2876fde6e8d38345c
53e0568f8d509a168d523c1b3ef451cdf6e5a905cced33c4442117073a606a29
0375040ca1bbcde7f33f4aba7cdc80b88a2b2c257c8f581891ed4e737c7fb185
b0e5c6c25e6ffcd6a60bebc93547b9ec7d4649f163ceed99548a831174d7f82f
4900b4db3de66110b408908d08fe714dc5f8b06d1da2c1d60d1fb2470a8bc996
c96755886065388dea39dd7227bcb5913baedaad1e95c1ce1b349da03f70fadf
3d1b73b99b2d14e10ab70529df4ddfceac51335e2d9125714486dd6acc2f8053
f470c6db76be0c234aefe5cc5c586bb5d8c8fed55301202960986e02e97f7c23
ab6e64fb8cae6f7ca1deeb6548c071e584eb321049e3befc1b25db2372726f7f
8e4b5eb8cb0deff740b92527a087d395f4a7fab7161924be746c267056fde96f
7b08cef9fda68022d3466929906c10a53f2bacde4518ef7ea247a526e537ad5c
2642ace02e559a1318b280955bd3e5318ed85a155c32a0710e8f33dcd7ef4d60
b3bff09f8e10f1c4271a8caa67bbb0703dac07277162375156d60bccb9ff1298
c298b2adbf585741d638633222ad7ec3c620fbfe7b0f3cb7739a1b1ed8bef453
e4b71afab204091381c09aebe2cc0c16d1cc6b9d38933c14ccff80546812f24a
b18e9b8e8909f6979fe09615d59fd7a9277364b535b1f0b7e70974244b6e8d05
6fc4d476dea6a8405b1c184ab5e47453d55772c924a1e1482a586b8d505ac616
ddd2013b41f979e4607455c25787ec813f8398a0eb091a3934bbf20f02bf277d
d5fa265a898a1bf90a6ba87057fe2d0d8286ee080646c9b51bb3b9540334fb10
5aaf8729b9000bac421aa4e4eb4fee82edd9e0255e60efbbb67ebaa6831bdd45
1558148b7109e104e6e224bf8fa4d57f71d9b8d3b78048214692d785081cf86c
0bdec3e542f2f2b51587507441ff64063603dec2d579cf6a96466e4a69734cc2
ae45e96f25f5e96d03984a2c8c5a3244da1bb448d952b24e1197cc7ea2aece71
a416fc9fa89df86e93ac3f324a185e090d3f1396aa2cc7b13fc7d6fb6ccf1919
82ada4666228d5e7e79e4f40c3c08c8abfde2308a93866344ea4b0c592a5ab4b
39c3bdfd19db8cb41b7f075c61be9ce1847e649f251df0df559bcd34d5bb9eee
6fbfbf0b637fbadc6ae6a12098f56340dfd642d3bf471c1779096a1bd8a662c4
17356aabf310d802ca2749bc7dde31432cbae10b25ca6087107471477e7d72c1
986472da6e7d20297a00ed70654cb0d42eb744de75a2febf584b34b1b2561294
6ba8279a580f7c31a1475d0644e15dc2bb4a8086267483a217f3db4c0726163c
1ef736e5826de9dd441f74ed6737e6e77a52e68c6b18979253695b71f2434bca
c30601b1f429a13e311ad643c5281d19d29a7e7058d87db803cc55288853b766
6bde4fc6b5031c13584b3e94e1dc0a9bee877c116176784d9757ac8e3d869392
90c35ae5a4ed859de5a3ad1f4f407356ab666c5ac111951e89fd4e11ffc3e2ae
2f4da92f287908b194a17f8e5e6fec64f9ee00c707aa0b4ffe5d938f4a535366
f85a4bfe80dac0edcc9b31052b06e84976b9f68ef3502d694a095efafb5e2a72
1a9a912344ae7704a8e1fe52ad8cb429c9d54104652997c985ce632aff87c4af
bfdeddcce3cb0fca9ac6572e6a06bc6b64d0c9e2f1e8e0c64986fbd4388b7161
33427142c8ad8095570c4a58963ba005d8ba79590ad79d7c61d6aba635c61228
9e5972bd0ae30a8fd3c001573b35b3fc34f8451813bcef473b913192775f47a4
06f4bc759bfac109c98ed1d9ed4e4d9c405797783b2ba072a681b6e4029f62de
8234ec6ee77d4f23ed5ed6873125546e3f3fd305c1bd8325f8487d4ac0b1e28a
e8ab5dabd1881430dbe9003e91a129ddd0dc79b2660853f9ff73767d0f72b8ca
d0dcd8f2a610b4fec783bad1dbe9d10f3af8a5abf4ff6a2075fc8265d2a1bf59
d298116c7844e11963ce8e912fa69c165106a2312abf7c42aff6eeda75535e5b
cfb8602464eb169dfacb6b75e59200f3720d8b996e02abb281c1d604a0c4425d
e5d643c7a108963474da0a9f8fdd577aee561170b35b5f4ac2a88622e20676a9
f36bf377067b89fbe3615ad4a0be9e017c94aeea197d1515c3d449a452655bf3
8eeaef2fadaaa231cdadc37dfbe15c0353024fd3ad870578b57497617ac0cd76
506ccfbb56b2ebb81c6868778108c7187aaefad279200645d87e04c68641f79b
34102007fd82a196b9eafc97f9c64eb7fa48d8b185f66d33cb4ce1e9d5239778
aae67304cf81f1e2280bf8e470619783ea6deabe4901bbf9c9c82173dfb8d9ad
efcdfccf23f85d77e13ae6a67199431dd7fd0627bf10df535e317e65bc2183da
e3ee6c16a86e5a90b5a4f903ca6056406b92fc39089ca02f713550d05eb53886
738be8424d441a8aea47dd5c550913897ad6b5dd86b033c19d9aa1b02c6e6bb3
8f9005866a1145b1fe3cbcb4901524a2d9b23836a2b658a4b2448e960a285a06
12cb240acddadc5da32caedbeaa963d61ced712e6225d21cff2be43019ab2ad3
4dc7759e4c6b9484e49277f166ce92907294d0ef182d07baca3bc8255d1407cb
fbfc8cb12bd5baeb1f0ab49fab412887d164bdbc8c3b07bf9021e67e48bfa970
d8f1b068718f35cbdae53a6ddb34cb17e7efb532f974f019ae4918eae75d999c
fb2e9556b22f20e5565c5c072f0b9cdcf0e60678f2365c087118292fa0db14e0
13bccceaba758c9d3973d32721443cd073c359faf2efa2883b3f5b958ce21cf4
83735b4edfcccb6625e4e83436010da94de31baaea18ba98127e4c54fde6fdd4
d9fbd33c91fabc9a3af3a848785738722e926b9ed9d606a47ba94fbde301be8c
2c5c71dbed8047f11980ffde599fead54234f9025ffa381de2b006bd9379348c
7142b3b757abdaf1162033f450aa591653af070b140075ca6dcdf96b3877f406
8879dd1c8c7e2e0385137352a9d07a7ce3c1bea912a58bd6db32013072b0b4ff
28a203a00e6817197c500856e8bf560ea2822d213c0c35b202a1ab8fa9286452
e47d91a6321a41f26732c2803bc9510502bb2d82b0cfee6d3e514a7006c648a2
755f5f616d95cf8933a50de79fb4b4e298286bc7afb8cb4b124b36fdd18239d2
3f1b460b5aa787b83a792dd9892d507c0696ba19bd698cdb207352db51c03b80
a66cbf9624aead19faff20fc97fff4b35b11f759091591b566151ef639a24c64
b6f5185aa097cca1ff1ab2490843a2ddc873ff67bdc5b988cd07dbde76ad4329
46ed195bf26133de4a4087eb961c90707c10d989b9336c12247f0a8a028f9802
c52be90b021cc16af3a0449640c77fafdce833b2d7c28843df1abc178540a5ca
cba7034301b5979cca882096f78b653c6a590a7e850d87faf19dbc094aadfbce
87c4d3fa98b430ef65f9754763a5b029fd2e8925c0fa05b075f9981bc16af752
3fe1c21e90701780d48e4a94db3dd37b5db873b78fe25284b05b12f4c3da13a9
d1e5d7ec5e1219d65153ae089c8dacc5e373ace5f705522b5985f15d760943be
d5ea42421d46e55fa5468ee6eaf8b2a976bcaaeb5f013786b37b18791f546554
e531db675dc1768764adb380428d02c077ba3875fae7c841c51464808d900b2f
a7cd381e8e2048474c2ea35d50b199b756e0b6a9eaa9b56bae9c339f87da7530
5b444f078647de63ce8f3ffec341647d6493ed38bab84d0309f4cc4b7dc5739c
d5fa947636f865ad16b0c6902fe6f9bdd450a9c888067f2e5f2046693f99605a
828aa513c4f6a147670e360f6665aab1986f1b6ce158525b916f10c5e9d06b76
96879d1aba317232aee1f5f6a273812a4b95ea79a0e06b78954dc7bdcb2e7023
60e75b83c0ffc1302e25870777570319bdfd5bcfcff3a3123572f203fb06c00d
465ff1cd24af4c2e297760b4133e0e0f8a527c90465b9577b7b549553d06ffc8
255b61c6b23d5849530f51e96c341b140a79bf3c66cb05e37214ae4da1dd0fd2
7a8e335ca797ef7daae387c021d643daf5ffdef197a749946bb9e0f87e9ac8ea
e78e53d4ef5b5e360e5ef8be038e2e807fb4d3825afc06fd1d8c4dcf1f279be4
84aae51d83dee791573b19440d92160b70b2face6a7a59ff6e193ef01c8df67a
d379fe598a4568844a68e6899934e18e42ee37a34abbd12ff7777f599b6853b9
565213ee9f2d0c73f1fe55503421f25e5db95b4115db9b24e8af7a1fd08440cc"