void-packages/srcpkgs/firefox-i18n/template

222 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=42.0
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)"'
'bn-IN "Bengali (India)"'
'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"'
'hsb "Upper Sorbian"'
'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"'
'ms "Malay"'
'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="
80b7f285d462ea72b49e482519c8d6265ad4767e89b1bfdc2e2d82eabff45be8
087fc72613b98336eefc5db701b361188d7e3950365650651c2b53ced362eea6
7b99498a270e20066f9791e92841ee61a1da88b883c36e611cfe79a4abeb7285
c4bd2e007fffa25743e8f20f70baf3abcef6aee59b82fc1360a9a2ebf120da69
397f51b49a9a5c754079561e5245e2e61508e61b1f1386e80fb9aaa91b4424c8
a6dd8e3b2439f047c8aa929050df202b1128f54a01c7d55e86a0d582c4372096
0fb8d84bbe69b6402847fe9be3392e50f867a8949b3597947287d1cb5723e40d
68f2334cbd91976b12de4d489d46f0a1a02720a02b848d0f1ead2d1475f94b35
c49c4df26fa1396efec68ddecde3947204baf7f5040c4380e4ab0742592db27e
5b91351ccdcf064eb22f8d3077573d94ed2005e434885535a6018532ca67dfba
5372bf36dbad0f368c6e1926c8c9d6ca40136f25c7dd818d933ca5568f3a1e9f
78784ccf40c531ebecf58bedf96db046a9eed42062ca05c80c5ecc5d5dbb6f48
f60be77d1edc340303d0580d6da07812e5b536223859226cb26adc4b837fa5e9
ff4f81fbc34e17b6c742a20927a8dee0dc7cdf8743d6c5219f898ffd0d750ba6
3d01d9210c7bd2708f99add6299c089654030a8b47e87e9a6debb9d58ab2eeeb
af056943a836fb36b8433e64e9b3003452280787ae155518559b1525d3566368
0301696932c69da60274dc19de58d50cc6a8beabb0387ad4d4526bdba1557790
93479275cc21ce09597de19b841642120100ab00916f23ed9bfd71bb67cfd9b6
e282b2425bbbb60a3eebfa3e16cb6d747a72da505ee2a48378ee2d08dba6ab57
9bf74eaccbe740c513be7e406f582907c578838b6d0f14e4c346689490517167
0ea29117a55aca8acab2df176790c1024510ac5db23b61ccccb14223fbd12b3d
f4c24c83b2dd4ece852d4bba0ce902233408eaf45aed5185b9f462d737d6d527
92fc906a1957ca00d8bdfde61fcc59feb367338857b3f2740ac15ae6931c2127
776b59c03dbabda037e65902b1a87c6634beca0449cd9c35f300db64d88d5fc9
1abbe63ebcd37cf44ad6d60759916d81f272910b9edcda0e36ab16090ba2e629
041dcad0d1840f79ae1f4769796aa080c9834261ede4e55f55300411808b940b
af4b17647e9e88652b352aa40b3aae87c254d025e8fd488c08b0f96d82176e07
cfe32d285ffe379aa7307d4de3fb639ffb961b1ebba857406f12cc15e7f61b64
5c0dbc5f709145ca93e89e0ad67c688821a3080476f5202c987d9d2b035800ce
d43f31eae539b6616f88e7dc0023eef4e4e64940ca4f625ab983fc52e7135321
6db03ffb84a02132ad852a9e6a223834ba00182ce34fab5e19b7c16dad6d2269
8eeec5d50b169f4102921941dfd43c8bb02f82e82c8f6a38a291c322914f17ce
2471d52f5bfeb516e7569b8fd0167109d46ec4c2fc774f8c93bca2809f3dc47f
fa5cda49e9284d9dae817132cdbfee504078e2140b4bfe18ead9089dce790f37
a41b6b5a51cd8dfab903a74086c26c8b6c2c05705d256b801f40530575e5d5a0
fc16ccf790b551df573b9de347eeb36719fdb98af44f9afa4ebd2c67853e1587
28e86b4cdbb7c1af4a00b7968a1c79005f594af9f44c4ff940686cecea8ea9cb
c86ff630372f014409b8ff97ba10eed5b267cb90f74fca5958c3d988c00f96ff
4bf1ebfd071d5393b9cc8503732bbf5e6afd7534f7bf5b1e67a105cf8882a602
f60a9effb51f85d798528ef947c37dd40e9e11f4c7081371ef1a2c184d51fbd7
ba43533196c1de882708e3f2c5f33508bdbedbf3987a060e51891b3cbdfdb5df
d6e158f3b5c4fe9745feed9be76276898c4d06a34c6af41e9d6f7d9574c1cb02
20d38d82634a0f7fac0aba10cd33def9bd07860343f50b51b977e9ba9d4298e0
a9b186a33c58dc26eacfd23b77eb3fb07a4169a65043ae6454f53a3076c8f361
36d483f995a23672548076cf493bb5d74067194e45357fcdaa8ccf89f081e54e
12f52bcd404059126fd5291e185e152b65a22cc80562c736cf441088ea7e8659
836403f5c69d4ce9304d123de794acfb297870b5dea084c8c5dc1f2d2fa88ba8
c956039afb31cdbc87177e9da7604dea5f396971cc005ba2b2f39bcccd07f0c9
831517e7a4526a8fe66bed319f07f3043a2b59d8f335e087468be241ee73d055
85f1b02e7dad0eff2df2d42f0f48ac7c87ee4ae3074304a07dbf72826de3fff5
5ba6764e73adbd14eea69b6fdef7bed1302ae79a3fbefc84a99846f6c8424277
7b926543d7ba6e3ba3bcd62846715f88ba2b08ccb069174e1c93817c4ed30270
9cea89aec036c26dbb25ac560045ea31014bfdc799735894439ef081c84e724d
dead267a4f72a36ce73119f9d37cd62ee8c9aca800886c744ce3a7b871d232b5
8fc086207679c75f6d4165d4a12333871078e60aa0476249409fcf3ac05ed284
5dabd571b25070ba83b7bc539a150714001339e7a986df8b364424b1312109d1
7345b33597ecad8e9306f5f483b872d4d62c86561b3bfd7eb514853f67f9a86a
734a252d6a87a468568ac8ebdf9cf2e2ddb692997b67890ba846001cbacfe1f8
cf16f7c807915297a132ad8d71fe20012c54eb82f8153f66b954b71a143cccc7
f18376647b559b56b94dd54a92c4589dd4313e18870f7c5ccde520ab5baaaac2
a2470132d8b8a80b71471527a4c2468e7cd9e2440e1666950c591e09f78138bd
4bff7cf5b4178a6d85da579ad1356af88d332d9b48cfbfaa067d51c8f190dd27
c3f211d325a7bac64c71b239ccc95918153f5d5ae987b29031245bf7475eb329
af2e3dec61be29064b9a72846fd1148f0ff02e7e2290a3ed60077e932cdb614a
34498568481fc7d720742e2add62e0ea55c6150bf90abc3040186ca5d26881f2
b0c9a80cd76142fd9886fd70a141dc0d8e4203e8fbdb72b649c84ee3b0d373bf
63b5e59bd240b67fe683618b9be9d824ae8f77133d8345889b32ba0930d77687
d5ab15132c13db755ec05efbf255a53ae4411d2724ecc5ecc5bda08c4eef5681
d62cff13bc6ae437f1a224ad2e11e8d4de338f8b6b3e405baa1d8c0764b7edef
ac454a85ea58c5a3297550fe7a10eef8487f37bb0310df4a5a9fb533d7c1c712
763543a1f7433309be01d89e30436b7bff4fcd2b50e8f496f54be26f0c730688
beb7004124240fd83f64841ff415cb692aab327b5ac925e6db27e4b9ba7f01ca
0079e2ca640efe4d2c7dd29a570634cc5072f632bf064149bf9b9d8f3aa518d8
811356dfb2552f5c2d2832b7a208233e27eeab1e064d694cf36532ddcbfc458d
fabeef51543439772b6ef5643d0ac57ec196d64c6ef83e75ddcd275dc6624a81
692019f3542e0da8ff64589b488eab0d7e6d16906655d5a86ebcc53c00731edc
6e7e0eff3c480a302fa0ed1a4ed720ac432f0819c55549afc6bda028ea1b23a5
542761640fbe8dd6cf3e60be45a12735bbfe6c38c96b0073833544c85c5cf10a
7287fc6577b0892df46ea1fc2f185fc73ad94c4d8050cdd3a4be47150f1f7a2e
f254f7c40a194ae3c082d9b77f155fc290b0e6abe969d7c06788ea7abe4039ad
f343c4f3b2cb5541fc9f98d5953101f5e5d1ee1d5c30968d6564828c5701119b
88c881749bae293d9614a77ed9458345399573a6ab5583626ef98041ae78da32
1481521a62561266ea14389cdb579b1757e791a5473c981e399aa9bff14ddcdd
1a1776e5770dd361d0adc85ed80bb1e81dd5436a0727009b91cb89e92e4d381e
46bb4b1b67494004441135dbf3051501e0580fb8da29548de73f2e0fe12f7834
ef4e9b5e01b85564b935a5f9bc663ffac61ce0f3ca166c316b1aee648832d458
"