void-packages/srcpkgs/firefox-i18n/template
2015-10-07 08:32:40 +02:00

221 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=41.0.1
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_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"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
0e1d7e0b07071e09e3aa8e7b1f2585a1f41226f86abecd60129acb6c29fdf795
97350ade6c4b818a13c884c2840c196825d246386f11cef04fa7d45eab6329f3
202562e26cf563b1370b4484d011205db79632ff1fb8ad68d950f7eaf1d1ef6c
53d3aeb3303c1e0f73538a1af76617912c4faf78b5a463b9075c7fb9748bdf04
12319363d20ae2d4338ef2faefd196c1aa79354266aaa96d5969365b27cf83aa
df0b1298c2bd9f6d2957357a5600fca58a5f370fdd9fdb3bc34d4308fe3ef8c5
bdf4c9737194edec2f44b810d9fc5059e9afff25993064edfca55f06d184df86
b367bc4054df488173e914b3e872305f62ea9284ebf5b21828fa7f177c82883c
8ed5167d4e7fc2a50e4af4da10e1bcf09cc8fbd850fa7ac481fb1654c10be945
1cfd6cea984e69066fea5817366dd64ac491e5f9438b161aae64b427bcd90ca9
f8e0b8d5f3c84a40df2661e7a6a2b6c3ae33016136a627454466020626b90a42
6e5cd1996bc7483cd9e5f2bb7e3064c4f5ebce3cec4425a95269894865cbe70b
8b70cac78f887946d5d50116844c5aa68c979bfc6f2739808d4710eb5694d1ad
514f7c3b1c5d4fdce48fea2e4510999bdc79e21093c665ae8290c0eef00b4539
b9c010802272a374282400216a37690cef3488ab6cd78778241a1039ce9b15a5
1aed18769fbd440e811d2893fdbcf48b3f82ada7c2accc2777b4c8128f0e6678
cfd357e6a681f84f7a42db2097f7df5bb8d99cbc72bc6b5d5e7f7af731b26c34
84e9c334fb97228e153801abebb364b140c8d83b5c0c74821a469d41cf1d2f63
cf29e810731e19fcffb1175f45dc2ade21cfc0fdcd96dc5176b83dccbc685767
554b4988856adad5aae6ec21d3aab7b06d0970e08894aa771619ee8d2b8e1d62
968c4df0bde7ffb93247b0dfb301efe60027cd75e1ed55a07471776615122572
b132eb82edc724df6a52169e443f1e625c615fabbc2de144f58cd11d597908e5
9652be3eae31056f27e3b6fdcecedded4b0a095721c2fb762f6d1c6c4c50e57c
0efc3546792328ab46d5772b10a02c43430be0ffed4e64a4cccd563ccfc84b12
a6542c99b51a1661d1ffaa51e48c3d60b97ef2881bbff2fbeefca581fa5f5046
ace4555517392aedd9a03b20a4f2caa2efc426e2042c91e83b83290cc5f3ac9b
c90315bd392a6300942d399ca3faa19fe93e18718661e6f6e088eb671c481ecd
810e08f3fcac50e287fe4fdefeca3c76407b25b1147c08a850ac830f7b3c2027
ebfd410f2ad1d12ff076ece62c665a7c25b97db8aa2fde3c16c0ac8964ad032e
75c1661825e31f417bc662ca5c60053ddf4c5afc4e608358de255bd262de2f1d
3384c59af108f186f6787291726216fdeabbba9837707139744f4a2336bb7b9c
418a9119af70f689eba32e8a45bae02b2c27bd37cc439f58293d9d5e5bdfdfaa
65622f493c782108b259e384c6af1d5bfd17701f0f350c35c4de465cd617951d
de10c4a3136b24412a926c72836eabf982b51158f2257f1703d06782ff4a2acd
bd5bb07fdaf9dc081d4135590862f929f88166e25cb29692627a6aad07c8dcaf
54ca7876a1ce3c9add20e1f0434da6e130c69ac6009e6704d1df18fd644f0e9e
e055bba4858a257f7562b32ed3eb316d42b5afca98f92cd3b5f42b336db3482b
fc4ec10279c6cd322e31cb43904667247c3b69aa7a1cc9f9354da307a06cf1c4
45a4656849c4367a545c6e1aedbcaee9a2e2d7312a64c6e7f56f95615f50ff0e
81e5cf9a8c318fdd46570284a324ec8f52dc172f0b2d583478375af27c497ecb
ec81b38526e12b4b61ccf07de2a820d2d7c79e51186389dc29a6ea345b60adb1
1b088745a37f2c29e384cb370c6fec7eb2dbdb4ec9698d2a7908daaedabf961a
cc6ca6d9035244c85fcc6cfb6c9df05b4b93614ddd7d015688c83d70cf686686
fe3dfe15e08da87a913c6483689870b5a7e64393b792e8bca9daf0692193682f
7ca5c3d7506328b7e2cc92b2f631c97bcac87869f983318cf5b1f99384424e6d
5755fe268cb7f79120abb5c49143b6f00e4830b4adb296bcaf797feca9cb158a
33fef07433a939b9d53ab18638c31676df709538c747ff72fd889c4fc940c61a
64fbfa53fed92d8e456b1bfbb2eee8116596de671521ffa623b8997711860d0f
4fc735b224cdea455ed105e0d776c0e607503c7f64c1657ef894d943f4ef917a
a6399f7890d658b6f808cbbb65ba7f3ee3f746bb3b30410a79cf9623936a35b9
0a32fd625b1d6254b7cc11839ddda1d354d65188cf79e4a695a9f72ed71d77a7
a9eb7af3225bef89c6ca35b0fa5bc8781605b6b9abb4abebe293e2b8e0ce7c70
a9255f0f3ee96e5a0779a72b68b5c55fd3de773803ef0a5ad3a78ed2461733b7
57ab2c15cd4b40aa551ea1d7574108f16742fec42d7bb2022f096fddfe130f95
1fb55aaeee4a2a9b46f375940383c59c827aae1ffab508276c4b90969f695ccd
39113b209f9e17825d87253dcb77101fc4e4d18f67ba5b0efc32077894a64c29
d52d8c7d614a0454ffe10c040b2a939ba428dee68d20d87005a50e9d7e67923b
61fafdbfa825d695d6c5d38512c4ebf1559f7b39ad71de2351ea0584de965125
6ac0595e0a299e5a798c39bfaf8611bd0be92056b6496f811437ae738ff24772
09c2e095dc6ee63dfbae0122c47d28e39b2764c398bb08d432253c1d123cb43e
8c0a359d85490b71af556e095592c466896b7d4cc80ad59c21a5bff67737c24b
cd1ea65e70986de0bf36ca8ce68c822def20bf67c1aab1086902fd5a3193f76a
274c5f764c47d357104acb27baf52546307ebefb649e0b99731863a91094ad47
7ae13e9687eb86499a624d72f71cc37e43a2346517be4b0f7319270495906fc4
fad85972b99e17b959cdc0f79786f6900b9719e9c8bf503e746e53313d72ef8a
ad65a013ef7044cc7946f31b6d4c81b287250c59165317107b591b9add998c8c
f30c6297d6446087a6d1466b15e9f21ffbab89508ab0b4bdde3bf22f779fcd6f
8dcc565897afa57fb7c4e53aa3eff9abd4522a11be5ad4924a9dbe2e83bf7b42
0bbb369d396282e79b111398733174a84bc6c92268bbf3e040d0c8a363e05a50
824111f820b81de57bbdbde11ea18bc590c1b35b6a90c857129eacd9fc12226a
1c133f62d128f647b361cbb9e717009855908893b5bc6da869812a7e2cf48a79
05108f1c11115fba1c4271103b9466ae8cf357516c42f4a273f8b3b9de087063
3ce7b9d2517dadd947f1849d58edeacea42a8c7a68ec1ef86f06e7111006c0c3
66daa25c3f9e448ff9b9906fd5ff17393d8aa31ae68109a35d376a2c28e31b6c
e764b9cb6583aebf52e071f539237bbfe535a715d1939d5a664b60c35b0f668e
e39ee04fc8ca4fe6543708ec3a5e49fc99b8801de4e323e33e8f5c3f11842c12
447097907572849eab9b8ca1a60d87fc7df071808cac82297f8ea5f2ac46b0f4
ce187fb6594319345a668607ee36436384e06b0908086d2e89e801b27fe478ad
a0290f5bd0b877433a4afcc2b447f96c14087c1b6e143dc5962d7da4a10dc6b3
67bcf41773e6fd389a96db578029f904d0d54a8ec46086e7382c1eff2eefdc8d
56250792a6768763153178be68998bd912cc6d2d33366023e83a92cfafc4bb85
bfc13862f69b9270ec45595e5f42cbd2ac893a06d193c1e57b6bcfe0a47928c1
949eca406e118a6508912d379babde3cde6d20154da59260e760c1ef07d2dbb3
791d68f4e7b43201478c4334dea7bd9812f1df2e82a36c6b89af62bf1ca88cd4
6719c7ab93c9ccba84630247ab33c4f61971e8052bb73442ea196e37de90d7cc
c14373d6b8d5e978864a29ce35d50d2c0430d12befd9cc284dd8b63f86356b1b
"