234 lines
8.9 KiB
Bash
234 lines
8.9 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=61.0.2
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/firefox/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
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="
|
|
8b6340aaf238b2307d55c86cfe32205357384491e09408884882e768eb2052e6
|
|
16d851f5431fe52f9d427acd27dc01a0a2fafe0a785577b8d9e033478015384c
|
|
05e13c44556f2fdc5cfe75d744f6c970cad1407e29de60ff5900b91740972f15
|
|
c499fea9ceae02f44eda79d75e0cfc59d926feb58277d9c15535fda13fda055d
|
|
9cd58c42bb225436e29eba8a14042810ad8f0f42efbab88c3adc2950045d1789
|
|
d0de5ad12441885054c17d8da3c31f93ac74636c31caa05cf2cccc454cbb598e
|
|
783f44afff85f361236a48992be3b05687a0c66d012e3697d46e0ecbaafba13f
|
|
b64d3ae3387c6df5b5b6833f9f2fa553160532134f965d7db7a47a2b0624b7ee
|
|
ac40b01a899be63daebd84bff25578bb0837f36c9872a40d52599b50d55e3b7c
|
|
c9b04cf843868e5f582aca3c064fa45ec0079f6760ec4f12a93a5da2b170359d
|
|
645d2782d5009e970deefa060350907cf05de26e0de575394f9d094e1a448454
|
|
b1abcd8b4342c6a99cac3ecfb2aae5b6e2f2a056675089ea439320d17ec3a641
|
|
afc69bee1fd0228245ae858371701e49109ad8c723cd0b3c8a4428592b89f648
|
|
20b33bede6ec0b9312206f41f7caaa368821c68e30bddad7ef5f7fa6046538e4
|
|
405bdeb457b9035f74196b6f960b3c53a0b209207fb260decd32a04334d23ea9
|
|
b85e45d7757ae30ad662bf1819882232f8f405924db4c0142876d9808047a0db
|
|
8e4de25be6cca432b0b0572045a80a223205202a87bf51b0231faf4f0ae1f60b
|
|
7c6d256022a6e70f7de44445c9ed51297d6751b0d74cabe3d2d9a55fa641d7ab
|
|
773dd80a205d6ad0e759b7916fdb74cfdffea01e087ab65968aa4340ff7acb63
|
|
2aebccbc0e0fd94fe128cb95e1eee38b372509fb1977104b32889c233c6f51f3
|
|
e2dbeaa56fa7c666ec64023a0b186a2dcb6b768a08b0a02920c2cd00ac660ed3
|
|
23dedb1da84966da330590627cfc3fc602548a6bdc38dd162885a4db5f4a5c80
|
|
f24167d2dbed92538aae84475750da8a1bf6ec749d2370900430e7811a18c94d
|
|
3cf8b7433b2c4464f651d8eaf8733243a7c5f4c27cf7166aeb1a2329150d02d0
|
|
6344d887ce04460c21cc3c945047f1f7d27248aa7c6f739f384cd48ecfb6c266
|
|
cabe75cd94f2f9a09a50b7879d0c34a8a45bd61bdaf94d52fcf0b72178677af7
|
|
b6f4ac03d67ee3e2bfdbf4986733182e36af9f3939f7d361510304dfefb8934f
|
|
662de05e24e30397582d4e59bd3ac1ba3b9c5a2d60d77227342ab557f86ef8ed
|
|
ebfe28f447815eab3d4e5053b575a8ce95dd9454c5bdb243d67c262714902cd4
|
|
adac19295ab07f349040f173d9891728434146d1438ade5a0b4acd150e1ba340
|
|
ef888a92a4a0ecd52c98dd2876481847ca222ece5230d6290b48bc64d2de32d6
|
|
da8830b60ac46b819a70d3a98fd696e7dc3bf2365c58c1e6fd2e6bc91ba41b66
|
|
2d8df3bd8e42d1c9bcb275dbe20f1530a097acac94635fef3448965249206997
|
|
62ea9ab64a138f158bc031764a8fc5fd8b99a1f3e89a22a751951ae6be3b3c49
|
|
4b77011c87fd54ade2ce435f2cefed7714948b40848070ee8faaf16a3cc846ff
|
|
99821b084929c0f3b464b42d3dc139880165d18cc864404c235486f142ae7ad5
|
|
ac809ec0e0fc2f9cf305df38af6839111e66b5f6d3934c71374bb474bdaf8716
|
|
cfdba133835e6c033a87d5c097065ff6cdc91068670c1c1ba6a18c1d36dd818a
|
|
ff185676f8283374eb47ae51be2a771cfaa3f5e6c2f1ee49316e6011ee9b7b58
|
|
6790068f5ab2f2b68790dd3514efcd56331a716e1e6629ae05e5a80b40f1bf8f
|
|
0b6871f03b9cf2ddfae8f56c9678bda9909d1fefdb00860155cbc78811b9a881
|
|
8eb3f195456118fc088b26c9a87eba8c7fd2729de06d9239daf640a36e6e053d
|
|
3f6164ecfd3b5843042f4af91408e7e940ea9dec7400d83b960db0dc2d51ef90
|
|
25a2c1b5758ad8f733516a854e47e041c06d00d872856d5e490831fbee2f467b
|
|
04b6fbe257cbd19ff744b3ed20aef06a71d17014cc81c036417bc4557d1ef8ce
|
|
da00318d0500a31b0da22c6b132a7afdbd81488cb961f316aabfb5a4ea9816fc
|
|
7c2f2d4cf869d2ce59c659fc7357d2e9370b4dd3b123c18fb851aaf6712e438f
|
|
84bd3e374584f3d5cc48ca5cb586c24c559925236dd9feb0fe51ac2f12a15c51
|
|
626bcd0ab60940c8d5a3ddfc7dad5c71691517e7536d92215e886d8c3edd0c1c
|
|
8720f674ef5088bafc3f93030a0249e14a1b0f62dad3be0d76aa87324fe355ce
|
|
6e27023d0767748198d567723049b4d69a52a1a90273dc72592b3704706a4ab2
|
|
03ca5ef5b890aec0a8fd0b23053b9852f5b92a2e4d61b8aa78867a223eac46a9
|
|
e77825c5b34aae2341d27f367942f29e9c8c8785a1a453f1f2322e9afcb56e65
|
|
e19ebc4397d7f586d2928d4686b45b8cf4cf4a5fc0fce8cce84d03b102f27f9e
|
|
1121f260792a9de32b12ef6ac654a24b80e04c0266a4140aa37a7aaa5934f326
|
|
2e2f2278dedd39fcf30fc0c44ce88cfc4c9a6891e5f591d8e481c92752dbfeaa
|
|
21acff07a700217f72747ae2252fec8e7cd230909d9b293322981526990ae68c
|
|
1341ace9dcfe26991f1c80df9452a18837d1e9565fd0a56a0d8fa98ce47393c4
|
|
f1804caa3ac89fb7d8910f4cc2d2d086e578e224b2999219d4e2e676a12a7f01
|
|
14241bc0764f5f4ae21ed67fc350e57364dae9572f5cb2e8f4ec39bb31bb3339
|
|
0197e8941faf9eadd33238ccb694f0fb6bed2d20cdea422b55a61f5797b0bbd1
|
|
15cff0db1f91ce234d886b5f661740a9bf655716465b63d813bbb323ab32b12c
|
|
2a4b93956ad1c5360d87d891b4983b9b4c97944699835444bb91d46375ad6fab
|
|
8d45a7026cd284861f92294fc39fd9f4f10bff536b3243e99e0a67e9685d9d6e
|
|
9ec4e150cf00639448468229ff2561ae7030bb730b3d1e22c5cc1031758b80a2
|
|
699b13f845eb8b421054b92906cf905ebb7785177306b19f4bfefa140a53a2de
|
|
af5f14d660cd55a7ad60acaf39361b7b3ee98339485938a92451d02463b1383b
|
|
ca625d55c5f29ef4da48d8c34ebee629b736048ba39eb7ae05ffceb7f1be9563
|
|
6cdea280f172f281533f87fd1bfab40fe6f9f4ded5a1f908609cd4bc4f56f770
|
|
184d4035e5d4f16eee9c931f41f96e72839701cd1d0770090203f4fc0c6534c1
|
|
ec7228707a4aa3e759a666c61f4354830e5f7268e359a9c7c35bb39b96bc934d
|
|
0cbde7c86c4c4214ca778da4383c0a5eb21945b3f0ffa4b8c48787f5f3516a97
|
|
826e70a3b305eb13d039e90e9db4a789a63ae0e60a6303956530e3e7f2dec3ff
|
|
73b4eecb3f28f504dea034e5f434080086153f74d355e87ef3669600c505b1f4
|
|
3ca9e0f0b9258872795e7f62155059f6eb1412f0001896619f8384e97bc83eab
|
|
db9fdeea20497af2227a7b1c893bf87d4b151f2c99bd101ac8e888c7468a94ca
|
|
670c69c51d91376d0d840eaa3370a9707db3ca40c9cd098ae314ca7f63327a98
|
|
be7ba7d34d137c203aa04b5818549de401d38a4fd00358487c701e543733dc07
|
|
c6936465bd6fafbb0d4bbf2238d73064d5352ba2f3ebaa83f5ed77a10fb99b99
|
|
2bdf11ed56ce24360ba3aa9e7a18648881235dc34d4ba466c9ba35a07f507ecc
|
|
0fd7455c841c6458d3246ecf29ffd35e18fdaac469de4b78dde39c8e26599f09
|
|
23f6d309d0166cc10af64d04252253e65f4e204c4d07941d0bfd202cb1378756
|
|
aec290fa758dab4cf3ebde5b5bcc20c95cac089a4beb66416ba1ed88dc6fdc1b
|
|
9a7a6b4c0943780c8b3d9d5bdf4316a3ffd62d6592de3bfdd3d620a09451c00a
|
|
aede22d1ad10d37b77ba167b94bbd7e0a2a7da98b9c634a3e6b296810a651764
|
|
dccd04bdcf3557d3c0b126f7c0ce5a27a91c6011d5b70ddef743bdf741ee9720
|
|
11d63d2263ee0c17a9522ceaf14a8066b0a5f9027aa500a2fc578d6a7235bd76
|
|
2c4d15fde2082b858b9e89402aa9da92b3a459808866b10eca2f169c81c59723
|
|
953b51a4866173d89c203ed449258a2b84ffce6495bf9c5b79261c754e4f1eb4
|
|
76fac29281d9d3b8e8ff21f4fbe2927a017f2432cd37dd055201f60b539511be
|
|
1c8a8174cc70c363fed8f0ee3a988f686a5d740846b082ebe93ebd5d38e2be1d
|
|
1e07f0096d6899bd4c07b9f5fd7fc94e52a254e0d6e61a8bda245e2ed725057f
|
|
ed3b70ce7114c8365e7997d3ca6ac550781b4f878b1f788d092e78d5ef394b64
|
|
b2e1b60b106e83c8eced42fa32710ed98eecb0869f43f5744d1e341ecd47a695"
|