void-packages/srcpkgs/firefox-i18n/template

233 lines
9.0 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=55.0.2
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'as "Assamese"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'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"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'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"'
'uz "Uzbek"'
'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"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
bfb4a7cdabd4de84f0fb9afd7088c63a5bf9fabcf029043ce29ca31e5445aa99
9a184de60398afbb2ebc295bdeab3d380d279f10058e740f24a3698f58352ff9
0a2c0635cb5c93ee19f1349ee030deda1eb8424712139ea7dac907c6802163a5
59fec790b299d60a79ff1c65f33badbc72ec35996415e556886c89c8eabf162f
d86959041861745cf4ab092099a4589efc0e92c1e108fa4742a6df38d68bbf62
dd59a8c8f8b98da06f4d396e7fda15321b4997cd56b74a68ad92d99bc587c9cc
afc69881d209ee9fbb6132ae6fa6aeb419d97ef59ff11947b49a1639b8ecd7d0
c6bf8ca17e8fd12fa043c2467ee64aff590c30afa8739479faff4b1cffe1da38
40a1381e347e117dc1bdf153ac5edd58b4afd9326dcebc7305f795e2ec87c3dc
b005201e63d39f880940e925e3b3d4b3db2ceedcf778568ddbf56547a3570e10
762820b3c1761f164a4fdd19988f12469804d79b01baf1acdfc72aca1ff279cf
93f2788cf935f8e911f36f83762a31c28b01acddff46061cc0aab9124fe4909a
b999ef74b583a07afaf37f9287ac71a571fbc18b0575220f2a45c55b5ccd785c
9659631f5e6758339352b709393c449bb64b83313bb8d7884d260dff9bd03a6d
afe2e530b011c42c6016b29a275393f6cc2f5759f77fda142d0cebf9656f5549
747555a52c9a2730b1758bdb6b292e0763f348b8edd63981de5359edfda64a66
05c9a6af92169e3c96e6ec086f9208701ab343e4ae2bd5e9cab2ef2e1847063d
9e51e34764588b9568d1bae8c10a78bd093af240707fd1da99bdbcc73ca24891
f976be213b1bd161a3dc8429580e2565490781c6dfe63d7660a9c929680dbda0
f9b1e337d9bd37392729dcea8817c57091bc651b9725cb5f283ac803a3bc1a90
f850003853c1c93c560ba48df4f208292c2a6b7e69d3b24ca4fdb54c03d11023
f2e5be6fef803229bd6d46bbf6ac6a53cd48995aecb4089055846a2116a09875
4821f12b5a7543d4284a091425b8edbde0877d7c58ec5bea8483e055f2a4f695
3d9ae4ae510bac83e8afd780b392648d840a668daa6c8aaa053239c0aeb08cd9
8b5aec1fa22944e6b03f0afc3a20ead5068c3a11331c36e6648f19d3d9f8bd49
35d65264214e1ec2fd29a63657d83bfb0f5c39e494414e6188572457244daec6
8832427bf10acdc2862b7c40b188da515969644347b789834b762fe48e40eddb
ca9c14ff64cf4e4350d1fa3988cd62ff2af9442fd3b9f29db27717acd1f2048b
de81730bc1342b46f1b4efd492e1ad34f68d87d8b08fd6c18a9ef7d593f9d950
82528a4430d928f43fb22e230d84f40ad2dce69a1de05167911dc34f40f161ae
408570b28e435c5a13fd680cfd5c935ce7e368366ff1ad8d83b1a36153b5797a
d0e74715212faa1aec8802830bb2a7345be88cbf9e40e809a0dd3dc9dd5f70ea
7d1f12435a321403c4126455ac765ae672d38f9b7de7e712dde01b1a36be032b
508a3b31e1640ad526679fc88f8a4880e961702647e69a1a729c59be6aa508a1
f7a9ae993e3ddba9059ca908feb09c789f589c849144d97e0510796fd9698401
c6195293c22ee63afc93c013b6812d5b8916e5bfcb5d69d435c96cf767aa6c4e
f30b15373157cc539e337edbad29b79e0397049bb00eff6cdbbbbc5bc22ab15d
e0ef3361910c4c78ad273be5a3169619d6aac11d47b9aba94d5e526aea920b75
412cebca178f8c1ebef5da9d55051ade5ca61f57d298ed97d1f83e23d3d786b1
6f6e6db35e1dfd8e9d321fea75ad2e263f78d66119d0fc57639fb83aa6ba6373
d64031df09998b827aa09977ee9c07b50054f4caf864608077eeeddef2f4a8d3
f692107175337753f8cd153576142211d0ac380539a660481dc2fd15883390c9
766c2eaa8cf73a033b6beb9001b8e19f97e7c4464aa543fc25ea53eb41c19514
69c20124670aafdd216f7b4982f55771603a72efd007420a1baec299d6fc616d
22723b8195eeb0d93d98e8b47f296982e6b34021b7313107b1f14200d4ba6fc8
b6813598a6018f993bf69b0a507d3f66986a36c47987d6068a305afa3ae85ef3
aae9cfb28813295d1d511dc26c790dc88b13f8781612c8f14556ff01505df73e
ac15a346d6f85d96e9df737346f5103955d72ef3ead75676ab228e4c208c35af
4247bb15e96239ec7c04020b3581afd573b2700a1e36180f296b4b182f984cae
2d80c0646508e0b8c7ca749fd5d48a9ccd585a5f8a0f4d50bc37826dfd37fcb2
32453552cb85c7507bfec4ddddbe6eedc11edd73a816d49f3c7c6ac37b5cc294
a4b6a2ddb9a6136e989370d7f350d44b96e2f19336bc0d7e53e15261cc7a733a
436e7b2ef41c8737b1ed6f2d962ed8f57b15a4f3f69ac7c1c016d7dae919fb67
2f4e1c23eb506e12e43097c7338896c0bbab3c31508ffb393bcedb0a5e3318b8
052c64e85a5c8f212de6b2a2343949ed9fc71d0b576af9e758ed1a6d7aac6180
2769feec48f1e8d5c4102c9c7178e021df31c38229c293f2ba54502b6adbddac
b4e1eb8a9f1f97e04c929f3068c5bc5d6915747b8680aa8bdd22cdb82cebb775
ce352cbea0b218e852d09f7c644ddd4470906d8a6dc69fc91f1a20fd915788a0
b8ecfbdad46ce8ecdf6dd3c640010873ea0dfffaf8709a9a9a5b09c47e417e34
1fdf44120ccac809cef11e96e2ab905bcb2cdd299bfb0ef47f86dba7bed10779
e5821456e92e43fb5a4e55d1fb9ed5233ea73c5d00fda1dac7c3aa79d41ca78b
3ec887c7024eb954f0c89edf51e521ed57e209f388bcbab4b79c8fccc18e4d8e
2a704d9f28bf3b2b08bc4bcfbdcd452d0400d7823ec0e727f3040519264b76be
fc983bfffff3f06b43f3c8104dcb1f828a28e312696f428e74ab9756fcdb7cea
0763c540529962b74bd829eab79d56a126a57002f00b65a7b4ddeb429c4b6b96
c9f07b8943758282bcadea50afca33c8a63ded415e2649b0ca18166ef066f966
0d81e93a7a696677a6a0acf390ffce22de063919e7e1aa3ceaf83692685f0e38
ae947b30da46fd27b36257aa021dad16810ad053195aa0e5e6e7e353fc3caf94
e5b7c72907e19605a1415d2c3787e9fd36409545e7189b4afa7311db061e0923
277b31996462cfd1a001a333b99c538b409b89643aff7649090d37b14ea5ca44
a2f6eacf6f683c01b74adaab8335db7d2aeb38829f0129b8b3bd22a2c5ccbc35
b308601a27898eb4cceeb6ca853fbc34bf152ee805921d05a17e72fb9dfa091b
44f369e06bc35ad5c99d01fac8852e8c1ae0597a3355814e8f1bd3430ed38434
24d9d9bd2264331368d7e384ea48d3ab2f5c5083e74b33a45c3e377c036276c4
2cbd0b9bd38b563dd3a95b0e687992efbbc0d4370fe3cebdb10a782fff4669c7
1e0d626207c035571e8af87245b71aa236f16546d96588af624558fe04754248
9c800ccd0779e7b07fc8f9752c6555671c0debc234989ceac982529b1caba112
c177b9c277b2ae3d127fc5dea23bf1de78885a2305c7a336c15201adac858f1b
d7c6e8ee51b34e4de7a71f74f000f10318ba7198906f879ae3c722d0502aefa9
6730ca8f59d766b368a233a5fef21833b2a577ec9d08191820ee499fc64badb3
43f3607e7945c355048feed882b5368f8711d06d8b4b91940dc47368d9c861e6
0b6613125d4a4bb9b48727f4b01f9d457ff90cf7456fc2b8fa3a460e0aa9e0a1
1eca19fd55f485b4536bb3c09da1427f6def8a8e04d202259abc396e73188997
97fe6567c451504c4fd09ffba935ec7baa9c0d484f17b82b930ffbb43d601bb7
b8caa6fdb34281b2d71cf05d4dc15e0982cb26b2aaa83e3f7057e84a5034e13a
c44d952fa3c941d9670b677c8dcd41ecb589b9cb258df7e397c0df5c982ce1d6
f9f873e91f5254e265bae5203d8b49494d68111ca2f45d3a71388c5c1c0eb266
634f87351c726dd08127d7e6687b2d86cf255806fc98be9505e50080e4330d33
08e005c5cc4b7c8b61e3a2df65119c3e4e3239b557af1386997bf75d27935e22
61c08b0f2c59e5709caff710265fe854e540c8d1bb4da1e5505f59a3f9dd5cff
6fd1f6e564b23a91a34667bfca528696b09e4aa4adcfa168286de55eb7f938cb
0a8c5541b5e084e64ded93f94c19b5ad483cea9425cbc7519082f3fd6886a377
a77bff1d91123cf255192e6d9998a879af2c4e8fff8bb228ff9c3df9229d62fe
5f3ed7ac4cd06305dab1b484716eecc067a97d2b6f2cfe16f82108b991b1a943"