void-packages/srcpkgs/firefox-i18n/template
2014-05-10 16:48:07 +02:00

216 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=29.0.1
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="
1a5838dfdc4bef0e0d3e392b2184c38b6128fe2cff42cd510f705d0a0cd4d785
a38b955123f1bdfcc01d77d0f1fc619a4a9adcc99c1c0e17db8ea506218e910b
71efa47d7762ebc6fa7856ad9867efaa71bef5b6d89351cdfd7152033a6f76f0
841fed16545010250e918c1c842f4c26083b2ed92d8d09e97297a524db2e0267
dcbca033c36a9eb16311688882e78dd203cb4c14aab8e7415e459850f94516fe
8136226c627e28c86e196baa53d0528b8eed185f6400f768e5b9a21f1aa1220e
7252a94da5f9184ff09b33036fec410e50150e1d91507c12b0f6647710546f3c
d92541419b04baff6004ac9f34bee1c122213da7a0eb61ce2e048ee6a98856d6
bbfe5a5c6542ab8e2ce4a5019bb470a6716dee08cd892e798a936c05ebb19ce3
9da8ab4b4243c7a93ffbda7d6e3e0e618a33bf4b4b6fab31e6e239a25e2842e3
847854c1727f6751a7c6ba7242c8e5a9ec177ad5ced113d4aef3ba141fcc371e
a72568cdb1d46322bbdc0234d27b96cf87d033434fa8b206dda95bb62972e8ca
18d4e91798922be5cb1db7938aeb491492b2fcc2d25047b7914d7f2e035b1e49
80c695a82b87e396660de8ce753c490434042cd4505efdd26c2cfbde3616f523
cb48cb5b62020539321ee4e629355b59d2cf14f84ff5bd27de21f42d622ffc6a
356c0e1eb9050f2f4fde150797982b531f72574c158460b1b0be2e596c0a0a70
c887366c3fdb6337a31baa612c0b030c3cbf6f323239f95f7945930d5d616314
7c1f574b592df10532a1660b2dc8a3cc71d9d30a8e6c810b816a875d0705b6bb
fe6b02b8e9677688dbb5ef9e67a78dd2a8eedcad53fcc705be6c1c94bd5214f3
eeeb08a208baee14dd1953e0a4ca9228d609a1e35ba0375cdc6d502220a5646e
2775e35ebd8cc52a25bed59c5c09541cd82c273ca64bc73eaac366f890f384fd
38a1bbc492ffef19411773afa61b3953fea16d406230bc5f6265f0f4f62a07dc
de211b48fa3782b5153897d925d1488b60b7334b0f9e16cc0f81026e32495c79
7a3048348c7e937c265ceac8b2287ecc3576920890aecae6eb0ee9e0e43b0aab
b5e1a27d56e422cb5cb54d01817e621836eaa37524e9af3dd9a410e2c4200847
cb534ede9c99429e7038ac52d72c274d9528927e74e0754febff13fc5f1735ec
6bd11bb1acc431a7fbd65261546d30fd44b8e8295ac6aa368214b1e30fa2b95d
d33a9a44e838e39bb1f02f102d50324822f9584e6d45f3a31dc8b70abf3d5eab
e9c3354d2ea070b23a0b5119983c20bc294b1f7e54572318436e4c69bc6be6a6
35739390a93d2e9a48a8e335c396bd6066cffbc34864ada10d1711a1f170de51
7e00154dbac8983c56dbd45340475d8346b90cbd00e89a964c19984b8e4db61e
5bc09b3bf8887ca6552b57b5411ceabc9604c044f6bd4d9a1dabab5f0b3db725
4886706f4ee1fc2be01893e06059cdd214a339f4ef7b090608e5d2aa9416449c
508845701d3d6d94469dd096e5e7b9f0b06fbd3f8635bb4b04ab21057be91110
2472e4ecfa67efe8a5e685108bb2653565593f30d694df8ca3739031d8993c7a
ff61c0a2ac18c5641483139f01cc73330dad82ac7ceb8f0f2f2d76ef0cf63608
293e84fcbd8053c21b3df95065cb46782872ef6aa6db9c67f86820bc0661788b
4d53d2aec7a5f072d11e654b1bb5f3505a7470307746a7351dcc49b3a6eb739d
6f567f80a395fe743d93ff3ae2d9e07b06ff48e8b8ea7192af4205a4e4c68995
0b07a20fa39e5af8e238188a05fdb11872817d78ee6168d566912906bb7b2282
3e64e79f0e9d244e7e8d634535be9d11c69119146303d8ed003b644a56938094
2e541a668a959e9c143376ece7d633c55adca002f4265f6bc0b1036bf7830893
a25bfeb2e2d9e7124d6b40d06076f371e3849a4fc916374ba112760e6f71d871
ff2c89d5b6ffe0de1016df6bed2ba9330b172b9a258a731511300b628fd7952a
305c4bc4210bb7d546b72174e130017fb3d494f0bf241ffa2fbd4e1e38121d7a
e71cfaa90c8ff43b06c11f9c101701692c45c83faf72bc5e6f524b282f0de2d6
e3e79fe93fd44a22441e99441fcba5d663702be34e68f4b8f334a4b351a99545
ce3e5bd33c0e9320fc1c5b6da0b94bd16b0d4e4ebace39a6af64508dc2dad77d
4874ccf9d6ce8516fb562c72df78a76c6d3052f5ab38880cfec19c46c97f9cd4
cf91db565b3cd163983f5b48e667bcc8667f251537a3ecb5d3dca902754559fc
3181ac5387232809ec038c7eec45d9306fa670b58d19ed44349b011abbf01f38
bb9d0bd377d368d708797aae991d8ad4141f5308b7f7a463b38470f909780391
90e614815d48397d50b0af4bcfbde4ecfd76c5a94a9b1b89307ba9c958919929
a34c1c2f4bb9d887d093bc4478e56ab3817e5a4fd1af7b519f3ebc424076d0ae
176396d5d34bf9c654ab250197ee861e347e20ae9cd4ee84d029885b635837b0
0e96419ca9373fddefd8a21668c6deb6c900cab26f3336de47b5513870a4c349
e639d237ae7c8411c197dc4fc659f56f0aa1bfdf1272a3e7b06c1d5fe4b2dad4
b430d8e5f29029d31f391ededfb470cdda87916e79ea83de70c279e730648f64
2467aaeb27714ef601af442568da835a9a32cc720a269099c6bf91881c851277
deab74133ead67fbf27195f73237c67139b19e1855ed50444f0c145def4acbd2
ded9cb07ea4b3ab396b804798c5ab122ee6319a42fc7c761e7f390aab1b19c66
acc28caf124a7a6054783e8d3baf8b7c1ac8d7c5a1429dbd5c4f84935ecb7b39
d2339e9e3b3434bb4632e6803b8ac9bd3b89a8e93dbd99fcffb2011bd8232cab
7d2e0668461c62b66a2dd5c58f23712dcb1b27ce873816993544089c9824ce68
ed0b6d12b4295d3a0d838ea550a543cc01a76592287f2b7fc9b4eb2d98721aae
6d7c83c37851ad0f981c9d282e1b989a4d7c13ba22bc81895a63db53e1ceef40
08eace9120f55d66369e2883f9c82fbb4c12b0603a5049bde8f02a149892e259
350beb32618e732361b85df3c26b271c47568b8b03298f13077d1adde183434b
57034b7fc87eb5aa2b8c8750ccbe131a69c3c4214d4c3e0d66d7cc3f0bccd13a
3c10eda4e16cc9aef0e341011055b1cb1a39782f2b4bf5ac8e42e4ae783d9ff8
a6fc970cc7a6012f4608eb214d96d8046068c5a6e95293a9ff5b4ebbc5a7784a
b5e5cb6e9c4cf02cbb8968831a84139a76476825281b8b232d073df9ae1a869b
872ea0400cdf478976f212ca69f46085ee50732bfb77e92f686cfb586210a5bf
7fff71525eeff8720af2be9e707cc5c21dba96cbd60510c7ea6c337410d38b9e
a80e1212ff591fa4a56e830e8378ae675f5f00e26d2e271f750b90a5c4418be0
9ac1ecf00931ab88b9e7ac047498f91e328e7ff9b9d99fdb37d6459904d120c7
40792cc683173d846e40f12716d0ae5890249a240420a5a5db2285ba28162f1d
a219ef9cad71fcb29e733457a06736967b34f7bff20edefb0b591c2c958d4e9b
f63c584bf91c069179a2550d9cbd00ba9feceba891db1cc90a8daeedc5f36ad8
75900519ab30fa6d83b1ae8302f75a83400768d6d2b55d5ac96667972b3d6898
0265b4ee9722f1068701d59b1a932eeeffa597bd03e10a21ec187745f32ca701
2172fba7ffdc27502a568d3b0c648bb5970a146481b6a8049cdb12247d6995ee
ae5a08c7b33b093173f4d3327d958021f3fab987152dd0ddb14cc5ee15e1e67c
"