void-packages/srcpkgs/firefox-i18n/template
2019-01-18 13:53:40 +01:00

232 lines
9 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=64.0.2
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox 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>=${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}"
conflicts="firefox-esr-i18n-${_lang}>=0"
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="696a8656312e0608f4e3a34e4d6d069c5b2de5c6372d3e9febf1c05b43663ded
ce34e4a5f02cd4d2dd73ed0d03f7157d3dff08b4d03efa8cc174b475f66f8593
3069edff490e7c83bfa85e0fd83cd58c57e8b02f05005539a34577c5a4f7cae0
499ad740658bb6a8db0ed203bd4eb343f5cf04d4941217e9f8c0fe62c0304bb5
fac15969668c8b56d65abd66e3911c0b51bff910e33473fc6cb5d6c2241efcaa
dd4594967d3d48c748e2fde77862409f3444dd23f13fb9e5628d7d36f93697c9
9421c6a7f1333ce55f3c001d5fc760b3f0d7e4818b0072ad29152bf1172480e8
edfd9e14f49e2b857759a4e468e9f1a5c0b5728ad4f7eb345040adfe7138111c
38b48c32355611fc56a2258e989d052a64c6ab2fc04b681e8e1518690ea2da6e
b79cd85711d9d7295e900764111f7872370e864ac5f2c78725d7f8bcae3f2522
868f6d1466d2c0901a2ed22552b5a756666f3991acd16ad3981c2411e25592be
d2c01460b4c0f67149399eca05f19879942d13fc1c7ccfbf800bb2713c8113fc
9a11d25a6ab7dd28a32dc7f82dee4cf775478ee15720f3aa08834436116ec82b
fda4449dd886a2587a8fa5ee28bb57b5f68c178615d2337c0370955ee49d613d
f1afec73c64a718be6d451b74ac5279bd6e458857b34d955d518e9705a061ea1
b21c9b274ba88705a35a598320b5ba72d25189123d0e9cce5cbdba3f6f5c15df
577a21bbe7aff30a243f260d98f829e4fb2e2f242143d25b0f99b92f4cac1abf
efa785bfd843a10fe6aa895b2c42206760749cd25bc926b2c15ec0e7f7e63e2a
f2b08af64c1635ef394c96a93fbd9de09b078ca69100af3574b29edba51fa971
c2ff2d86ad15c794738c22d29acb43e473d281eef5d37e33afe15d68173240d0
4c3d642898cc9a4fe3fe85454211516ee3592e4af485d80108bf2f003c769262
6357074150d683a6854a1c09d0ebff9846e5098b8660c208d45c54c42010404f
de2863d51dc51d04fe9b19c13b0af62c78ea238c06d523d2f9dbe4d4f07b99e5
3ffe116a2a40fbe601994813e8b03f917b8d3fc276df2a476282b4ad8ea0dd1e
143f2b0c119809dd7639a8f20e6e0af5e30d9f1beb043a30a765915a7a7ac00d
04df43f9abc5d0e42624a22b5382621a6452630786fa8f124631b57b9d946fc0
736389ff625446a9288a92f36a62b8308b5b036cf747a1d8262fdbd3767d1eb5
1425817999be3b2351c9412652998281e3bcfd451aa74d62ede6d0903d601d33
a3950e4a6f9bec16a29e0f4f041bbd8fa2728c04965683b111cbea6afbc801da
40943a0851cc14790555e3bcbccb2f21ba79ff4663a2c793eab52ebaa10aebc6
8c4ee465041e8975ee5c95f25e9cad4861847f544e89dcc6c265a90a25636de9
51eb1cd2135740646b3622630945b4fd29c1a4b9e48343047c96ec804b7819ce
7b12ae1f84996acec5ae35a19566a6969df1daa43168a7d8af4a36ddf2f32504
cabf6c7db841deb8f997189678694a482c8ba6a8e88e749dae42c2feb860af82
20470cb6d2d6bc8373ec8e16878927e0bc5d2b04ac8c4b559e15f7e18f2a159e
4841a00c3d1565d68110babb7f0fca6ba27d1f07575ac7b55f340b5b5f0c929c
0efbebbcbaa6b018625919c0196ddd6a5dabebbc5a77a9876b3a452850eecf32
c0e3fcb95e33e4e3bbd732396bc7dd2fdcca687b7d7c9a659ea19f66e4f6e2f3
63d3de5a77807e8090343fef35c931d72ac423d831f65e42f8796cd058fd4971
8f5fea77ad9a075784018836666376e977fa28ac9ca230e019ab56433ef52ae3
ce93ba6bda0ddd9ccdded1a8e81ca174502a72e0d447eec36c0fd10123f83c39
4473edeee521cd1c83352aa0b285e27af2e782570435e772bcb5c45b6d605613
d817c145d1cf8347d4d2d39384bc539b54fd96e97f50ca2b66fd071448cb762e
00c1cbd81036c950bbaed03f68f7eaccb44982ffd0a5251ccb992ce87969da6f
7ee7ce1d15c00ba92f99e4a62a4979f6e22d74f3f445ebd44142f31c7c8bb2b7
c838f30a6f3bd01c05be8bd7b015fe1d75f5bc14a7cc0ec892e8933058d3c640
8fa9f168701385915966ed837dd74a89b4b706ad4d9d56b75a7808022c29ecfb
729754d226a71921f7496b48f8447ca4585dd17119c19823e446b479f51adcc6
cce645d3a7ec36382478bed2f0daf832954ba0ed7aaac5f5134d0094bc60c6d3
49a60f56424f50dc326c054f7c70460fecfc6b001b3478db905fbef6b97cec03
4da6c0e676cead654bce51dbd2ca64be2be6a6759136d7577f141151e13f1ae2
4ce6f0cd5d7712fc146fc22081388a09bf0839df4bedb75f3049767034f55395
9d3118dba90bd4a73d8c06fbbd21489d36e40fc6c5aac41c6fdc52cdad89e800
a2fe2782130c11611f45d34d32ecc0befa5548eb8e1f909d3af9d2b08bcfb02c
20f4e2b36759c8a7e3f9ca5d75dd413479f63f372ce304ad8cbde53f783c9471
311932f0bf7a1c738710bdffd78c46985c6d5ab09306291539b63a3220d8744c
7fea4d4da22ea63e9be976af69eed65a4645c363e9e58f71606d76027ab187a0
69c431e7877f0fb4b447ccfa54843e4951806d4fb549c5ab8d85c35eb1e7659f
071d83aa10a370fd17cd248cbfa502cbbe7177863270425154d73eaa71be2293
b4a3db72e80fc9c66dfbf5fb00429d7163a68c443539f920d792d96bb4cdc42c
60df202a9a1f6f9ddd35776aa93a6e0d633847b7ef52ebcdc7e2a0cb2a6c07f6
b5ec4c61563297655d61db08d6aa948a28d2b10348fa1bad03cab831f2b0709b
2b4a1e53a96773a59d9264d51c4f92188e00d57c15255bf41d15097285ef9779
4f478648c2a6aeb5a19729cd3204394743dffbd08e26b33bd5ae8c7bc4b8ece7
c9f2ad52a3a7c487be5f8551b8c217b63ffd4654775d6b027894bfad9d0758ed
1da3c0b760f4d97191298fe407773a60b4e6b4f065244f1b8456f66c40466d7a
2ef3e73049f9666d00e464a6b68cc4943693fe748fc6913158a673f892f904df
d4395005a9f9fdaabf9e4347f5659f0e4b9bc82991cfc72b9c773afe46d5aa9d
42af56f19748343b01237448b4eee3706d9b245369d405c5ed511331292bf9ab
3705e0e2ea3ebaa9a25d67ccb110a25a10fd74b52313e4801ccbc2d16506e9da
87d50b365ec3810ac531453e0a192f45679824dd0923eb55ceea8fbe06fd878f
f9d290458441a962419211a1cee1e24514b3ed0663c54c866ad023e4abdf00d5
80dd18c483ac4523472b64829fc4a1de2c6eb0eca1e516fef466452b0fbd784d
e54f87a981afa89a7fd71805c2c2a97253a2be23d19d5a4ca90d112962601c07
a0397eb0ba9672ede6e7bbaafe0bd4eb6a6a5054973a5343b784e848e69d1cd3
9ba02b84a3816b0d1031facce2867c6fb91ca3c7514a60b6082c166558b83186
0063bfa83f95da60fda039e50499064a67e9bfaf3dd18139c4e8d828e7c90458
98d4241de9a3d5067cfcd5184a14fabb6cc6e5c7b34f41604ec209d45c680260
205196eb09222434b6db2bd6efe13b35f7697217a6c91d4d5dd36ee37574ccff
9de9bbe5aa87a77abeab036a7a37e9cc8cd22ecaf8256e1ef558b0d684642f69
8ddecd4f8bc1b98d28c1463ba17bad67515ebbe0e77d9ccc50d2fc7a85905054
022833613878ae272f67b775a23a9f89621bdfade8def38807a0aa981e97fa58
82d0ecd4586152d38fc2c8f5d8937c07256073a5ce2f038b33cc6687fae8ded7
0c6957367e885381944c3c14321fe2089ba0ec094bb62e1479eb39007213bb23
594ce77bc265dadc513fd0f853ae3a7d0fb9b112223749ac631d995bb13235de
b07ea4202b000179235b6103736c4840d8a41a165033cfac07176ced4e301520
ed5f1cc86ba09cc2776cae84b5efd53bb8bea8de36b759b0e9f9f6d0cfe6f6e8
a97e3c1c9e08a4cc3bb1585c978745b16be33027642f86f3a81fe71a926dbccd
d7d0f8e6d5c327afae41426315c287094b26d3be6f79c999ed968f34f2842dab
b54df6a4cda8ed74b5265c0512b0e9050e4880b3bf47975039055886cc3588fb
e434df352935bc0d0a419c027065836cd656db4cf97ab1d71b97e6a2c37fd4fb
cd7acb2093491dee14da603422b2730b98723cabfc182901716ae8454c241f89
12db406defe0107a0941997af11b41d9f7123feda6801498b264a80237066040
32d7909fb140a6f35a32b40ee0d44ad488835ff93dd4a59c342c1027148ccbc4"