void-packages/srcpkgs/firefox-i18n/template

216 lines
8.0 KiB
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=35.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"'
'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="
3acc381c637c62cba0e1b3f9e8476e6626bff52f3278d500e8c9b130ff105033
2475f190a5b545bf4c9740ee6052a8d8b283c95ee4e9407efa79e60bdec35890
974d7385158b5d0d184c73bec9b1dc2984cef0b9215a838ca332112ae22ff496
7181187b5b2da93036a375c6b4b7def4bf722ffb3f7f161e49edea65422c9cec
4e129c2243b742ee19b61e76bcd22828be95f4b6541459a167c3a5cba4a72032
5ba7a10aefaa2862b40238e6dd76ef346ee67347d33ef726b7443d32d968ace5
b449859d6523d75a844b0d6bf1de59e37ab18026b5f9338608dcf5076ee4eb6e
fcc368a9c5ea0cd07c7d93009ffb87f4a77636ea2c616dee714e9507caf579d5
b78ca016e46d1a22db3dc88df90a2d41931fbdc1081080e76bf01854f744bafe
61ff2fdcc899b7f59f8d27111b05d114c1f55f36955b66867973341f5323cf88
c2ef180d5b9b155896a40ed0cc91a82f032d1145a6fbc53da400aa898353dac2
3f8f4288280820d1173cf967e35ac89329aaed5fa70810f08cba2a289f36c66d
f15705b596e1415a0f502a5cf57f48cd6c176bd85ab09e59b665b189d29746fd
bf471f0e00a86fe8477b1dadd69702df603b62c487207d1098de18a8d45cb102
60ecad8aa0b690f39b492717ff95e2227046c875c87552de8ffe7cbab0110278
64369006b8b34512538744565d29dccf514b5455a3ede32980b21734dee6dda9
dafab4f4383637fd4bc0fe77974536f17760e4ee4901fff5b2668a920107bf06
0245fc34ff932eeb4c1b5c25bfe685517617033a54ec406ab72d0aba0de15eb4
ee3bc397656563ac85aca856ed964185bdc64f79dd95c84d5238e22ce5d28860
be64bc5180e077ecde34508b033e5b550271663850dbabdab02ac3a980a01d71
b4a64a0c9cdfb0d5a257da0d1e2b7852565f8ba5dec5a2976e9b5e6ce6e5c9bb
d3298013ec0580c26cbc3298fc68ba334f9f7f514f415851dbc0f438b3a7d1e2
4808e96479bc8f179ae1505f40f0e3719f1f0a0e5db34dd4d05c47e9ccb50acc
4a71fc57cc3a1e8134b550acc4fff64889c0c2c3eb40558f47f88dd6c3c534a3
e328a8b9d45f283973fc3c3c10543f1fbf4b71f65ef6720522f3ab5a59324566
f4476419ef4ca9eb496313acb97270ec3bf80f4de6c3142ddc4545edc1e50767
1a17bea191c0a12741bc124e4b8b6168a5414bc0bd0a053f9ca1837a5a491d58
3aba9cbcac32d7c48bd8c749b6656c51c62c3e56c43475016c6746cf838fe161
7c0daf076c98fe33e2123c15ab67cf8f17b2d4d3fad8719d276d70fe1b247866
54266792cdd9cc1400b441d30f29a82d1e2597f11b0d1015793ab4d92a5f6d58
ef3d7cddeca250d8806a837ab469ac3e4370f11b0f79c68c2f27fd5eb01177fa
abff62c1abe9f1e65d9224899a043e34cbfe5fbc7dd156c0a6c7e47856535de1
cbbc6d4697c0c75c20f1d616a4d46e79696551ae30e2c87a66f3146c4dd0d100
f0ccb7ce40d28bf69977a260c8b7daec1af56ae8334ec89e76e0f85fd7ad8a83
e5e95935b581e9204b8c8ad087cee75c0d11b89679c598bd75d30eae32ffdd6b
e762c277f0d754f00a747cf8620e6d3ddc28f7a50480f9890c0a7f78b9622b23
cef8bc677a3d27ec1cde58074f6da507f7a12da4dc880aaa31572246a870f21a
846c4f84bea652f4acfc8b7c20e70a250761a61cd972b9794e9b3c5001d7154a
e96ea6db4376a754979fc3489fee6d8209b596fe8f489d7da242853a36a2f1d8
340559b31adf316b911d23d1d5c685f02784bd6980ff652dae0c17bc812201c3
3fba8b1de7777071f865f677f68fb8bd6551d7a778597ad7ba79ddafff033f8a
6687221ffce5922d00ce44994eb7acb85749625b937fb0f004056523fe547611
6d089ebba0e25e314413bdf794301ceaf017fd0c9469bcbeb002d185879e5fb7
5866566401aefc3fab966709a4a03619b9a6f2f0c9524b2a0b7fae639611035f
c6f8e7b35f660dda0e7d7ab176fe5a93307fdd586646bc64d12972d7ccb018b9
611ff26f07b59ced4bf70ad43e0d0b16fad120987d2a7b26c3f644717c369030
ac3438326e449bec4e3fb8145b1d06fab26977202cbcc566a4037836029f4774
2f5dbb7a8e5027e8de89327a80d10bb5e4d6cddc0cefcc1d2be8abbc0df55e9e
c639be7543588606ac3e60beeb34b3bdf81ec33ca290ceb01cbc7ecca69ba9b1
436718bc1f3608227619cd60a6f37b74c21a015d04031e0ea2589f93dc6a0f9c
457faeb4590b7aa3b9f380e5e4f55a96a5e0185436b6d7d15de8e5a38ee7cc31
561ae1afc35b062fe76ceca7cfb3771ee3d7c5df07132e92dbce85f663792a64
573f1bc3d69e79c915a825c0270731cd1399875d497c0a01602ed0cb3c5d5a1a
6792a05b1d135d67815e959d617cbffb36f205f258b123028a5b44f1e47a09c3
dc21bfa33f3b525e579593084761f51131342ecb5bde14c371034dd0ae50e697
e9aac053cf818d3d5920465eee8570ea4cae83f9956ce24c2aaed10aea3b390d
e50d30605491cab9238c568c83f769ece2848750837ffb2a6f8bddd7981285ed
660343874d41a5e94314756dd46d66ad0f1cb5a92eadcf29ac11b615efd28ba4
613a3b97f713ad1cedc348d275311c77ec312003e8e8a9ea71a64b4aca87eab3
dac4b342b6b288cb3fd80dad7e9a2d43bae7d8deba25b7bab913a7ae56c4b813
32fa08bdfbd725d654ecdf1d3626d3562547c9b8134252401b9523b570997a56
dcf1c6c5343f2e327a61021f2d34eb4b37981114e9676bc9b43a99edbdaccab1
2ca276a7afb55413ffe5ef573922b01cf8c4f77307dc0d0195bed51b71959028
c620cb874d5c59f058281e4dbae08f9facddf6ded521040f6179d6b72d9c2548
082a4919e2465f8050da69d62bb23ecfe1f69069886c471f9fdfa76e787dd171
a8cb03c120ef5d5dc4bb25ff7cd6813cc43cddad7dcabdd949be9d00b3f742fa
e05c3e94d0cce52ac1a05391db5683f98fe7441304ef6791da29cf14e9eddd85
4bb6f070dbcbc9e6a83007d7e767d293058ad9507e83be8a5adc519a2f9a204d
f4ce68ecdc7e490650fe896e5cd3fbad9d867c516694c3ed90d96635eb380ada
d9b193f950e48778fe4b85f92c2ade2dba32d66ae4b9ce18c9c03ce17110cb7f
5440d8e0f9a8d1f6d7869ed3e80793da59a9243dff824a9ee79738843e084f24
485dd57f6e456ff0174c074dae974624bd7ba17ae30f77cb67920a41db347f66
46786455739a5f27f9a5599579bfa71145cdb7f58fbe444e21afc396fd467a73
ea001c2598bdf1e9c6e182151caba27a0aa60af8fde4c4c40a1f2b05a11181d4
9c2503006d250b7c028818755bd5e8272cce8bf21cdb4a44c8c31d72461d7469
2525e90f735ea20d95c06f17b510ff9480c4274d517bf63145620a4753d3a1c3
7dfd4aeeb3cfbd7cfc0e78e0aadd127bb7a63c3ddf6a1bd4820ce336001b5512
518e383cb87645475faf5fbfbb26eb282599c1e1c9a50bb83599853d81eea9e6
db0ccc183158a5974655559b1736a0462b4ead630b4528f96e2d9c851d73252f
786b1ceae1720057361b202a41222de9bb54045b626233bdeb7d185c70654278
487e7a4cdd4cb711166b553579ffb1f8ac194604a00a4bfc8630f85f306536ea
ed836b386eeda9e7cee1b5ad6608380d7cc2ab57e885968e343da1e003cf27ed
aaada1e8ce0479d6443817fce323f152c607b658340c81c421a6eee655c14373
"