216 lines
8.3 KiB
Bash
216 lines
8.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=49.0.2
|
|
revision=1
|
|
build_style=meta
|
|
homepage="http://www.mozilla.com/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MPL-2.1"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'as "Assamese"'
|
|
'ast "Asturian"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'bn-IN "Bengali (India)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'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"'
|
|
'gu-IN "Gujarati"'
|
|
'he "Hebrew"'
|
|
'hi-IN "Hindi (India)"'
|
|
'hr "Croatian"'
|
|
'hsb "Upper Sorbian"'
|
|
'hu "Hungarian"'
|
|
'hy-AM "Armenian"'
|
|
'id "Indonesian"'
|
|
'is "Icelandic"'
|
|
'it "Italian"'
|
|
'ja "Japanese"'
|
|
'kk "Kazakh"'
|
|
'km "Khmer"'
|
|
'kn "Kannada"'
|
|
'ko "Korean"'
|
|
'lij "Ligurian"'
|
|
'lt "Lithuanian"'
|
|
'lv "Latvian"'
|
|
'mai "Maithili"'
|
|
'mk "Macedonian"'
|
|
'ml "Malayalam"'
|
|
'mr "Marathi"'
|
|
'ms "Malay"'
|
|
'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"'
|
|
'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}"
|
|
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="
|
|
45805cd9d522cc30afbb855e7f6e8016c9b49d7ad1cb3920461641d0049c305c
|
|
dc6184e706f96884bbad38a0f3a7ec727a3da287551473b0c85dbd9acac6781a
|
|
7de53205c8e81e6b0bfc04a400f303a369caba6597857df5e7b646bfae24cd15
|
|
123f5a08a2356b2cda3ba73ab39ada518d5eb16de537163f7ea9a0cc180087d2
|
|
29f4aa1e938bfa5c7d305b6a932c6cf15a55fafa244e71785566099e2adf8da2
|
|
9ea65f49a68555babbe94b1c3739da0df8cfb1233ea2a78a560fdbe7d4379937
|
|
e59042399f248ccaf614884f73e25bb65e56f24cb1f5190b09f7e839ef71d20d
|
|
09778b20ea1a1723c3f7a5d27d1fd1501caa0dc9d8595f74003bb715ae9566ff
|
|
208d72e86bb12b5694d1583630553c0add9a498bb649b0141d1ae0d09fad77aa
|
|
a4dbc815a318aa9706030f40fa609489848ca9db73807aff80c4f86a2971cfe1
|
|
664d3747c7d89ebb2241c29cec921ef59a023a67535946cd4935da98d4ad3a57
|
|
be93f20885a42fb6c07bfe7edffae7042265165399ddf606b11dd9fb550fcd39
|
|
914332e5083ec325a4284c45634241e26b0c4d5c293b5f66be02fa6fa82b465f
|
|
a9159ec86021a004907e45da1d34db73e9f14f8f9cb279589307b113bb6726b2
|
|
5d6ad2b71992192e525e4d5905222b0eb0bda33c59a60ed185d31b0058b37f9e
|
|
e8ef0cd5d5011d063de3f5c4d4c53030afe0592dc3a6bca44329e52efbccde84
|
|
32f00eedf0f68f318be129546a8c507263ff9959058e06d84f5a30e023e6121b
|
|
b90324a5eddb90965df0bec902216420376b3007102ed48c1242a87ca804272c
|
|
1a781abc61a09bdcde024437e7712329c8234e84324d60a688431fa8aca26462
|
|
cb03f43aa7bcd804f603faebb1dc86412f11e3cbbaa351ca28ed5997cfe2b4bd
|
|
2485bee59b9f819ac6b07925982a827244a8cf80034f38b93df7cc70654f081f
|
|
9c870ec15bcd70683b5067a3e47c6bfc24f638d3f4dd335bb4ec4c33cffb3ff1
|
|
32babf458bd93c44957554923e7a57621f01b990f24d8a4a6e03ac1b07b177df
|
|
cf40babd40ac3e293ee27fbf86cfb780444d53c28c72aade5693b1735cacca07
|
|
9bd54c78ad7f6f330d5853c7c5e061dff3b30911fbf9ba437eaf52e6e9e884eb
|
|
d113acdd0cb4992ec785a8eb86482d9d5dd891b7caa0ff8e822c16db534fa91c
|
|
5126aa00346bf17a264f5f18aefbda89ba8b55406293cc92b498f5dadcff2787
|
|
f002959b617696c727cf8ca0e57468812a84a396441223a4214065e51ec7a1ff
|
|
2ab17fc600fdcad46f1291d91550a31d6f33fb66a296708103bc7640496c9972
|
|
d6609c3dd5fabe30b1312047aa8ef75e9c840787a6a7cd0a9f8ca9bca25bc225
|
|
72ae0298c37a4d56dbe22b0915e274cb71fc13ddf96727c4c17dc84f71c7b353
|
|
be900080ef7752e63290f48b03e452ff8fd3fe0f30a22887f3c2e5004ac3ac57
|
|
2e80a6a47a7ad5c033b2ce2651099a6397e8bf2603b9ef93f3a1d8c6ee1b8b96
|
|
f3820e512fa79bd0dc5cc71c63eb828bb14daa5631d38dd21e6b6c66d042ef90
|
|
786778230b5c0794bf1a6a8720bf6266ad3a026dc00af004843c8cc696f77c37
|
|
0bb23f8d81a7f0dc5eaac8e4d8c418a08f12a54383b13158a4825afaa449fa39
|
|
b44f58a445eb8669bbe480d947e626b6f00b090e7ab78eb3b0d341e039e83f9b
|
|
b81c9d8411f09d1f3e552fb3071e41ddbe780bc2b0df34771394976fb924c89c
|
|
e7eca1d545be818c4832ed1d92ecd25ce8ad4c59e619d02d71db15f94631cf1b
|
|
9f6208e22a94a5b3a3d0f1b53729829dabd522fec169a2a794a1ce3d8061c6f9
|
|
a59cbb5ddff83ff9c7a9305328d5bc927eb04527270c72d6a4599e083e383fee
|
|
96d8be62b70d73c3ace875c4aa79fb32d0c6a261f27c39ca0d90063a39ac77d8
|
|
971fde32067742370ac876ffd28ad1f87000a766dad4577c2d9f1a4c51714e94
|
|
7ccfb2abf77a029852f7da8e7dd77419af5ad746ac03a8f36e53b3d24a3f4429
|
|
ef83b6ac44a09cd6b59e01bc55db5f2e5cf55f4040ec874bb819089ff7697c17
|
|
178eb7516a3f1f90906bc980e6585000b9806f430978fd1e0527306d0eb9a16d
|
|
c784401f4396f20597b7c835dfe291ed34ac8ff39f94d575683e50aad640a234
|
|
91bb0807f1215e8cfaa6e85062d864994c9bf7dc7a3c988a0311f8fdebf4e9ad
|
|
30cfa3ceb49c847de219d88c6cf2b02e3a4190e8806a5e56dd09e8d1b80eecbd
|
|
16d132bafae24a9c0d23e3686427c2366208dd1e8b859dc2253d1cb36685c22c
|
|
41cec32f26ad1037ff1271bb8dd933bca2fb7e49d3329880d158e7b33fff1449
|
|
028ebcf1a36c123ee186f0514953a46696def3aefa5162921d08cc99e2ebc151
|
|
bff60b6b3528f6414c50f5274dda4333c4cabb6c79c273f61ecadf27dd59f505
|
|
9d1835f26a2b4ba29802206e536d8c1abb273b114742db4d6f4003c7a7cb031e
|
|
4d28adf1f9d6bf4501b0f4f6d66ef9a9b3b9c6817efff7b1c255627c36a4f142
|
|
1235d350e956ba5d9c88672897705286c88a732c532a56e8c29b2e0dc607e5a0
|
|
05259bcbd39c508a57dce9ab88ccfd48b4ca004d746176b2b6738703ff146d28
|
|
5f45fb7014d4e57d2b7dc039c31cdb49294316e0d59bab33e071fdb11ef7d246
|
|
77e8a2c49e0d1d70a3ac15681a7bfed475ee662988ad4c1354a1efb8fbdc7325
|
|
d45fbbdeaace63622b405440ec5485db21211522932babd3d504e0e0c87fb61d
|
|
ef09df1807739d68667ba35210de4a1fd7621051af5782ebcda8f390e85ff045
|
|
08f7bb102406e0b5bd68cbb6e1147a5bea4d042ea1df6be279745f1941a458e5
|
|
be1789bfee2772ea1359e23a0be95713aa4b6b07ce05e36ff55e84c9d3170845
|
|
57fbb04f424f680f670c8f13e3212a06b0396465d9ebd908c8e10cf5c5606e1a
|
|
820514a8f70cac72cb20a758a77c5de038e15aadc93f883c89ed82e8bc34c49f
|
|
d0fd13da04c26106684e1a5de78edfb3e99e1297e8042b043d3e73fbcfa06e3d
|
|
a80756bc31efa043ac1733abd7ab5ac17f92f69467baf0eae18a7343fd9d0724
|
|
030f6065523859366e7665eb3ac35547ab3a526815c3944f3c193909638ad51c
|
|
94aefc700df14e0b43b7c7e95212b7b71bec092439b9a28713223dd29b080e6d
|
|
40e688a440692cfbf7c115aa8a90451c53e8df1e137dd8a6342dc38977bbcbb0
|
|
56b986317168d2e67332e8a3d79004707b4820e5ac8d6cc2aaf4a87283a07ace
|
|
009a808a6c76779b0bc4392f5b30620d8ac0acbd20c4c5adc71bb78698af8c4d
|
|
1ef09212f6cfa8f9fda22fa98f7d9e1164c0279c8945b7089a1c981ddf6e5db5
|
|
4a3421f5107d845973b1e27a8834fa99b9325afaee9ddc629299572509bb32bb
|
|
bd6b5c55eb8ddccc8c8af5e4fe49799ba34801b8f22e34fe6bd728059c3d0c00
|
|
9f2801eb0f7e8b3bc454a3171d437f6be0800cf6d7046a6110cb28452bc55f78
|
|
29dd70d9bb2cdaa2d81b8cdec1f3a3b839071c60fe1eae02901ed838030b820d
|
|
f36d8065c7901e8a3204d85551354803b00ed66c644a1a2431469ba44e1e3d41
|
|
480625b27a71ecf1b778ca3cc56115c39f7e2557665edd85ae36d53d07485909
|
|
10bbbf467c2948f0f60250eb43604886fed2ff5f607a9963ad33e92a0ca83a33
|
|
bd29d4d94cb73a41605b36abd73defac30deb172a33b59e2bbe4804f0888173c
|
|
b5f65ba75b00df3254797bdb4ab21db56c4fed82ce6c2b3c03e78473e7151352
|
|
782805a50b95f6791fafebfc56510a1aa1e0fcce2c19e3c640b85d79c36d970e
|
|
a6b18b3e1faf7aee6f9d5e9c07162c2b37175000bfcac676cad42e30d1829b48
|
|
b395ff821b85e54311237d5fb244fcca0eca66abf55dfbe8b7ef7bf0edd14a19
|
|
46ed7614c3f1d351b196944a55b8cdc13a10d2dad22805684eff3d30669e7b3c"
|