void-packages/srcpkgs/firefox-esr-i18n/template
Doan Tran Cong Danh 6313293ec5 firefox-esr-i18n: update to 68.1.0.
[skip ci]
2019-09-15 10:10:08 +02:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=68.1.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'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"'
'ia "Interlingua"'
'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"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'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"'
'ur "Urdu"'
'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="c3fafda87192d9b98dc9b2b99d62b7109dbd72f73e8d5de1ea2a418ed086317b
93af0702aae30332eecdc0f407dc29080923660508018fca14fe1307fdf375a1
a40baf64e7376e4916fa96d7199bad099edc7e897d65b5ecc4a2dc9fdbba2e75
1e915f6a0860f2f7f583a70a5668ec5033969fbba177c3d3da4e244d01ba5cb4
d6c45490cec27609f43fb9af406ba15e25fff544f10d038e650a5b25d2ba5a69
2b5d84d3f7800d162b095d0ee77da8264af9eac3a98dfff7e14b26510c92be1e
f317a73af579bbb42bc6635900e5b529f5198daaf54c5a7f51756b7707747444
6e65702a500ef4d2841eacbd9e16ca692d25a9aa3fcf38be2603657bfb03a80d
7b056d739b64407e92a6738c8e3a5f6fe070380196c057d3f832be4015e7957c
6bdd5ab6efd06bd384e227d78de6cffeac4c828ce6254d152e0137c70eb7b2e9
b60364c109f3fe94387bfb27258c65c09b7761248e309adb8f92eda0c6c1dddb
3b91a27432306a6152f6cee7b19d684476c4282743259eb0e5f90db6483216e6
a17149908edf9a173b9d7ca3eac644cf45cd0e35ba40c565903ea9af9580e41e
b404f670ce1f3cc7fbdb170e9f0286e0a7608d779c5dae83ce5adee911876e6d
b41236a8ce2e96edf02165bd1ad91de967d8605ed7a9c77f079027ea0b13a7cf
1f444a10561108bdfb98d43531c33d377a2565763d1299c96ef3c1f746b10555
f15e57588ccdf2a6be3b51fba066dc030e2808071b29957c3da844b272d1dd25
d51b8bdbc415fcdf5df587e364b8a3edb6296a988c38dbfb0fbec40b5dec856e
bcfbd612f55efff2dc98cdf9ff6ddf3d8e91274ead7d8d8bf1023cb28b815623
f711d9206635ac98b3eec788791089d1a64316dc55ad4be2f6043acca79317b8
a48efe9f0a885060fe2844ae056fb9de8932e45cfda399959ff8a4f54c99dc3f
c919c3557a66188ea7ab58210f6fe629f5e111bd73c0f94f298e4635c21b5f05
edf74a83a03f85dfb2172053cf1816736fdfb4c42fbacdf4626b128186fb15db
76bc68c806add52aa205f9f6a55dd6c141ecfaa29ce5b63fe06cb8bf1ce0c567
af3763e63550893a001a651c5d89e4bb529004de98d58f2dc2a49336239171bf
979725bd9b1b8aade54e0e24efdc2c716381130559615f45c007f0d68a0b0b69
db96fd8658bc75f4813ddaf457c888e3f0656dc407b12d7799dbdebb7cc1a9ae
ba5e81b435217c15e2d55a42d34e3313e9ad1302b34599a25b48a23846dfc920
fd3988b0ddcfa721fd702c126dd531f5b77f1f5af8ac61e8b23307c5b84e8e72
a58a245d30efb8ad6553166dd2469da504d6cf3c773e52da15c3677899f37c4e
3fd377be34a8786a726a13c88d28b2b73155b1f527b2909e6841474631ce8226
790af48c82bf520bcd8f915af77d1e0c8f156ae6c028b1fa0f39c3c991865d1c
46b8071a1e23d8c5af1ced98cfbdb1a2258f679425434e092fbe1c42dfa26066
a4eefa1ff84e33059d055c984dbb47283d117cb63ad9e39d7cc4c4e61ea9c11a
5a91be294ac35aac472c4ba8324221551abb2e8cb66f995806606c191dca0428
9a4a582673dc466a684fd2beacbe77a152047e6023b1e247f5eda7b513e5e30d
039af250c8b2dc6254b2f24975704095406c70090de9d21ecc73975d8d874675
3c77fd2a4cfc49ff94994b46a9b80ea24e534299838dd64a11a5dc2ef110f901
feaeb14a016d732b3ec0be6266bd078fdf220c48c38683a4dd7315e076839b82
a4756471f45168ff28fdc0e87c65b33288ca1f7fd2eedb7e31a726ee4766fb3c
4eb62cbed52d1cdad08551a38d1f7656c71ef986df49eee0381e9aec7b11c0ba
8e967ef8ff1f1a2fc21ea537d629d40a38d6b8789ce344e79d7a3b3b78138968
e008e241c41900d6df1128d5dd55d41e1ed43d7c60d48329a321716968397b09
7011776c661b07bc3fd7d24b62765aeee10ba2a72ea4112862989f759aceb466
760c44d1512be5f10264d195785e45d47c46595ef57c24de81c070a81ba65456
531ec7550a9ab4e2410e9c69495852eaa0e7df43e022ed7ec0f0c50e148a4506
c46413f7aa225147712fb634483f64c9368f43d03ba6f66405e4c9dc281421b4
42debde9c9341fc910ff382e94fade233b3ad23e4f474d89426648c659a99a12
50f1088649f77e0f83dffe3e81dd8ac993d1d8f06d8f231acdf98a69cda9147a
2a4f6162bfbf5ea44c832c0d5896079b0ce69e590dc377e3bbd37a92f9780e6c
60aa95eb50d59ddb2bf57d5cfacf860d4cc2c8b86a219f35ceaa30d82fd6e593
73a416254d022b051bb38ebf085772c031ecba18ab4896634ba8599fcb396f7b
ae3aa802087754458465af30a4ddafc8baa08e101a4e177b144b4f606a78b941
30c7498935e0d4529ccbe3a5c7671aec9505d0132cd6123f97c0680c80cbb917
99b76ac0f7cf4c5d5ae8b66ae3e54e3932c6a6f101aba8b156cf8d78a67e3f0b
1bcb69081c99b27781c81becce86baaf2f1da54ceba009904ad2a5a8614eaa68
bb3152472d5582b365722a83972b416d78b8bddfc6dbea40d1c778c37eb86623
426115a07ce25b7d2ae89024bf81e8b5957df9d8709bd6e5c1da704633af3c85
24918b9cd56f5fe12c7e02b0cedcdaf2abeeb7ec3cdb75a4aee3ca2d4aaaa961
8497c47c4f151966538836b0dfa312a044d8496ffc4647fcf62c8ed19b2337d9
e160dd5b88f37562d7cbace3f46b8fd8edc5b9211f4240d8e38aec3dd81d915d
298ab33911b8c425e6032eba867bc31925ea24b2457298bbf965bd6b194edc3f
4c53367e4ddcff92733a95139baf9610390bf3eaf78ef5a5d10b4530c359e8eb
f340c62b77eaaa6bde0e61944c508b32785619ad4ca54b7dfbf281fcb986eac0
99201be46e35f22312a27da2a2afc54f46043342a1c577fa64696ef365198329
41e4d2d255435d2b50a8e0c4c59b13a0a0aafae925cd32e20bf9005cd066d11e
266141c6c9a6729da904dfa040ae20d80a6b5c39efc31fcf2d039ed65e9c2b28
33daee0ac659ec7d1fb1cb101798dae2ed0077653fc9170bcbb5bc554ee3e433
23b74270aef1c6a4bff5194103a430e6854fe4c460e5c684769bd7c59d1afa0d
9405687dbb0a81e8be8f842824f2fe65830b70a0dd0dcde84cc8a21d6637f841
40a608e720136044f4b95728474fcb82764e61d649551be438e330b63753635f
0ef710447a36e81a6c86b17ee28d2cf463242834936af2578074df6e11c2baea
3f0d0d33abda068465d7747149cdf11a4b1dc819f7da7f1f7a3d9c2a45307231
9d2c3438776531077e379e97a449e714882896c53dbb87052de7e7ac77ea3d67
de9b4ec945265f5539025fb73b713322924da2d1a51b5bd6ad1baba4584c76e1
7b66c7d5e1b9eb6959295a76416271220e84ecc43a97a5f5f07ec99986579cb1
4404f5fe56868f5c551208d72630b91a88c68f78d7463e8e1d221fd7406c0783
3f55ec2730a870951759961c83d6654c7122a3114e136a6e2bce7c05d6062d89
873819bc254911aa3a443d0a9db306b472f7f31af8d986d54c535bce67a4b1c0
07326e95015601946706f50333c32b0919025376abcdf88dc225dae2c167b19a
bfdd58d9f0f0e809e6b801f65c722c61b4dbb5e6635cecd7390d1403f1dd6f42
8c2d716291a28cc64f93078d2bdf8d756a6521e3b0107815788c48452eac95f0
9b07735b4d8e8359e38d671ed054b373c4ed50a232013807d09ca4fae31e8223
5592ee66611515f8583a48211d70764fdb28c54b1ad4de5b4b87a9d3b101a182
d36e2c9a894beb94b62855bd07d4b54e41fc96c0736b5e2e702422e75b3cf21e
caf7dd282fb6dc065eb6a0c124cd458716d877a500c094ff650c4d40302dd49e
80bd3c70433f6b3aacdbd370b70d4fe0eab13547d1f6368b80eb5c28a759141a
67b359947cbe15b2be1ad2567d74a36cfe5f27665a058b0fab19ed37ddd63a30
b3347d5cec7f9f6e3aa4b5ccdd49350fd0879c20938bfc22664782c377dd73a6
79b512427977c359ec8f93e4880cd5397ccddb013676d2d39837f06433fe4041
883d5daa5b041778b0984a7e86ecfc4892af1aed1ec09285ac031e335075524c
bc1981c7cb2e6d5aecec7fb0f370c1da52895f00d238c1afa2b4e31b93580eb6
6278e5c054f50d3de62de9d070d21d2842d4d0ff9212d852af8eb672fad7ecea"