void-packages/srcpkgs/firefox-i18n/template
2015-05-15 18:54:10 +02:00

213 lines
8.1 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=38.0.1
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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="3b29f0da65f691cf1513fc93793d0962abb41b7e63461149142c24658446a1be
89d09d602878f890d8a1507b2d98deb75374a1a9dedca74e007c90a00fb0f51b
22b35228e8228b28b4b52df5cf4413c49c60fe9132cf96ebceffc820e9e61781
993660b17ac1d4fc455f8c4cdfa433be2497fb09595f48c1dfc65c6f47566616
54b2d030dd2e4f14c100165a68a32ad547a63bcf75f204a44b8ab0e07e7ea77e
374eb571b161e5825637046c38fb4c75686a314cf180aef0be82668dc474507d
60f225cba7bb39fbecefee7ebace30f0a089933e4596981f0dd8d3f1bf7bdbfe
4f0e49f503a5f721686c31620b3cc4925d1ec7e75b2cec5cdd1712883e3f411a
45e2b45d2fcef99b872420f737b6c1af5494a70ee7e48647fddb229f041a6f9e
0ee35b24ade934b985f0e3b57b5cf12f202e213542a8f49dece2f2656c68cedf
200c168d9d306ea136b3757e7c2b68558f6cbda6baa6ee42c7d3ead34529c07a
20b1d579c014b5a139922e89165f4e3751a01b1231cfb86c2208d2b4917ac337
66e886276d952cd6ed5d5806e8f9ab32f30fef05e9dd604acfdf964d92167608
e40e894729919e00589858fe4b873a49ee528bc015ccf74f3a45be8b7da1b2a7
8961e69d02500dcbe1824d4d4f9b4e2488e87cb4e4116cdea600183ca69fbf29
4b73673466a35d2a17fa83ab54a57150495e6c43238a28a636e6a0c8835334ef
c3cc80e799ceab69ee4700f1522bf532b2a0e88eeaa2d812cbbe99822ba85482
905dcd02b17e046a54d667b68c864872b5609f78ee40ca59554df4a85dafd8c5
23d7b1b954d6a0ff675e59b4ea3008cdb3468a9c338eb191e5d07a5db7ad8c38
0e142bb9e864860969a8a8547b8502d560fbc7cd9b8503c7b4dd2fa37259bfd2
b060f1462fea6db75d6a586b080483ab45a1c60eb08d744a37e5b602478bfb00
c71519e6819fc9082f53c9fd615808aae78e7f4210e743612271f153193c4fc3
18723b7c770115d48dedd197adc2c22c18589a409c05efa2f14d8f9bb202fcf5
f7fb5ec3f9474d4edd38d5b7799f206cb5ae6b66da7a403fa0b1fee274fe45b2
02448b3d0fbc35fb5d65b9de4260a4dbc684ce6268e93c12235654b665baea8b
091dabc25bbe5260a4fc0014751a948a21c9e4a597ec97c62f3e8fdef26bee62
8612c6cb4f790fed994774ae573bb6fc06c6a8a213a5031584660acb99a60043
1f5097e3b672f1e7db8b7ae5c7d8635a809fcede1bf98d6c0c8cc17991343317
2e025debfe7b53feae7f353604dbe251f997d0b5a5ac276737716fb919f8bb9f
e6c2f83d264dbe4f38f01818721f3c7c30dce3787bdd37b02f4a4329f2cf9eb5
8374d112760be0989f9f78430a83fb0dff3557672396ab28b04296f775f1c694
1c3844c8621f483d356e55ea9a7468a7f494734d911f510f7713cc3f9924b258
d15ae925ef451822a799d2d5c7ebea851a0fb4fa7d44e98971696aba53d859e0
ce8ccc7f02f5c6202f97cfe57c9b1f83b9529ad76e9210a80772c234c0d5e21b
80b78d22d0e19894417ead0d919f7e29ea966b3474fff173cac6de54eb96f21e
9993087f32f9335e86da8584eb0adef087725d854acfe5aa352542d151e25d40
ef49a948a6450e28857c58a8d91d3a8487f1cfc85efe7f0237f31f0e5e9aae29
e4adf0b4ac07b7b7ceb7c7c96d801504e7a5fb9f6e44b9a0bc737fa6bf8f2ab4
49642db5e71f6162650f54cd40c0ea3e42299c55c1667e1c6abc776b2e127714
8c2a4b618954477ad9f500978c1a57eb5e7442b263db5d5d1d176e346740045d
9eb032cb24be7a9d2ae2976ea94f95a7a098da9ace7912945e0a14f573645edf
05ac6b2648bd8307bfc04e648329e56af33246b0fa9ed9426a6d275e78148376
4e4df37f868fe02f431ec0ad3737f3046b3698beea095fc85efe6d6eb33bb89f
1e426df56b4d66f22537cb4f9fa77a1b367d5ae8c9ed1a36c0a00de109c92d9c
6e36d406d579f43cbc36fdd9e593aaa9b3a48522a20b9d3425e89ddedb1c64c4
1c62446ce60ae1f3cfe0c7e98ccf160f5c0a4460cb90c8db4a11de0301d20be1
95ff9d98e3248583260227bd3fd00be061ee1fd2b166c2e9d040061bc1c12b13
9dfdd7182bd69962be35d9ce7b6df8cb5b6c677a25c734e98e3cba5b52ad5430
e26174f554fc2966a775fb219960e80170aa183bcd21fb2f6ab0d893dfe94362
5cf5726942c317c6c43b38fac7d1e7ff8dd76a14febd7d4432a809fd0df8ad62
4cf13d234fb77d4abb6481a5aa4b01951b3d762b5e23ac1eab092b8b765480a4
b168b0cef4624930f3f5d153e02992f24e167a65e6917a0f0a753a6d53faac08
7f348275dc07811ad262e60b91f95dcce995980654059ecc7e510bddf72ef9e3
b7cbe62398100f6cbebf602a38bf30e6f1fdc9a7a21359d7dcbd6d8e9464ad32
fc426cf7da4e22008808f4cbfba9f953de4394e407a40a1384644c9d4ba4aa2a
3f13a6e3cf881620c8203161232c4cd283d1641d9fdfd8111b0d4ea8421e96a6
7dfda2fc0434a840791ec8127a5be8280686baabc021aefb16a16eda71a795df
b2aaddcfb76216565e85c111f38940b30bc728118c9a060d95c8651803da110c
1cecc9bed2ecd8fc100ba59202b38acaff2e81e58fba99f4d8459b17dc74cb19
918e33c916f401225b2132ff4b9c03fe1dbfdefe7d25cb72d2693e751f46e274
75c3c81acc6140d6274f53b08712d9cc9fd9197dd3bf6964f26d60ee2c88d1db
b5776a2811a276e24c06ade67dc961549b7ca4315fa8b195421205b614c2480d
05a4638aa2fb999e6e729302f5d097ea9646f4fc96ca7074e8618ef2204c5cf2
14046159b5b1b979ae07c0d5022ec113bd0502b126a2b8402604c13806988141
9ba95e951278c6caf08fc3c3be01b029dbb6e8494bc9074862d853fcbd780b6a
25548460ade2128896cca60ba3ab0573075bbfa8dbec07417da6e29d56b96932
823d218cf098a5363b55f6441f68f1fed032a2aa840a695ddc192c2346aed5ee
c0c495342027343130de87aee515f5ee9f4717de12201f566c3f1d8e2be1f91a
e5c6a4f53328c7b369b76c0f89b7a1fec257d8b6520fd333c68a76ef4b1dbe10
6504132c228e0fd3831d4dc67632f572d5080ea0389e8760b420220db17764ee
b8bf1dc6d08d991f9d3cd16a8745ec31bbece415c28e0508ad407b7e2cf95887
34ef967c9c63c667aea4f9d1ae7555e03e617c12e7a219d88ac14fe7452906d9
b9b18fc7980fcfe53f122dcbebb8fc2b16e3cc30f6a83b3a7f68dd44f49f5fcf
8b234018f11be44dd4b168820c761f577c8872a2c74bcc4a3ea128ad9b2b29f7
bdb4b47c143dd9df70eea755e07a059af1b15e28ac5aa54f8b43d1b575c11694
10f8b794a68253013f06d8d3fac3ac4d93ada6670e33c8bc327cb2a8ad02f06a
edac8fe6e4de63b2aaccf09b0ca78c96b7cda5e35b9c0b7e1af1f2d7f94a7126
d6b9ba17edb4bf964ecc29f2742986dec6c0d9d79295d24ebd84012325ac5241
9ac2b7fb8dcc723034569da02891ebd9ed403686201e341c28804290e0517f91
50226284405e74c87ab00d96906c0e6e1472df877fd822fbd99534f29a3831fd
2d00f85f784661959732d8329f24d425d49094c3985975bf7484ee1a68ac14a0
dbec9cb8993cc202831999b58009019136093d512a2f6cae2054bb7497be8b93
189e17ab9751c4be007e18d19c458389e8360eab9ba5b783be816331be907fcc"