void-packages/srcpkgs/firefox-i18n/template
2016-09-26 08:58:26 +02:00

216 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=49.0.1
revision=1
build_style=meta
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MPL-2.1"
create_wrksrc=yes
do_extract() {
:
}
_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"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
b7d8fca1ab7c631b35fa076c9d7a3d2476c599de72700ce2c491c5dfa7228acb
62aedbe56a4293bdcac606a2967d4d1abcc8aec5ba7bd9ffc24470c932312225
ae7fbbccf553828700369b668862a630cc7a77504fc0f0b1b2c00158c293e414
5ddbe68eca51ec50781f17f54cc3b0434cb38d8a623a4860ccf453291fafdab1
fda1d3e59c3c269df008b1f16084490891aa420cd275c00fc00285729fec8921
64bb8989fa470fe3b572bcbd7fa9597e2a094f1d5690fb6667d0773df60fe0f7
352241095ed4c5e3e44d8d9367b41c35e8201d5e8239a3c20a744e14fa5a9d6d
0d49bfb0848198ebe8cf718b1bd2867cf7dba58a20dfac9da481af41b3279abb
29cee4376ca21ac0f7540479e536d59fcc6c3f70aee12afb32008adfee5266e2
5bc54c0baadf62d51a892d163f8cc8c3d6f83ea3f0b62e06f6c6e8ab51399adf
f6b267f96d1252ce1900c9abfbc7fceae4ab9885de980ffa6518f2bd8dd99997
4a57f57c464a6eadeb00db824e252b409beff5cede16d5153996218c1688f5bc
cadad18346df4649d45b10536b642f4c6280e4e7dc528a3e43cdab4935760d26
bd103685bae155e2bed8f8dc5bb083231bebf47ea6dcfa18053a6b77d02d9c09
f4df92de12dbea3a06d90504d2d6cfdddeb272289d8102da601df4f15df2ed75
2e63436d95bc2c7d73a5b86614087ad11dd43b41781671d14bf6232495ae4917
8b14c2a2daec9e0898e63d3f863b622f96b9524bb51dd65de642f0c3b214ba89
49b686b968174c41a1902a82c69121a54f7e20b10e1a75d6fdf6ebbd996274b1
d01b2e424dbfc0e5363007312595b847218fbe3c93b40e8fa11a2e612daa9e96
d9af18737e1b33d6fb4aa0454c01a6760dcc27aff2a3cc1a8891b74cfd2e30a1
abcccb22f26f51241fa5453867e923fae13b9a75d65488e328c03d24f5e5515a
8f940c446c6a63e3697f42ebb4755bc315951c08d222a47d192f67e541f7df79
bbe256aca0fb8a419872dde49ee3cb6ba5e1682293e457dd53c431656b229804
17f75a348000dbca02c39d46a9417253ab3ee3e71306356c6ea163f72c40d541
ec4ca5bd9e708fec1bffe49208274ce18818ccbde53d6e4b2fee0f1b9947e85f
068cff187a9f334fa4fd5dd7b95ad94ce453f75325949a3df088dc6ca7d0fc89
60744c0f7e6b6204fda457c4dbdff46b10bd69e3c7fbb9671a8f03794c931b50
00779784c92607edf5171b808f4e8992eb073f3aecba94a92801cffb9d5c8cd3
25836dd558c02deee48d15d1a577f7803610aac19670a4f147e1546391edff03
6ad1ac7d9e3896df9db572cfeb4ce84c9e5111bc57bc14d36c2b6dae84081cfc
f312de8c5824a2ac394e68b7c2d7c5231281c48fc44617bc9522e00bd3960c93
7a44be736fce3a0aa50f89e9a159366276aaa98534ec8576372b2859a7f4899f
03ad66496edfc1a2f837a9c40347f8b606d94bea921626b14f933d6c4eb6d529
356393e4a7cd8a6358987eabfa6462f4a77ff78bb880ae2f9b51207d8c886d54
55527f3b18e5fc5a0553e5071a8d00a62ef0fad78b61629de5d0fe903f47d0a0
b7a46414e8f2ce1b57d46ff87c87ab05cfbee4e04956c401710fb0a772a78fd4
153a95f7e694a53c154aa57c9f6e87f6bc637dfa3e474e1646c78cca65cc9078
32f33ff1a8f54b1c04f962ad2304f2e34a1eeb941f13b9442c1a2f0fb28134e7
6e7f77e66f525d7ad975a4fed1cf19459a10e6deb1746f52b50eb9b88923e8c7
603b03dbbe8cba0638e3aaa8772db0a0b7ce850733b41ce36b248a99712b3fe4
c8140ca06832a5703676a7092406c20227b66b0381c4fd2da78d54b2eefdb519
19a8d8065ccf61e3f762c59f216372b9f79d6ea529cedb6d956bd935ef4d7386
96b3d56e25438f2b571f3f032f9859a952971c0c01679484e1196b329cd6d64c
570420814671045b034659234a5bae9337143ffe630af3a5e8b945b83c7743a1
54c8f3dfdb1c265a8abe6852301d82018863969eacb352c9a91ad5f6541572e7
441b9bcbada9979a9c0b982fa62ec464cc5eca1efb072ebba6fd59eebe033c49
dc9dd3d3f5f1537b75839b4034070a7d8ca51bbd0ed9743246cc107837f89a53
b569f9c64e1ec7038d3773295a2eb599b38d0ba35cbb2d81bd7c663fcf1d970a
03742a9bb33be906a30166dd8be167274868aae6648665aaec47aa8f30b4e196
7f6bbf3390d27fc7beffd5824ed775f1bf4cf99929b947a3a6ee6b2d1d391dd4
989d3555497903b7e3caec3652a8169348a3526fbc46a4f13fe0e4c0823e1446
b09219ee166e94108864c788b1887ef3b70bfc12cd427a546f610d486861c456
b471ec454c4c83c46bce556fff77421d89ae34deec579dd21916d2333af81eab
a6279a9f8666195933c8300c5afce75df07d32415e15f4c375a852d8939d2313
849cfe31b0702afcd22acc4617cdb77d5557af81298d0d59f2e6424332410466
5761695ff209f43b864b613bdcf48b91a6a7e4876af5108187a2c400b267df1e
a3082e745bebe6fe9d0ccad39e8712f38949912ee832a89c7c5a432a535f5336
f4fb21740d36841fc896120dff3250721dd0033cdc62e8702361b582603f21c7
30cb1f8fae10fa2f6940e3031cebe418c4388823daa3b226f6bbb8a15257e1ad
4cd962b6e4fc5c4f6091cbae0f5bb75b59926717c8635f4d4663f5ebd5bf8873
9d745ca7aa1b236cf68fde80314633704900cf74c6fa95b1dc4ddcbc6dfb2eb9
7d13319900748ceba86a283e31dd06b31abfedec1c28a1713c733481e943b55a
5f1f6ebaffea08cead493cdb71f58220f6f65f44c5e2d97576dcc18f9321cdb7
c88d55b93e7ae59d0f8c422e730a752bc52b56d7d9fe2ddf788c5fb29de4655a
c46f0a2fd80b74edc2f8e12049f7872b455cb27f9727144c7b7094e61994de65
e6db35af344f3ceebcff0116b2cd48a1f58220bc2882ca9061db0cadab756be6
26e0bf4ba2cbc1bcdb87bb42725408d41ced988bfcb149886df481eebcb5b071
b1d17fd9a00372dc56bcaf95b5360caeb4dfd3aeb482db5862c7516574b0a24c
86a82b6e2c0f219ac0aa87fbce7bec938d9ca9485312049433a9825a4eb84423
0f79645bd42306908f0806a1ca381d55e6f4d110d046489b4bdfc3e2221d9f85
da297fd923ef2d60e45d881e713eff743527ccc06e3f98b9b6fcdaeaa7ecb741
fe62865c0c3090d795c2ba110ce62513d53549a147404b88396666c5351d53e5
5da4cd26c23aca43fa0baf747ce5058bf9fc421f2c2a65e98d3ea75df833b78b
1727e36a6a43cd9798adaa0ea499e0958744dc6ed03d6ef4a900b9639fd30d92
c1589f931af5afdbc9b56b8e6464258bf72c452c03419fbb5e388439ce154292
70350ba2e6c940659f001c5d8f29849ae3f02dfa772189776203c64423cf09de
b19bced666500d2c802d5af1c1113919cdc4f005c0c1e3548038db7bf98ca801
b82d2850dbed05b643b1faa5d3fcfbeb33454d113da4e74e09524562b9aceaec
2ddbf7999058d101725e1b235db43570f5631178f6bb52ef6506f19256ee9f9a
97451b49bbcdfec5d7c1d972a47a23fb327e13d9df17de2fef1ce688f24e1972
0f8ff0897dbc8598409ebe6b70acefce1e8649acda8e8d9a1ac0664fcc10777e
591c49bdba50542be73afdfd07d92aeea5873e5fd8ab58e4977aeec8e05793fc
26af046e6c59cbfde4e1940f70fbd470939467ec42d4ffa3285263280abb551b
64723926bc5b8ba5d8863591e801bb01f979e854f2f9f7c6a5f666ef4f94c539
1c4fe54bfc1b0655f3f1f8402fd80d331c36274577eaa23abf2734c7a1181dbf
b21f355c57abf9badd277e4e4d8587de9c6ba4cf2b3c994909aeb57bffde6a7d"