void-packages/srcpkgs/firefox-i18n/template
2014-06-11 09:53:45 +02:00

216 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=30.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"'
'ast "Asturian"'
'as "Assamese"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'csb "Kashubian"'
'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"'
'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="
f5053187ef0c83bf72bd5c71ab09a7ddc1e63baefb416ac1d6b68ba2314ac701
1f39dc94db67d1b0f936a21237d98c25fd452a69636e53c6d7ece6c844307c39
55b789f11b7b33456444c2feb00d4f58d5f17547fa05272d0beb32e7c81c16d1
ec7beaee554067af17a3a62220b8f038f75b618a186d2eb73ec948056765c428
fd83fe909ecb39803f0f7b43d159f34be70d2975584b4246d3625da72f8de09a
cf9716f7b62bd6f34bb453420dec17a039199d11197c1920553ab299c496d654
325f8bddf7131f3e7a4a2daa8c632848ade0557bdfe8f8591898c9266ea6349f
b0603d804c90164d3059b86036e67d3f12491c5b698e51ac03f57c909effc2e6
3e044ca099473c577e8849605d3341ab51bafc939e79713da7cb85193b29be77
43c85f1d81bc421104577519cd5bee9aaa3893627fd4540cbb24b2e2275f1a6b
c1efd1ae60586b16e50f61d20ffaf41e836c62e7371e3f2bda8e8e45f39bcd31
5f20854d7168d20f5b595ff415ca50417a2ad5e39f7bbe0f6f67a9eaede2aaf6
989e01fbdf3516295429d3da58331078c9e41ba79ae31e24f34d9c828fbd9944
3197bcc9e38f2b5720a0ae1aa9ed61ebcde6518e675e0ed98c8d3d0feee4d512
b2327cac42ebd5880653f7ed02835b3a0b85441a0d514d72518231acc32e5dea
2a0b1447de518bd3c714dd0fa023ae0f3189d98b6035eeb8e2f87f1a37bf4c1f
fefa0eee68d3cae832e9afee0a64271b7dd621c0d14479eec472c28a8bb55f25
b70382f47ff0e0999d4b9ff13e13eabee4ac6771ce1d3560b7fbfd1e6452b76b
4fae63b6e5236ef8f21e411165aa1919bb285fe0bb3905d7daf00c6a3cccd480
73879a12023d35214a85cff0d722652f669dba1e62631e815e7b850dfb403e69
9750f4362f8304c5665153d008ae3b158249a7cba5bd3a79cef7e822959c4bef
0f77949f980f8037484f5a3ce2669d732f036772ccecfcb16ced1decc53a9f1b
263d318d53cd9e64c0a3f4122fa399f4fcbf528c7151dce352f4084e1784f2cd
7bfbb5aa80e61082736383b01190d97c3b066f97c79cef479c97322695267f7f
a42b61243fc1596f5352daf6bf27ecf27c0eb70d960bfcfb401c7dc9b22b0bad
077a9c0741e8c6dfe560c11503700713fa46c31f26436d7ab482ccda93a9b6bb
b3405694ba783f2b4724ee77438d43c5bb9fa9c99b062179da83359b75def75e
470e1e96f57a1d34b657446a226305729ac9e4cfee102eba603c252c9a176596
72aee9607616834fb9bf7fa3dda0fd468d2bdcc973cdfa6ba49debe05a35f90c
b261a6ddcd9b077df4e89603ffcb6fe6568c5a2125fc6a8750bbc61994d59a2d
e99f6bce22b9e7ce27233d37d1d5c5e465d5737118c2cacfee132aae88de1891
cde387fb6d2ac70793a387b79b1193f1578d4e09b7e1b551edcda0176c853981
298865967f4c80a3521c01a4e22e9c7cdda1edbb85755f4e9fc69fcfe73e8e8a
8351b8f50482fc719081dca1cd848aaed271c15922b8e2939ef335c4eb62ffb7
24efa269698b83eeab9ed138ff0c239fd53e0c8c89e07864ce0c1017e586b947
860b3cbe4fa38ed7607ec6416286a1210d27a63ef48d3c3dcd25d45e0fda9569
3d5e6dc2b975001df42725dabbdb513999438a75427284dd9b3235ea6b46d3ae
43ad9bb68e7f2f9c7934ec411725e5b9883f8ebabad5f7e716b6e39b420e3a45
053751b323b6faeef472833b24494ddbe018bd9cd917b19e096184972bb4d19a
9ffdb635b3ed103ab3f434d8472f4d66fabc29326d8dd53431b854e6c7a92ad6
4eac70ba043bcc51a23beb322ef1cc55267b8d6eec339bc2479c38238c4cc706
1584743623016ef2c922b3d1d861880e1c2ba8864836089ed173d37bb0f59a78
6b9331cab4a2ebc9b23d44ba02c5f8262cec1733e22f80eaba2b194dffa34521
58112df3ea4cc57b99d002f19ac1bf414b17b6c1d1941c7b5806f0f524fc8b9f
d84b4cf65fbd1a23c2683346887da15334f48c64381998aa7d5422e303b0656e
94e0b3d7535ca00cb7229cd7c20fd0760b51bec25f0ccd93e3a1797a8ae94c7a
87a73e136e2ebfebc5cbd92d7b20e16a065eef04df9b6050afd29de83e1a6785
0979630969fa1c4c40ef5ea4e2a17df39e452cade2d0ccdda10d55b756ec5c70
feace52a5744fd754b807c84eac24319224781de30ccd295ba8442fb724620de
2e49e1e6cffb892ea14089a6b49bdfa21de49fc60eb4c13cfe13cf613792d4b4
86e1b4ba7acef11d4bbb211679bf8f810e8bdf466cc22aa670cda79fad2055e7
d51545cfec7b8b26724f73e80cc8f9db1b1ba502b6668f01983013a69362fbd1
0d51417b425a2136d33701bda3eb4f510f8db4e8e3a47f59ac9438771eced133
a2f3563cfb10731fd7a20e2d3817daeb6273d46e7f610786719274fa4c9de053
8c123ce0d0829adc001fb01714303733e21cade4287a388ed0a5195a89918504
8d877768025f6138a880f2d921d4386181b737a423a35367063794b608728f56
5e72c1a4722333b9aad812e172b781bea624d8a0ec0aeec5b52f5729e2df3da7
6e8dbff214a16125ff907669b269b7b2e0b3a83de4cff6a2fe39ebd38f59f49d
bb2988b3089fbb3f617d5dc4da317d6bda6a16f3c812dd01d593ad0d9595d948
e9d3e938083fdafb1010e962302e34300eb9c599b9bfe5de6daed0e85207c00b
fdff4fb0c596aa26a1bf53aabbba9f536194616b9914b3fe31dada0377f937a5
d2e5cd1c396bdfe4ebac57ca90d20dd59d7c6c31c51d92c0752adedc4dd0821a
7b0fcbfbdbab445fb1be5b3e6a787a706f26ca72bfe811e2a1cf39b7d9fc6a4a
53c41242f436d3814ffb1bea6b00d0bf9b758bd08120d9a8444d11271e8530de
9aef188d9a9f55f68db712880ce464b95be7b064b6fdc2eb2fc09953261a3996
c6f7d1006cf56eedcfbceb25f66a1eaa957d6f40d4715ba92b74d1ca35b62b78
9293bd081bd00590962f9c51a838f1a3304e0f1db00be0039c47e782350b16f6
0fec86cfbb14f2e2962b94f81aeaa2925cb26af912dd8fbec15f71f7891c8ba8
fb2e952ddbbf870665450a8632b276cbb62e37dbeb29130513e3d66dab872060
6397df9319a6df628445255085b53c14bb1a3200d9c735de15f3fe0b2d7eb2e1
7704430faf5c7e70a37a3dd6a0e22904c9c205f34e624006e939eda68b09a64a
8c0c9ea9c1b3a004bd95284ccaaaf33274056dcbed42e46b061f66785e115f4a
6ec3951f21f71b6623172e5d55375e6ea286fa771480bb34d57be370a6bdf027
881d929aad2ae887652840256db032c6f82459172608faf4360981909ad64205
99695ce5a90a717ce71bc0ecfd4c2a0423190e0b1ed6e0dba20f88c7cb103d13
cb6895dc2722b1b896be519ed92724f691392d47fd4931978cb07b28ae272856
19b4b26bb6680d4e6d4012bd368436cf4b189bf76c20dad775a241a9e3ebfcd4
11c3dc80161c8381aab9ca174b6067ae72b0ef3ebcda918fb6cbb4ed9477ae8f
ec8f6faf6c271f7fa7c06113134cb7f8c5e77466cfe1f337e1a875614ba6a950
26be5d152903c759092fa998806dd06aff400aa240f994cf043676b2c9f01f32
4b67febf0048f4de6e5e9fc408ac56c7be0eb977aae8560444f6ffae55c745ec
6c145b57901063e2edde3d9fed91e5fa6fee9eba6a2b1d6ae539c47b7ecd1d40
f9adbf394304da88af89a100840f08a15cc5cdd1dfe0604f3748d360beacac3e
"