void-packages/srcpkgs/firefox-i18n/template

216 lines
8.0 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=36.0.4
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="
c9f5f3c10e55fb183d8aed30b3ae1039f712f69221f310a824a8061715f5ec0e
0ea516db1f7f100b09ffe1bacf08d23b1a29ecb7cb691354f93467f9b97ef9f3
3e2f7f94d6a44bbb00a53d57a57e79bbee9a400c52e3e11ae59159567c8a22b3
63ad3bbf77b6ee71a0c3761da376a1236b08a52e6db7581c776c7f1fdfdc85dd
fa4d84594a77b7b157ca7c926fabd7a811dbb87477b5ef738bec84c046081ae1
6aafe303ab39f92d4348a8cbc90dd20dfa5eca97436b42726bb7406b6c02d4f9
bfe3c87abcc0cdfd739fae1a9ceca8dd322eb31146880d3e8db58267cbbdafa2
d556555f566356b245456581b7edf9a231afc25e59bba4161b21eb92873dd59e
17b117646c5d43f62620b437e51c4c449f7c4f4cea8ab7c149a5665a08343669
18404739173f03aa6fa01b99d9e090c0046edca175f78aefa04fc2a140cea6ca
1f6e248d0a27f415b1661083b0df27b56ed5692e139abd5a269022f87617c9df
f6e7b1d57654b5328bd45be9e3033f5d6469f1e318fb0cad55119e3827f26943
22538a55e45ba0cdae72d9d21ea0835a80b13657de9f1b25335742c338208cdb
6a860df001ad770d39f6ae3be8c295a4b189dc5ce4625b3aa29872555caec7f0
7a86c2af5a1194f39b0fbcf2547404e4a50843fc0937917b7a569fc98769febf
15eb9fe1b985b935843d8ba31890c9635f78226fc4bdfe90281aa296e5fc99f9
1825ae1148d6fd5f453090e9313bc9c058394c0a4c310af4d3823198d98c75ce
f6e1b6f5d3db562e38e870cc0456e8d0e67f70b03076b993ed7483ba136dd576
1e43a9e24a832b79604dbc1ea60b62210c9bcb5509c18a651e2ec60b6e3133aa
2386563c3963415d081731a5d3d962bd4699253ac6c204fff340881621bbf68b
dd633f78e19ad1d159d20a0f912bbf2337d09178baa8f2109ffd0f9534206e8b
f35b2575f8bbebdc3ce0b29c0c32b3b3b5ea9e153a2948773e80e9dfe6a6606e
84f629c99495eb31ac9426d873050b5e38f787accd0b09a931b79826002e25c5
726a4a3166dd4449635f83604849cf8408789703b3984e5340e1877e1cce7de7
ba027a522dfa5903440fb0c3efda1626b586ab3e8f2ee4e46bca02c7f5daee8c
bdb86bc3d4418a2353633145069c50973d75ba06eba2d11cc70ca04484acb4e0
4515d11667cb72bcbc024ee25f948b1ca24d40d33d20ee699bea18acccd7409c
aeba44c9b2770f9915b50539a5d7226785fcfb86c1c32e25a078a8a2796fbb62
3e416402d33937ed40f42071a5e3b827338bab4951be1d0b2777e806e28b40d6
2db90946d837b8b2ebef065c43f98d05811351210dee58b735c99fba18a4127c
bc3d2ddcb8c5eff8e43bdcd20b81a5ef494910cb3b4962b7bf4e4f2266e13cdd
1658bd6067ca3de57e5707c5511e5036060a056da51f37f0d890d3e50ae9fe19
7766742416cc59b2b83cc021d67c7852a72a32b3b28dbe5ff8a670a175ca33d5
a865dc776328ae87764bcb8a365f0a4f849b57fcb69321fb219d477a26d8ba99
4878fb06045a5305f870a66b71bb1f9d7715126a832871e92806ff934f1a7fd3
f94814de5f8a321edefb7f9c20f87c9c19d82d3210cdb660d9b137d77415ed7e
18e4dc8407017021243c038937ec4ef2c8c97941e311998a2bf542e9420feb9f
dc1aa1e87522b1c324a69c5c95f133176909cfd763566a3e53dad533650073ea
a311cdb9d088ee5656e25b90d7a6a65da0586151925bd78b75a205d25614100b
74ea33e23bc0410d588386790f56e10763a2f6e0d08bad6ad32abc45791a526f
4542c3d00e8505b7b3ae5d793b737f64ce4ff7395b3a99503d04dc2cc9291d60
5641bb277cea62a5c64becc9bc9e4aae5dd18e3f3970e0c471e869e8bacb2da3
594c92f272f75f0e5182a03fafc03cf14b46525d3316f94c1c39e83ea8905c40
da525062d0a57beaa23d7c5214f9004ed127a22617d1de8243b2180720647c6b
8852cca6a77735ce258a62fa844ded21da3c226a0954e7e6aed951db275627ba
22feb2ea6a5ac675fd1f0b3348570452f2818b80655f005128350830ec363519
d1b1a8a7baa553036467bf9769ee7043b334bce19afedd18c56e48481a6f85d1
5713d809786f34815f0e7c55ca0fd126e6dbc9fadb11eea031b7ed7e7e108350
17ab57f042a7c1ba540f7905a531f264d66586828090070c3454280c01fb483e
5d4b2b794303f8180f72bab39b0206513566ef67baf79ddc88362f1765c540b4
f263c56e07d83abec5b5dff41654f5f36ef0e9185d7138d2ed8f5e093c34dec9
8a2637e407d14701f6b983e739314f4ee19c668200fb413c92c751dfe269c50e
a7b674f5bd61b53d62d74b995e20826bed876be7d21c678f1f75cfa55944baf6
579c05d8a233071cd8146958876420350fda03a4a78ddd8df56413084b003a43
0bb4b7a1ac8cd5a81657fe769d99d67d1b55b336198b46649777523621672914
7a7a0be2e5cc695337458f8472d3437ab86d42556638cdac0cf302682be7967b
812f29f2b182d108bbc376eef0b965ed3f3c081a782e60412004b607c555128d
dd56b83cdda99115d911e1f383aef72d030a91c6845e3e84ad12a2700eea54d0
bd9eab7dbcbfb7c3452c905f286da5470e7e4e8724a311a5c4b013d45a799efb
01d6f2ef3ef1caed284d0f4420d4a795647b79d77de8f688293eae82cc5b5334
2f20e5133e994ad195697521c5700ca0ce619ad2fa6fce908332993c8d587d9a
769315f8b69ad38a4e2ae798cc802388d5f3510d14e9d744205e82ce251b31a2
536bd0969bf14b506d18296590381b2506ef821a1a7a7b7031ffef0371428a07
f2278d4d0c243dd22d96a1c43ad4155f91768088aacbbff5435bcdded1b7b508
4300a89656f697a484e7575bf15573210a82d43f8324fbabe2c2c0443c77dd0e
b377ba2fc84d461c9948690466066a18d01fd7a217c511ec09f79ce35b23a734
8f39031f01aa6460db17ff0b65f030e99902b8e79e8427652313d839c826f791
9c1d8caa9c18ef06323af1827eb754b636f6694290be5608a1702f6e8d2bcfa7
e6535a4e649546a0b0a12cddfeb1dea7aede5a7a5ae28e944ee13252552ac2c5
ef53001f0e6362b8bba129571f9cb579f240d877879ffd40dfcba48a13599f4c
a10920d452471bc627c5cf078011b10706411b9255484dbedaa5d481e223f303
e6ed16e285a9c3c8bc075f8675f2d4ed0c5e12d0abb5c993021efa02cbc754b3
b9691eb6e7e3ed4a8c4b1a44b72665eb65422fb16e738966c264cdf2640ecfb1
9a02d164652b51d98cafd5bb461fe0c889363fdb155c4ddde9fc3342a7474f9c
3ce29801778f58fb52f4cf3ac998c43b47129743aff303a3de63282a8d2cdf45
267d658d6f46df8168e68047c38c990a91018323e3162bb62bc53c21164f2bd7
34a17ed01959a13dfabb73c5d82de0c35b4c66a0359db9c6f508d2afa3f2f657
96fd17c7febf6c352de936142d75e72e23b2de823fd9e6110fe684604be0a58c
868d38f2ec352b83a1b7c412c45d9d875e39b9601d082c611f79eaf7792e170f
f33ed07c1f08be37535257be3443f38acec405d0c380425e9e0c3c50f03ed5f3
54d1f91960e5c3216f20456dc7ebc94e17a045d549fe348e1b7f7028c799dc8c
7a6337ca9ce8abe4cd2d7d1e03830045dbe9331fafc3fce836e0cbc5693fb5aa
4af6d3661e68055dcfcf7b3063252552781f410f9ce223917882d879a371835c
"