void-packages/srcpkgs/firefox-i18n/template
2015-02-25 15:59:35 +01:00

215 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=36.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"'
'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"'
'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="
cd52762687bb2de6d1fcddad01c4fac89ea2366680e4a6b3e941aae672818cf7
46258ddafdae2c89b50b3580df99ab6927df11529989ae5cd25413208281576d
105473c50622f24752455ad343e724d688c9e839f0fe788ffdaa1723c8db8bab
0cde10d1facdf7bc147deb011109eb77d2cbf037c046355e1e0e1bb2679e1db4
03bb600ddae2d8bba96ba66b9faf254309919c79058f76758f7b58cceacfd24e
d7f01d2a59bee2ca0681714e46da95c002d6fd6e5c994de059a1e6fa0cb9ab2b
1a1feccbc4e45a54f2a8b3aee4fdb062cc933d31c014af6e3efdc474389a45c1
82946bb8a54d6a328e0485a2eaba68a34121e6f9a2eb15249e70e1303d4bfdb3
3f1d483239bb735d633785f2728a4b6809b64cfc3b9010169045663dc137204e
2c2103c853413ede8534173d0583e42b91bdb41c4e621d864f734058a4b8c45d
c9d1b2fc74349945a929aefa06ccafd2e1368da5458ac08fe403c1b2e9b48495
1d4c748ce84454bd3898135afcfed41056204b609511907e0c60786636c5b888
110687a150b08c6c6758e1c03c0448bb9bdbe85068379a36a080a59ca7b99ce4
b1c54c1b1670aad831fb0b0de6670b8c9a9e771a1d8068f4f4d283aa9aa25154
72ae9559bd446bda73c55a68f2ac303156de922bc556189fc22e14e7f69cca9f
2a4c1040fd493593e0fce33958911a0c0d3778639698f2bf1ce128260e97ffb0
4946146b317784bb9a7c8cdaa18a6984e4ccbd0cd5f49a7a86fbc4c780eadaf1
1a34efc2cdcaf3bfa280f78bf354868c9bc7c219303a85d5f05e3e0758aa2b1c
3cdf9a797f0f6ad73ba37dc6755873fb9b0c6efed95ace223ea19db8cfd703dc
176fbf07b20b0d16253840a8bf11988b38d8b4f3f561471cbde6283fa6bd22df
2b5878ede3a3e86f3e43b99ba7ad18c6c524a06f214c4d52cd20ff001ece9b33
969db2e6097ba3d42c78950357d47ecf68c4ea79c68717d89caedf9ef3377706
4203bb8da5c14f000e8ca497bb837df2f293aa4f092517f48308b85a45b23160
924cbd65e596041a3bce0ffbf6092984667cd9d3a6e3d7ffdaba8bf4dd24d907
2f775bf2d9789e5d1e442d1ae115d8ad1fa864a6ab90ab66a0ea695f60cf4002
e942c03a1bcf91bbb1f9e7341737e0fa5d650b9f82da6bba819e470786ce016f
c1a81882e556e006de17fe5f0d4f22b9ba318ab996e3571250bf121f5c2de65d
fdf3dc1150d3c617389b45289b54557bd9a07b259d6491cea66bdfa5456e70ef
932423f857ab0f439bd8138df336c05bf32b171bede93ee0fea4770d5f71e4ce
d5b713efe726d68c166a49aa67868aaf5715a67f949863fff932c7a627412a39
c6bbbf5d2b635ec567db1cc05650b14ac8256d27473b97d423cd70c70d57a1f9
e6fc2b29943ff8f6385bb3bd4ca910b95ca209e20d2489ca8aa22fb022026f10
6877683181a84d74b19d0a58fa31c6e4e1c4b4c9b2334ba72f7aee43caa11bdf
4849d0820b282b0cf742d9fc58998b048b84c59ffac769b1f7275feda387820f
2cc9eb858d788467cc163f26c7805d27f23dc2e5c0603b5a35dec0ddc804e723
acc3e984a815aa092969e58035814428ee021150f6296d7c92b905f8d570d7f9
7428790a185f7d0095f0f03a4037bb68a7cbb11e07a88888ac1ceb5ec6c04f76
f7455568a3d0ea7aaf6946376acfccdbbfcf4a5e46af80afdeab7893eda39ca0
c8d36a29bfae974a5d66c575f879a7c90f35b43d46afb46a766c83ee8d990f41
443282070539cdb96b424d2ce477ff3504dbc8ba96fa4829f36a2cf42cb37558
841759da124a761ce98056b4e7f08fc5410679815fbb2b4208692d52ae7e240c
49b917ce728d025ea8d7c37c6fb2a08cb1d63cac78d5804ea7efd20ebd827b75
6c4f2567b7f498c040152afeca9586a5602dafdbbd927f242c7e2980d5d48aa7
b425b23765c451f1514b45c0a0849a3b6b092b1f4835f6d862608e048d58c956
a88b6e10266962bdcfdb3d3e82c92e390e3cfba1b97e3fa0e3aa857a5d67fbd5
c325bd8fa08de23ff056e74afbec7cf8a9cad5850744bfe90661ac64fa8eede0
192c31a7695f416a12be2f606bc2b59be2613c545b225aae323a3ed3ffcb7430
44d2f08ea69e79dbdb511b623d133b8a3e2891c04143cab06cc7dd0c82f6fd7f
754cbea379d94a868de9a77982da90f519b6ff5491da580d5a95a74886958127
151c2fd633588e12f12fb154ee3fb569a1a7e9e4ec5c16165b1e5ac7854455ba
c80b2a0795988f44b6e2d4f9eca3a783546c2a69a41b28989cc9beb41a180d8a
32ba58d5aa0366153f8d40248df0f908d7aa50e64634dbfafd48aaf79dc47fa0
28b87412915594d73c828570508667ebe6d5bd54252149505daf5624df9b6bb9
3c3b68be839f5e1b9e009731d4638c447619c29dbfb1bf5fb415c7a75d59f43e
7065016988d6e5aebf27f61dd751ea1891de2a9f663f9c568bf9a04f66a7e1d2
aa0bb5c96f9dc644474bf8ac3fe12c5cb4b238eb71e0574b012ac505c5f0d6b4
fc4c6a33ad10ec6b2cfee793be6a080c24e20bf6dbcf34d52379c4d787d52e55
fe585a4ee308e7551528f6179659d97bc22927d737b9704df1207512d9965c8f
07915e0bcf316176304e3947959669e357d356d883370635e5d9ed20d828facf
d68be584c618bbb88de313fe7aa79e152d03afaf7b4a310a138cb6946dbd2a14
d238714ca266ab3229b75f01156dde7805129c75875face9126fb9b3dd0a727f
c1f25fc40373e6ba2159e14a490924a98fdd9db9584be0122170de9f9e979d5d
626a9532870a64e47523bf7748b1e4683acc3cab34495834964f6cfffc773a6c
f7b27668738a2477a83a5df1b2003203f26ad935baf04350258dd0e50a3179a2
6aa5ca5edce8fd7c8c50fc3619fa1330c24c41860bd7478b52ad22ef72d6b596
610c91311bc3fc4a9f02290e6c4cff84de2c54bd9c0e9d597301c41a9c748728
5a91999701123df52521d52b8d2e1b3867ea7b93d9af834bf1928779653de630
85e56491869f3b861f3c778a86fc18a79595427189c029217b7dc4860d1067c9
75fbfbae54e2cfd51482c1ffc209907b0e3daa5a2f37fd5d432aecd6b0984755
d35efe90a6ee3c5afd9a7032d5851235b0001fb3016da9833b59761755a5205f
4d94b8ccf453b8b0fd8f396e98559da0943b4c0e451824155a4b760f385324cd
0aebcc7ae2f32589c7ef11fb55df0b796c57332556fecc7468e65daa4905705b
49576b448555aee4601c3af5f68a45016655c7aaf705d7b705541491415f2e5d
a08c3659a9cbb07de8e3fd105af433452b704f72306bf801cf8f47824dc5b3a9
81913b1572d6d7ed7495d44ab98d96364a22b5ae61c9375740ad903d3a7eb23c
c6fdf3b58724cf0c9ec999581bb2f67e0fc64508de6eeae3d08f4e3a1f87b2a2
4647d4495928b714491c2c2dbb25597084b31beb0eea74cdb26b0e3e8b543185
28f84849c106de0bd32d55af483b80c262744694f437130b0209021ecec797b1
e31a1863a8789ef65a5fe7fe7d7536928ce88b431689970cf6aee496a8645154
038708d081c6b5199046b456154a55bef4166a89b536f1efd3141c7cdfcb0000
56f2cdd3b6e6fed9afd150a32234de8ffcd55da1ec58d2c5cd4b30dda68a9c73
58016e2f50536c48f2be10f8cbba49c39f2195c92cced4cd27ff8625ed63a127
1b383472774b35333622cf528f2d40ef00796795e876cfda233a86c262aea2fe
"