void-packages/srcpkgs/firefox-i18n/template
2015-01-14 06:13:52 +01:00

215 lines
8 KiB
Text

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=35.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"'
'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="
85a1271540981ca3491976cbf4bfd036b5835c8eea407f39e3938e0af492696d
b858756835a6dc76f3d76b64366a7a9ee86f6c008e56f1b2dd99fe5f1f36e6b3
973b6c71c338cb5b25ca156f1b900bf1505e849c0e67f22bd978530f5809e543
8cec613adcbbbd4dbf1efb8846fffae0028c7e454864b72fc414cf113ec4e0b9
3477826b64144e32e011f0d66e0ab51f5431eb378339a7764232018dfbf844c3
2c656b94b65f539c6a28017577cccacc6111adda8ea179ca5142021f8bdcf45e
fa8018937cbd41fa1ea574f81dbf5823c2bb49eee0c10dd32ce62608cb81eef4
9baae35b86788673f4aa5fb5a3e94432a6273881fe20c04212783186cb374e18
83d27f68896d10191444c611e2692e6120beae19c7e3859df7c178d825d851f2
491be26031de0a76d18a66a0060136cedb20ba4b464e2734b626f8bbbaf4f96e
b6fe8165c5394f82f41d89449759a2c6b6cb2c7eb2a2a0764b15bdb138115289
f7ecf11fec930ad88babcbe1e30a55d30c7af3b9881786d8f2aba128e395fb6f
758823fcc0e781d5a6b7c2766eeab3c863ea0431875839daf196a5386185dc22
9ae25cdce960cdd2f9d51ef4e563175b56a606f7eccffecb93caca89683a1886
dceb9c6519a135f8d4965665d4a2366381a04cb47f226c88a42bc0d4de5fc8c1
0d37996c06a0be0cc343fc471f6abe2d71f29247028dbfdbba805104c3e7e2de
dbe1dab6dc989f0ebdd6e1369061ccd7813f8f4ef4ed0cfbdbeceaadbb45a388
ff5878dc26c94e9070534485c8b24e715197bd3e6871728b74bc66546f27a4b9
5dfa871a7c4a1b81e9413324075164708448e4f25f63b958ebabd083faa835c0
91b9c5c55906cc1686167475de7788ef3fb5a3417e1dc3f24c6c522d0736a162
7bed0b3bc9565222e2a36e25974e72662d0d99ad2222253e125b52bdb4157e44
b48984ad397ead6b37f3fb7b5e4862c81c462ea394f421adb3d97dcadb60a03b
ab86c52f9a79778b91be7004c67926547db5d30cbbfa2a91e3620e1c50c03f13
6ca306bf679fdad1933235172043e0647c46c9c82e8449d7737a66ca25c13d7e
79daa7f4d46ba14c51e6bdbaf6d9baf43b44d6b593d134f0c0eea49ef4a3b19a
785e086d04300ca8e53684ebb4d651c0ac6d8b80695ffd1fa7b766c8f873d116
c3a56dfefe997e6eb1280cd3e20840a7610769098370a0156eecf6481131b19a
534fc7cc4e4c07f9eeaa37f342007bfbada464372f048b1afa69dc81f44164a4
68fce1fc735bd97365eb2c2d5f1094086a727813ae02fccd55e27b9d50ad04f1
96b2a3c145c27e3f9bacabe9b3652b5777186ff86e02842f85add3bf20b48e93
dddef870af0d12931119fdeab9c107b66170a49fe540d159c66b6df5809b6023
1314b6f4a19fcd539c3db76b1ec2fb1253bdda44a81854631c1f1656f7e05e3c
712eb10bbc6ba05086cae9eab7ab797cd5beeae5d77ac7835d51d2fb4f79b188
8ff2a2f5762f4e8bbe587daeb44be11016d1818d6ae50e5ba3e0d6d65fe58f6c
8779ed4a9a2eac380613a48bd80c9b85d011720f791c96a94281b3a14e7e86c0
7855bda5c2483dd2c995e3621505f311b490fb946d07c0a2e25be4206073520d
5aa56ca35295b6bf9ece00a9a04470fa33c58e3628e10df1ea0970a809638a03
5319deeed65ab6649469e6aec8c5771d684fdb9e288b49d5fc7c54a84294dede
dfca3f6f9ddf41c1990e238f4854df9f109757cd1a0e95af407d53fcb59482ce
31917c56d4cfd6bddf7f8941a33f636d65378421d39e00ac0dd7e4bab56f75c2
e18e39f6d7d76f9907ecdbeb3062739ed83c37a2b777ac320839821db3ffba6b
39790a0f45eb1436858afc0861ba506a1207918068b45550c6625f169608017f
5acfa8dbaa6bdf58adb8ac6beaa3dbebaeacc31fa0afa0490ca0d3da9af37be0
33acc5fdc123b75768798807020b9f4eb08a5e8c0f825b4af5a6f878393a6bb4
2e66500fdfb4c905d9b5be07c4a2c788ac7dd46eb1cc0f4defaf1a00690453af
ef3ffc6f425c29b78e209c675532a095a444124bf07533b4b599860e63090b19
6b285fd8b7ca805231956c9817bcab776fa7f545cc80c9ddcdfea5aede4bb063
717281b4694e906dcbe6551d15abe1d893d212818d350598bf983f40e76ab6dd
c94a9d111a936144caed8c8f292869db7a07a0677c87f0b12463b4c1b12a2057
5c3dd2a4524bfaa9dd0329062f5a85d73d02b0e6b7585eaed289859a38ba8ce3
43f6bf0b50730b6d123329178c1ddd41641ab4241244c774239a865040a47923
568e01e67e7245b2ca5112635c45f47b8b284e9b4485865b5737712fae9dde93
3615b6378f482dfd80e80976f8210503fba43ec807cc6409bec53e63fb5a07fb
003b0db29a50daaf953b20965a90927e00a9d087f02be0c5a71e8f521ff9582b
6cb41608d0cb4e897e1aceae6141a5441d6562a42e0bb8dec6cbc6d1754cc74e
4a926ff815174972658d59593130d56c8a9a2a9d835f1b4d1ee09e4483fc132c
04275617458ec15ff93bf6142ccd6bbce2c0d83ada17a2a6f9cdeaaa8d48d1e5
d044db587ca5c2240ed0767ed80b7645889ea6b297029ad03edd7fc712852f99
1cd4909db05f1b92cbae25f86f161be573132f5d9ce1d18a19ad5b44803f0a45
f96b2a7f7b7c05fb8b4e4694c0acfd0b594b4718e730f7d0d44f2c70a1e00cf7
16f71db1317bde74a9eb08c9f6ece07a26a7188173e88acc6f5e319efd9aea20
804551ab6dafd44a56dc984de429fbabdb916beefcf9694f5836b5962bed6735
5bb2ea2d625fe9b0069c499be11cb80c8e69bb1388ca25194e231180a1d208a9
72493c62369d82652b01b1371501f3f5a5ccaad9daf25d097ffaa26540ff91f6
c24966b525041312599daa5400ead38e0debc42ca4edb5cc479bad46f6bfd9b2
d85aeaecc8cd8c7763f3463e7e0990ea8697abd505a643df01e618a31d3e990f
5a5a8d0c8c10a051d0b2163f38fb8f68ae1dd8f4021f9e60516197bc1211bbad
8e986b14482871f6e45342c087ca1c9a8f707e0c56225b8db99686d763094483
16db8bcce4c2c470c2348655d01d26dec4bed8ad1a61aad9cf4e704ee3d172a9
ca3bf5cab217ef7676a0c71dafe96fe790acf5a344115f00c32aec23c3286240
1dfcae70989fb755f3cd6d6ac1e0304e3e38676119cc4c8267345474af0681d6
0df9e4e3e8b0715a85085168da6cd5aba3737e4c523458e6c4a87fd687d3f7fa
77ffca3f8ef2628370e281edea4ee9a7e5fe22963c86b26677a9d27f8aff5fcd
6cdd24d80d6e9f9486501d46e58267eeb0f348626582eb809ee91472ee8dab21
f3cfe2308458f7eeb64c728d5ed1993353c7e73a3bfdf32db387f2e91d25145e
e6e1cc0c30fbd1bbb99c15212e1e4f52788e18bacc4123e2a62dda310f7c3a0f
64120f6b6e4a1f618c7f7534b7ec19f4157bbe3528131b634ee703df194d515f
116085daff97dcf263aaa615a199f3a98c1bcd28a54f889c8b6061cabd790856
cf3a25249d325d72f680a99f6c3083067e105e8b951d1c54e581fdaf2c2e017b
9d1bccec606778f012455e4704829be45a706e1b232b0df1cf81f3c3ea41a4b0
0e0b578bc6fecac8e4d75b7963be8d88d5ee69fe63b749c1983318a4d75e66e8
3f07a55fd54d9b49b2e5ca86631238982f2fa6ac7bb4f1848726870dee92b624
931a489a23de7e2a42723c7e495b9c9d88d2f8343068a97a38d207a7659774cf
"