void-packages/srcpkgs/firefox-esr-i18n/template
2019-06-20 23:32:34 +02:00

232 lines
9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=60.7.2
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
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-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $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="538c0140685b97a7e85684908205a82e05c9757454ca9e0d803876e55c60edc6
a10f8519a6736e468e322f53ad9ff215a0090b77f20d1505a612ddf458f2db02
11682449bdd5851e1359cd79005bab0d73b54bf26da6c7a435859fe50ab20441
4aca05047b19dd61f6cc29d46a52189e169d91253947c6854bcc305b0f23dedc
1f755f9534f28b33dcb6347728c148b187b059521c2f78cf31fa6fbfed277431
88991fc97886c6582557f4bcc2938b111334fa3e255e58fad12a1fcae4d789e0
0a650cbd46ae5ee314b05e7bef04470f05a8e86e3ad6a62ff42fca666cb126c4
8d4c9efa8dcf3721ca9a40f3cb471bdeb92d25443d92d6cdcf0bf7c383bbf062
18f6e814934bd2da4421fcedbda563d7a7e0ea03381359b7a243f2634e13a07a
72b5579e12e1c5d7b64227ec8af542c8d5d69c10b0ab22b738693be0f2d55d3f
d57ecc387ed41914eadd36b7f9bc7645c55dc4935fa610b965d7c4da30e3687d
310614b97c6da3fd34a4b31558ccaa1c28e18575aefb5cc44e4d08adc075d84f
be54d07db7337b5cdf20c9c55c425f07bc36f2f5065040f50cc17c9940cc7b9a
d2cc2e0592c16c66460abca6221c552771320b6b1f1936098315d1c786eb03a1
d05dc635636221b62c6b63de92853f5945705df667d2377b6091773167b11195
30a992813737fc172bd3098db97c26867dea178464d8147a6710247e01edf8d4
c8f8e1ccf5cd6ead6280e53445bac4f8cdf97e9d74f42fb73eb360048b48aea8
a3bbfdd082089a66d0a27dcb7053e2d94ceaad160b6ba4ae8a10a0508c51b3b1
3bb055be010a4ec5bb7cf2f03c9925e0033ebf210b4360b47f1192a40b20255a
0a7ef16eb1c2c1cc9c5ea639dbbdf7ff30288263c38cb37cedb372059dcdd5f0
6c9ecf96a69f5d096123c48fff9f2f8efcb58a0272d86a725c38cc5826b7df07
6e2dd0c22aa88a743b22b68ee0e0432b27d3045d94b83d78964c5ea2a40d599f
1f4f114b9ea2cce461c08444626149f6bbab5f3bb722ece1eddf0735bb10b5f9
f1f818265c8940ee6fd0f6fc462cf1f090df8523668d807fe4dfc512f9f77554
0c2b6fdbe5861b83904abbc5019524e7b66ba27a2d1cbdb174bf781595b87983
51dfd693a5e946d1e4c9a0beb79359154b15e8d3f3e26d8e12e76253588d7414
8dc6f03803f2b224d374cbedeaefec22fcc7cc8e52e4554dcbd4a0437a9f314b
56caa275fc4a7b98053b4697776a948218b8ebb56d0247f82886f3217042a910
543cf9ebaf4a1c31667465408a4ea5c17d9216e9b6efd1238282beef9929ad5f
fa21653172f97c003b9f962fc9198e290f2cf3397f342045b722770c490e2cb0
b7aef130ec825f7177e63f45b73c6f914a223423c5231608b708c4ed92bd391d
ade5b5eb3e10cbb0c59d449fbeae24c5ff7491719e0f727fac20cc7c1346dc8e
b3f2a3f5ec4c25b48a9eb3a691b6e1277bd50349ce4ec8e7dcfcc31cbd71d5c8
fa939f0bc1cf8c0a416fe54683b613c865cd4cff0d661e2b610aa70c86a8c5c8
4ee86bc94be4b3e719f7d918773f1e1809f13f23098b44ec2d926da95057ac33
e56f220bdaa0d00878bee9f67142adc3952dd6e318029de228a164c00e9549fd
62367ca7b18e106ec076deede6659e33805d0cc17a4eb0692f7bc2a1625d3233
c8445f0522e1b5344fc43589110cde8f04b4c94eb4ce02ff67e6ec589fd99091
78b8d0d9a2ed10f45bdd16d0eed3b030e47a6824f95e712e22c931053e497246
9f3c7f7689d54b1f885a374badb5abe93dd73e555ff804556202f589ffabfdb6
9fe87f5c7299895e96f0f09ef84c942c03da59509452a25d0b7f4572271bac37
db98771e2394a52913d19bd363c2eb2025aaee4dcdda3a1e75e22b2de2eb3b7d
853e206ff495fbf779ef64199dee0c6cea7e52d431e60beb61e3110b21e0dc63
42cea4adc7d19c0e731a6402ae3a3f973fe2a5d794ebd37017181a9aecd74124
344491d29d273e2b6a1a78e9343338ad92226c5cf0d678f53e39e41967f81ba0
37fb6892e6002f4685e7674008c967e1dea9713628ddd335a0ffb371b11457e7
53c01c65b648358f5095957e263b0ba85a511ee9c326bdc36b7e9bf2bfe7f499
0f0c71a70bcbe18e73fc1b32ef7214aa34a6d81d26b24662d0505c1b11f59224
bcebc2d5f80feefd6afa130d656c30a43cf75ddfef4123051d885794719dc57c
7ac1ecf6646206d1bbf8df1ac353b4d0fedcda51c5c77bd2ee91335c35f3740a
8dbed66a7eb1d71c218cb2da117730b83fbbbf95b812a9254e5ecec2fcc5dec9
1fa4578c89e639dc0cf48c9936e3ff521acc367c9c886d3945e31fddcaf1ca04
8497a1206603f588b406a6eafa9ca33f5cbb6ea65a7dc2f5c5623c332d3d6886
2790eab30b04bfeee2cced86cf5ddecb43d317256f39bf33a61d4c07b57a182d
188f0298458be3741905f368d25de11ecf62865f9b00a5c13f67c88ad3a7af7a
8464741b8a8e3566ff7d5caa79d5ae07f173a967df3ab56cc4dd0703ce0f6435
d4327b3ddaa64de4750fdcc23e6fa53df24e968ccd8ee31ed317b1d429736bc7
ead008e34ee90febff3497972faad46c493cbc3d02539de463162bb34d6bd6d7
7fc14ca84e53d309400bb65faa9ae0576326dcab2dfc03377e1c860360af81a2
f336e70131ab1a4d6c9fac72cc94b078449157aa95c692bf438cc8c65bdeb770
ec4ec63209609a10686a5d343c7d7fb37671a34ee8e31b895c3bb6a26334581b
da43711e708e2d26a4eea6ab349c8c667c71ef2b7d95f748e7bd4cf2eb37eac2
94d88ed3c155ef3ea976e88fd988f0042019f45af4ee7c37403840b30b0ded29
06f1ee07eeeafbc363604607c864cd43b5c0ad9f3237f7001d84510f904cc2e1
469aef5670b5fce24d85c4e224b0b3b526541783369e08f2344b4ef021ae678d
1ab13c27364e767bb9b829ba15d8567dd121b2941d296a029da757040abfa3da
1ab374290ce7f9fdd47b6367cbe7909e329fdf65d9a8741c3e7d7d7037570d2b
0e0a9b82105d3a9620e25bcb2bcaa2bb992e3c3cf12b47499115977628f5eafc
52504eb470a0416f0d2305b9b7331b71efef822916ac5e815d7f62606ece7d1e
52e2c561084d6acdaa1db3da878916cb9f18003c577439b3816c208240c7965a
4795248642590e31568cdab677cde1edc28d08e73983540bd4cba727939c1e5d
77eef47f31f18fc5586f8b7958bbf8d7194df28ff5132611d37757bd0159889a
019228276c87d20e25556a1fe9d5d7ba46e0c5e7384222f3ec2349eb4057f991
849070422238b57d11e8c9e6e5af0bd51a53399eea402851a1271bc25bb3f880
67e827721f8efcbac5325c4519d2136465adde02b1c30a02abb77fa7dbc83b9f
0525f8877b3ae29e7a6f5f08c088bef638025dc990ade9d1e6ec85d3766cfbcf
7841e19e1561cf45777a5350ca965167cda9cdbaa01c70c84fb221e3604c2bb9
6bc0e2c8ef93b3766a9494fdf3b5922e5f53cf5ccdcc1df50f46fcc6130bc006
993844137d92de37d3aec9e1fea744f624ec4c43b0896a29753eb84ab77febf3
f5121f4ef1a1b828b9eff4559a38542ad3de94b20307ea025a40764c470c8bd6
00423d607b99dcc596647eacfde93ff207a790dfc8f52b6b2c03206091eee02e
b1f0c3c707e0988c36477327b842ac6e9387dbf3a81472f5845f6c20fb7c4fee
672358c382234a2c721f33289232e1935459045162a55e1f3108e35b64d97193
3b0673cc96cd70bef913993abaa19461191c925a566c84a2790b6d222a857c83
761ec57582cd89679ea4b1d7d02ce9c010584091d50087d89a450f80a352526d
61ab391f12ce64f9431c0c741b528914c1616b4e5b30c36bc725d5a23be5dda6
5b594f05fe2c5bf3a8db2a1276f6f7b6d26e16614da2e44003865f44db9507a3
b0fb7122dc5df785fcd270b222580e48d053d094e43e1e86a778b61c7183f0be
0d92e46b34b8f71d82fffcb23c388c918aadde1fe7f364b647e73ab344d13adc
e5a1fcf18b813fe24e95b9026d930ebefd1b13baad60cab343511bc170156061
fc84226b1f0a6ce0d80589aae17924d5abb7683148498a722e42d15722fc3c00
3ead703f5bc9a25312e1934b2b83a090e767386995c949da17c64d6e76d8a4a3
d69eff64ed38a2d9f26662b3ed5a1a5df5c57b1d8f278b0be80135354b4bfbb3
c9651a78d2d2395711d320f6fac1ffd37048d4bffc544a2f2e182cedd237d090"