void-packages/srcpkgs/firefox-i18n/template
2014-10-16 07:22:11 +02:00

216 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=33.0
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@gmail.com>"
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)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cs "Czech"'
'csb "Kashubian"'
'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"'
'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"'
'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"'
'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="
fb1c69ad70661a723778e8030f4f09796ecf33e49fd2f8e32c4cb0c027f0e174
6c35fcf441063ed7ce0deaa115f57ce5d23bc1f78fc147fb38963c8689e15375
cf61e89e1f45511403ffbc1d112ee6ecc67f338c6f7217cfee1bddc4d1621400
3a08de4e1064f75c1c64935a353de6b781bc16f25b0469ff741723f861d610c7
fc34573003c2e37a6d903fd6432a79048ef865307f14c1ead1e233dcee92d818
a4274b532025baf42573d249b12a3b3793b5a80e4a8bf05a0989f9ee95081c1a
f36bb698fcf733bd1610af2a09af091cccd3052995fec229ce56ff827aab993c
55d1ed7be23c7e504701ae5b904f92f5279b2a180f8da7feed5a46bec9e6f7b1
3eda0769d9958143df336aacd460e2a5f7e563d8e482bc5038e9efc4e8e5e6a0
9be193df751dd2f3068a17c7bd1554ca34cb6f02480125c0b57375606626d3f7
e15eac3ffd067fbfee4a79a12c330dc882ff03a9c4d42d5188b3e2cd20bde5fc
bdd9c95ffc48bf5b0b1b09b67115145a8088f351bbc5a030d313b8ac19ba60f5
3989481da7fc00e2ae6d66f6f0a74a0c5bdead68fe57471bd2d77c70aa3eed9e
df6e50a4068c0f1bc52a9a59fe3a668277806788f13281ba948c37809f2e73b4
8757239c3b218f720b6e931346ce0602f8f01a040670758b90afa21edb28f2fc
37a36bf620d820d25dfb6dd0be59c201f82765cf616ca2533f1b5d248d6c570a
2d9f301a170467c19090acc2c31d7aa71dd6db6b616964a8e882a2ffca064b38
90aca35e51d1643e120a9e73eac11ffbd067b669f85d44f0de7ed72cfd6b9185
99046c8de54ab0904184b7ff357bbb8ea672e389152506706cea564ee6e8a442
4b7f41bcdeabce6e1b61a0edf6d118b49afffa97af9ad9f254172339679cf317
fa30bef0e8f0796cae3bf72a298b92bc7a0a31fc3d47cdd5f9677acffb3efede
4b4ead0e0f57f35438f5ffc8d6e64d7e5b666c5bb5bab44d8e4e7be4813b3399
0cb63288064df4d36ea08f4da8a7f49ab1905b7b4f1a21a8a054a1038de77b9b
0990b2ff9cc2efca578483aa4a6266c2ddce6e8fc3ba87f5b1868ca9849e1a79
c233820830581da617c225dad2d23192dbf5e50eada4fa1cdf8a06d9ff54f19c
c6ed2ef02b15dd9bab90dc9080203c1f26271a3c71ae7b21f64f509cb6994e58
f87686d61e12871e6a05f8a926a2dd44df9e3e3a4203a1d2aadc2da4776a0728
8faec8e4d8cc006166dc9b43622c3cc4e31b68b0c54e2c11705d56c53657c794
666f3d24ac27d0973bad9b3f27cf0467f51a704224160215ab8cd121f6efe785
bb18f8d2d5a215877ed0b4a1c43bce30e30f2d7a02613b7263e1796ffee1db86
eb98aa10a822ca1bcb28aabffdbd82577f1078670c61acb54699d5bbcb0caaf5
0f176eab92151de66cd6838371a459cdf2bf9f3070aaac24b501e736efa0b204
6fb09fa98046863e6a2d3cf19273d8f9f8818916f977be70238d3ae9866ea485
c75e0bbd666715742ab7a2948aedecc265df4a9c3f2e00beb63096767ac95dcc
2a90aec7c6ca941fdfd69a1ef11c6c7d9d93a69897362a3ed4f8442acde0eb3d
f4956b7fc8c6de9dbcb64f060a217811989be2601958165de65add289adc5227
9c9795a80b21797b27378dc607fe140dcf2c9ae6d51cb814a127e31f13ec5615
986dac932aae7dccda7aac1e708a79b615480bb3bffec5c0f458c86f4857def6
86acbca3eedad6ed9c09163f7ada90e0f4e7d12513c6ae49dd98efbefa9c2e4c
f0cd9503c33807734dcc39302279b6b86c060da7ef76b0be2c44a859154e9eac
123341ddd77027e35843a953f2388dbf50b10d3ad3edbe0a6049d3baadd8c2a3
91cbfe3d5f6b05baf84929396bdd5621df0647a4d94be4c481bcc939750ea178
1a4e9ad4e11b732944532d4d95abb56af4f15345b14281e280140dc2ea03aa91
907ffe72503e9cdd760240029398cea2a6e3880acd6eda292e3edbbdf3ce3322
415ef2b97a40ea2116dba0978067f682b4af5d9ac2d97e64f166514bac6ec14f
4b10c2b762b4f13fc6a7fb5fd7a0dfb92ef8e70715d501b45b407ebe37020046
6ad7755cafe48b4fe5bc8c90a7a3130d11405edac7b9057aad52cc4a6d864761
822b71c4f383a45493e21e027ec8421d4392e9e8237e68db07508c745fa4171c
f7dc9d5344b9da358f8b063f90ba49053b8544dae3359371fbb6e8d9fa072e26
37e69852de14fd4fcf00f8926ac65824019abe2aba2bb8abb2d96b5bc7be4fa0
856405a868374b53a8ee7d425854465d67e572d2895d545631d4d92c3af753d1
bc96b34812c514908635b826f59a1716b23e2a109a835ed68dfa428502022137
07a74935d2a65581b8328d212b183b821686da3fdf274632ad5dd6eeb49ac1c9
4501c3b32e6639f0de237b1d0f9dcef3f420761cb9c0373a0670884f7ce03ad4
eb97247d2044c679d3a741bea2bfff51d4b6a67bfbf62515b455f174ce34fd63
652530081f5e2611dd4d30463b1cd8d14e39d9a330cac7eb78115106ff0e8353
8988eca854ae4ab11adb0e1ac5987df038839002d0115f979bc43490259670f3
80623c481de4d414672210b9d6d3ed9fb3794395129bc992a6bf5815e10ce8a7
659f7f5df5547dd8c632ef05662369b89a45145cfd50c2565b118a10278a805c
030b817817696600b9e524d724401c67632d5f81e852401f098ccae216cf0db9
7a48c53b2fcda0241ebcf996719f12b7f46b58729bd38fe3c244b495b1617b49
ce3bb7683b86118bd1eaaadec5c9e749bccfb6dfaa975505a8d2c10b19129e0f
b80a786af82163eb41b2cdca1a58ada369501a8a178086ba5e145642052c88b2
08c0e76602d6697700f6fa22c4e684bebfe90f38b9b2c5b892788827a18f4e24
8ac786c4119de61cab7ac1f01ac6986d06963f2c9735f686fedc02dcf6f3c3b8
f3526efc6d4813a40392f77fe24b3d21de7bd74e4007a0010d9213526988ebf5
d87aab4766066c24033cf4675b0fb7ca00ac3fbe9015e800e06d0e15563f8c34
4c08e198084f214a1f2fd1fa7e186921d799d6907120047a1226e6afcbebdd94
b26343b0d8517ab8029a04dabc220b69b827d82f1b6f983abbadb779d812ea2c
16ab1c936f58121120e71ccfa488dd0664d67db4b1dad3ff361f4b21fe742d37
13300580cf18f0777dfa261f33efc61b8d47797e17d501f92fac1f9bbe86f64b
708dead68642d8d782674a44c7be7040bc516a311cb328b57c477c7d914cffb9
54bc18b7e5b709a28c01d70983024925fabf04a4f3cc2770368f36d69da3e561
a27a1990d0bc6b34ba26e3dcbde16cf539b7974653772c105ac8e11813ecf945
d919beb0086c7cf5b1ad8d491e0e43d2ed6fa0afa774f74cf80ed3df0a5b8a45
a93c0c8a50f2aa8eb47a3f69be699da2dfd9447577ad8e2af20022d32c9adbfd
e51608654d570673567a92aedcd016478a810fcb4991f9408e6d73fa31afd248
31bb3bbbc4aff041559dbef932c8103063cb5fa333b640a68b2dc0e73dd3b8a1
a39eda76dd9d437c59b1aa5463d1e2a340f764da694c886eeccefb56bf6fb018
8422c888ac94653562971a78c86bde365f29a669dcd3bf0c9dacf68b5138f0c3
5e415f6c1bd7de7fdb96385f044455f465954836119950a51dd34ebfefa9dcbd
0fe62fe5f372b01f40a9d20617688eda3923cc3a90d3742200e9c841ba0523f2
88e13c51ab2cde95ca274c458c73af74fe2b4a0eeb5efde3e223a55f73940a6e
"