void-packages/srcpkgs/firefox-i18n/template
2014-09-19 12:41:40 +02:00

216 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=32.0.2
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="
b3a1df4452ae27d90d3e1690760d6436b4d0de130c726b8172784d727b4cb081
43055a6aebbc72c5f5def27bf671968482279087b0c08ddbb603ac956760d952
44f5deee991eda3e21946005d48e012cfab961f01f6813a43bfa3250341067a1
39be83c8c2b2b14538d226b77c47a5dd2c87ad70a3b6a71dddb3068594e2dfbc
1f61119d750e2067bd9518aa782aa32cf5c9dce50fe6a23bbb94f0eddf5bd34f
3812808aa0b14128c2a4de106f67f8ab893c80ea5a864ad13462ded26a4d1675
e607e32cf9758314655b59c5171bc3f5acb2bddc41fa931067b0a926710a8dc8
69fec1817b9b24a89d5e316232c29a814ee726c0351c3ad60dafd74443bbf582
618a5440e3dd3acabb78f227f7f538bef732e681f6dde1d8948f182eaa197bfa
309f0f07b78f51d4b005a56ae3355b91dc13d88540bf5d297c2d332214f745fd
472b8302bca7d919c1732cc5153ad43cd5a7317b9be22cee1eb66bcb0d2a5cd1
bf33ad776bcda2b41540d5d9833ed2fb54383ccc79e0e4de1bfe58d4d2b83396
bb5b7a29e99084e921a3423779cd5995c59725d0fcdb07da6bc5f89693143204
f3a4aa1efc52f17f16a8f8e9761adea8eac4a1e6d5c71e3c9a38221ee156b7ab
d796c5b121e089d40a619ab36266f2c686b9723641b5effbb327c78c5c877d77
ab3fef27a2a9d7ad7a53a8197a868418bff1b1fd299bfad88772e5bab002456d
3b21850c366a27d7afaf256effe0e04392d0d36d9d875569e122388b3c08084d
4cc9451f5876499c8130cdb9e38e0e0718cd22d4934e968cb4526ef466751766
77eed519237687134db60afee4826e37eef3adee77661b53facfd8c2d691e041
f4b841f91820905f8f19e98c8205e5f83f7e903161ce9f032d5849a752cc93ad
0e2288b5bbbffb5a876427606f208740ce59d4fc6710689df40343ef65088fca
ca8c4b5e5e531f2c7a5926541f91a989c15dcc0b34c7ddd3bd28df31407a68af
48db1fc2bf9e19fc47988a3e38e750fd3810db7dd16272ed1fca1d351d09713e
eafa582ff3e389d8d97c6d969abec02c46cc7c21969e1e53e13762155ac7b699
fb88b03fa9463e41aeaf59d3762e4965f966f562d0e2e38d83b2a897fbc81ca9
bec462a19c5b9380891b7bc01c48eb06774c59cdb0d67f0c41668d68e59b3460
71d26932f0f454055a0a2e752e0de7ea8816291b3614313d737500c5c7408914
397881bac7c7112a53383335eec6464f78d17b5bf84b89339603f83cc0c7e9a9
870a12fa2b4e9b2b28f3de8b81f6abeb41b33b8acf5fdcd856f3741313b74adb
d26525de80fac1d0a150240043bbd5c13478099da7c26b034320408534cd3f8f
6802e96635829cd60613ed7b1eec83cb98d00f0b4c55c253a80ad68f98df3330
327a62f803c6459b671058c773a85425ab84fd2446300e4d03a9f4d6cff2434a
3c59e98118c5866daecc021e15c4264afe7f3c31a9fe54fc74b13fa4c3f8d745
03963a61a327baf0c855cacb0693b63ece7880535a87e6ae5993e8a0c0eecf66
dc7309cba3a62b2b7a6eeb4bd9b5a79390901fe440e858111377b47acd404212
ce4ae2e6a7d3c7009e026823849628d1dcdaf59d822b1a1f9cb392b118690c44
f4dd8498b822bbc67ce5443763097cbd1886fcadb33e5be7f686630cdaf30e2a
7688b19b770d3d1315a79ccdbe4dcd5ed7b93e1f574cc9996792184296326cfd
5efc6075a352e4c5f1a04757c5e809c5f27f41b686d2e69c9e4e4b440ef1b8fa
b6b3c824aa5c415da71e47ca05853c591d6aca20517377740b3d09eaba8c4c3d
977b229855182474fd0eb9a1f43f02c5cfbd18dd2ccd318a637c9d8213fe27d6
3fe0f54b74c84e6aa3d73e21a4c7d849bca3c4753c1e5534a896375d12ddb79b
bca438bb1547d29e481a6b2533802980d356fceeb41a480789c03646b23e77c9
4b40fa4a67e1076f1185acb157f4fd3606b33a1150fe4817258f260780a5f517
ded50eb9b9b1e4c440f06875c13cb3ae1f51759ba8261d241c7996755d719f7a
c50fbfc22ff6fcdbfb02b99a75059a19c4e2a04e21224bdb9cb4c39ab8be00d3
06712779e16a31da1cf7730fe1aba6d4c1d23c603ca057e4f4370fece7979b88
b1ff78c850e1dfdf4bd49cad6a499e238a9df061cfb2a9f362dc67a4d11bb6f0
ae8749ab165c3efadf3c6ff71b381988748e1fedb7137ba983acda79f200b5e4
12bf30b4de6fa42289d581ac610c2a138e8dea083ac3a2aff68c335a5925723c
17fb8f8c59ca0217ec3efcdf6e8b8c35a34596babf393f686156f98f5297ac61
37132b9109f65e4236d36c758bedb86a56a32adf540cb714c9e5057c84fac599
bbbe45a3f335762d0fac604d819a833d4bb3dac6540f6f1e5aba6a01f7c577f7
7d528b8a3269e74a41c0ab6c9310fbb056025d5399e2df4b2236613b722b6ae6
f8b4d74359fd7b26ea9ca6d7363f0b51fd366a27ed165132d54a968ca355b073
69fc177ff6947504e0a1ad47a4a06eedde2427094bf4e9f2d597135039ee50f9
4620424f96680330c26fd090cc72608a23e44ec00c5304823cea26517518f090
a7e8af44d8d5226a5f38ccace03182426eaecba0bd01d90f8e263c46964d25a5
59504411cc63e21dffa9ac48bd349613e3cb7bc7e1a8650d24136ad17aa8aca6
ae6cf0feb31e5acda6dd664df382303cbbfc7e2360daa8520f91cf2c463e5fd8
6cc6e4115140887bf27977f8d14a3fb8ae28768359759c8bd8d561058457a996
e130ad8f61bdf9dfc3cc2dabef80768f2083886da05bcd1aaaa433c41cb0f2d5
2365d4c5081183a9a793d99b3fdd50abf7a82ec8cad168e0a233c9e471cb52f2
40ee58447bfeeb0476af44fc227f156c8c206f87ac9eb110067bd7dbbc9f6ab2
cf054d8765f198f32f73b863ae126fd014ae6d5e1ef4c4563cc02ffa76a5dc28
cc3276620775af1a662a2f28364f1909a3804e2ff67d3049ab9895d963b93d48
7c6abd4cd178065ca8652b49bb6774a28f44ee8979dc92b8ad1c99e13c737421
e4a61ad50d87eaf54e6488943aae63cb7646e5ba0cebb4d494ecc6ace0b19dec
e4d53e64512e444c51605d70e88edc36baefaabea1001d6f929fc95bdc60d0db
54671f7065dd07b2f18637059d7e150b5329d9e6a006970749cf10b1fa554066
ae43e792bbd760d51775baeb1742fd12d43265ab43cb0863f3c52a6670b9c001
3869506e7ed28640c2d12aa2fa4fae6579ec6ca2fd94ab3e956817074789c230
1190767ec6ce0d99497279b50d8c02d72167d81fcd90878e8de2daee94c03177
f613e10447bb362b0fbd121a2ebf95276b1ad42069c252a23c015b4502b18208
a06c016bba3f86b0387311904b4c6279603d25da2ae99599e9a811c86bfd4d43
a8e0711e7f089a93632d8ef05a34cfb14e132ace37bfe4198cb4309f557c0a79
27e6fdec786a26cd783016d5340bb15ac5fff46abaf3b71f19b8d5467e40de24
573af1f2eb8ff900415cbda273a5bb052588e1cb4b8dae434a0512763e554230
c5bb381f821ad67011af88b150c8a1bb4b5efeee4511b87250048af3753db45d
3a3283958f08885fdad7d3e77e8bdde432b7bf3584e9ec5028a6b47ef6596a0b
dadfac55b0531b55c00e405059c18000dca4cffbb7f7711229a709ecf263c571
51ca5254d80d88ecc846a0862c702ba10def054caa177f034310409f64e452a3
6ce32fd0e43b7f92ea4af92c5784fcc2cfb147504d74adcede71da16e3dc4fee
"