void-packages/srcpkgs/firefox-i18n/template
2014-11-07 10:50:34 +01:00

215 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=33.0.3
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="
470f19387cd76edddcebcd0996b288f00e3d49079d77da9690f7587105ebb0c9
5ea4663fa7aa9f969897f678978b7f82c1d89ab4b74e150d1f968e596781a743
581f585013c161f12ead5a84541cacdbd2e0c730615d69a898570d9859ba1e96
148df3d208b62907c2f3237caea894d8e00e0bdc7204c67ef5fcd1fc6545c149
197992256f4c94e0e56f0cd6f579e06d2e00225943f94f98a816f47fcbf864f6
734db2e05e62b9e94078afab35c7aef0493e31190fde250afc465aabb6ead0db
bee15e780ca2ed5b06416e97134566c3982194eab4d27b76145af081e1bcd789
e0af87151a595d89f487bdbe3ff0e6cbec342d0a5b24716c939f77bcfb75a87c
4681410741db6d74b5ccd9012153b1948c4aa352d5912a83a891e5ce948c0cf5
5d44cdd108c6dee86992979ff24ea73f84772de29f4c3a15b69e0e34592333dc
3e997e3c97b49cd4fbac7b415bb36ec59e4e6bf97fac71c98e86789c1ac57ddb
25ebb4b65fb46e1023a993b29daab2740aef795a042bda97e7ef2549c6745a42
923cdb23bdbfebe84a74cf25541eff512435aa36496ade12bab2eecd23982d9e
cdc71bc280e1114600a525a83ddc4f79051e05be20aeb7b0368d8d7279a2d5c3
1f3e8c7e2a700d065509f0bf8d859cd8db68960383ae95519cd9b612d3bf1f64
23597ca9cd09d2f34ed06344d15fedf310d80a67e06db86ef4bee82adcaf945d
11824d1352bf4de0f81979554fa45115aa2c69226ab4fd43385f396eaeb93967
4d464ef44573936d1de1e2e532207d6c911e5e39f4177262c4e13d5ef758b573
981dac5546871160cac2f81064fa0e3486f2f4d544df9f29f8d053222e84bbad
0898c0b94b95e0cbd85a32283e4b6358785c829259f719bc6e17357613baac64
a849f7bd77968b8e960e9e96edbebf5c3a8d768cdb2d379ef8813193da0fa430
28168bb6b141bf547890b814a9e9d4dc4f42fe3b500208ab925ad54792ad875d
fe4d01456d821c4052ce228bf4c8675bdd5fff4d3f45787385286a312f3f2476
39c6c04f72818b5f2f17acf952672d7158d952e4e45eec8f9a17663d05062716
91bc71b9c5877a581efcff99386a659991b65dfe6dc845ff4e6487ca09e73151
3d5b5f4bc74b1daada14bee10109f2e0c840842d5b867528e1973c255bc52cf0
787bdce7434fa28e7385dbe75c58179c19bc212064b085d6b31a58e2c5aaefbd
dd0b25ba3302757060f50bb43698f2e27bf3c822bbe4977acc2f796a81a9dff4
c98e3059e06bb497a3f4ea674b109005c0c1f290a9ad94732db0a2fecaf51607
25d5640d01dbfb91497923a7252eefcca5a31fa8042d37b94105bdc1369e31d3
c6263b2c8327747cc7c22fdf7c5f4173179f64a61b6dc79e79b1c6e225a7d57b
8c9c06052a215cb6b52210aa6c28b6acdd5cf9767a1970642f220facab257fe9
779a567f48189be0534ebc4a8976ec7c5638ab2d84c2526546cc48cc6eb46f8c
47c393d5cfad5a48c61218efab32e9f7b444e76cd080eb230a5e8c652a52aac0
24f5348a1b0d3d1c85d5ef02339661adae7db5b9248b73045d8d3f2282b75df2
cadd8349670cfc9769c045f5854dcb825f639629b657935cdbc270e188af3bbd
f606345eba6b17cabcacfaf08036a8dd632e76f5b630a13a6f403d24114787eb
361886bfa0717aa4bbd719462a536081366194f07cefe982979c9bf7f627d38e
19f3c8a5737890d56be42098366678d85e647e4b2c63da00e88d46e2770e6c39
1266dc8b44ccfaedb0f4ab480a1e5c57d534d7ba20de1311c86ce9b75a6e6e9a
1ccd1cccbfedd996a9ec931770ef090eb7d40f93249c886d06abcb5a08755694
c5f8f38964f470b871e859932f877a4c6db2efa8bd2316a291ef8cd08126c7b2
3e23e752804387cdbe83808556633535059b4890f3d7bd70536c664633486d2b
b255565df4376207ca1393b084e3951691568d0ded7a0bc08832d394bb84db8f
e3135ac1e3b6151acd09957d94bbccc0e6bdaa3af43bf3816ea6da02534daffa
826557fecdb703a3786c5c60538bb51680a7e7a8d0c6eb70744328a430dfadb7
5887a51e0307775b6013f8854f5ef79ce2c18463d1a247066d59942a82b22484
4e101826e778458129d75d9443a88f55ea9a1c79bee854c147a2007aa52028fc
4f836173e94b2da17c7b1d673d36b7f74737218a42f315aec3d47f8cafe76852
72b9c972940774b08955e511f16d9d58f9efa3bad16ff36430f23272520e5c39
986ad96d3a6412447dc49e35eeb09d9461a22676f47980159551a2a369ad186a
f699358910400f31b542142059dfcc66cbf9e22b1b0ab725d1693ba6bf42fa3a
a95314aea9ddbbd75c09a1cee1752c28d14e5986b238f739901ae640a358e0c3
5df0508e3e0c5269fa38af5d7c53b5b2e067b9ad2b35cf6d8b20146b6ca1bf83
62f9a29f68a8ca05950a5da5ea9db59cbb94419b6151acb964c2acbe90d1ae43
22131f5d092a62181203a8e76d1423ad9b5331e55246f864e9ec40aeef09dc77
1d4d67d019fb06aa6b001339a0afadf96587bf53aa9099410c91d3a922c77e84
55fc7a82e0be5f72561699210f365687c2c542bb2af62174c5bc9e2efcc2d9b0
2edcccf925ae844a879c1c43d471626d2290c3fac6ad615761fcbfe8f6decd1c
dc1db9be85efec9519fa0f6b48ffa1d21ec1b8c39ed6db0976652554390b85fb
4c3df8ece6aee4039ea99f7acbbb5c7990739a069dcdeda094b1645a135b51a1
91ac740382646503fbe417ac843a9606ac8cd5c2f87b986a63ae80fd7086fffa
22ae2d44ea7c39652e0fc28d9aa34cab4ac316280dbe260a05fdb50ecf5f6d4f
86d2fdb5411eee1166ef418b540cdbc686be65e4e9852b8adf604f8f5226708c
2a00c130fb1a746419e3e0365333c502eb50028e7013bb88e4a59fc8e0299be7
50dc257fb35ff4aa439da0be528c482e00ef6fc8341b3a282f0af3c5b485c70b
1cc4e9a2e77acb407dd36f3bf42d707164627dee4c8a820f6149e435e79f3271
2df16d039351c7c7f970a220293c72955c64090642462ab3488498b96b79be44
cb1bfb28ade019e052b76c4059e1d05d35a2b38bb024c84c46c6acee97127415
274a24d21dc50823da548383424955357ee726503eb5b54a33002a56f2e2a54f
0bb3258de4f8924972519b212e0ceb0f14c76cc3ae8808dfd23408931272bbde
441af6860dc0e0e329782f78b5f161a962c1e960e407a9d63979b5e9169180c9
366af66bbfe96064686d6ba15d610ce0fd441c2a9518215db96d7cc4658a4af9
f7f33d7203117dc684e88e0cf727f5a6aa1bbdda6cad176c45c8d1f7a43d00b7
707e1e712b3c16a4b40cf135c3ea2b8f4986c40eda8ecc646900869bcebd6e76
da160f510ef82102ff733c28eaa8532b1e2e550e04db7891cde3530a1f073631
ca8c931b95277694338abf079bd3ef648b1bc75c4895781b6946e31248e51016
ffa4fb7b6f35d7e8febbac991e791a3c18a84bfab1097038287c0415941a159b
4f4a4aeb6f791285373ca478ce1197e9b39319ef1d9e9be25b7d5c66711cb503
965007746bf9944c891299e857416539bc344cf650f0ba939fab8a43b15000c1
ba5673af23fe09ab82e123ff42d39923edf07b9cdc40bd099921b9a73fb00894
99e9194797981374d99463f77a972bd29c1918eeed486bb64fb0610abc5172f6
ce4bba175db9b0cc5cc2c6959b7a00c453b2e257b39c7efb3b1a35efb7dc501c
"