void-packages/srcpkgs/firefox-esr-i18n/template
2021-11-28 15:02:09 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=91.3.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
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="0eee1b17b1f5aed676a2a494cf29b5e5d3d2698728a35eba08e66571d8c84c14
bff092f5e1bc8e01e3d88fad4f6121f71c6df9f3f68a0437ef0a14050c7e3b42
71498faef46ff645bbbac526bb66b1cbca34c2b7022ac570a4796c6a39a8975f
bd99f9ada2c8248ee1239aa95f448804ec9686a73a28045bf05689d6919fbfcd
467e04bd6eecf14f1b565ee9b89161873d205f54076d94d41a8bfc6fa2a58996
9881874658e6066b366a0a0f6140141caa165c1830f74947270c52c06cb38fa8
a9c1c955fb11c7f473ea615c917804cbba1cc1c87b027b581f5c8a738f1a34fb
c61f578136c998d7fcfe157dd85637d536da4593a4f8fa90ffc5fe94bba9a803
47ce84a0d744c33049a6e081bd8d65dac515237e5298ff9fc424a1bc4700cc92
08f6eb5779f4399fdf0a8132dc92438e974cd3dcb4c5438fb587db876ee889ec
e16ed1906c49edfaaa233338bfd6eaf9e4f2113260a5682d4fdd9e9ce71b017e
ddb25de3a9e4cc3e282ffe270e62c13287a016e3c0d676cf8242b6d93afccaf5
9ad51c6346e7d70a94277eaf7146fa11199b2ab40d91653d6abf0d374f7134fd
64ad0267457678a7b6f2b3e452f3678a3aaf14bfb905f4f78ce4d99e06312c37
91df48c9b6ae23e9e94641b98a0ba978f308cfd72236f0a0b9fa712e026cc71d
52e87048120243092d77f79aa33852b57f6aec875b44cc7f321abd50f88afe7d
a98a26d0a50af7fec7a95f138d724ef67f309303a0df8067c0755c139b254aee
126894015f17d908062f1600c7d8fa4010b8ed70d206bffc4a408b43356ea3d4
22180f6601376b132f2f46eb08a4ecb3c484e76bb90587764addd5d0647029ea
cbb323b2b1133d8290b991b79008ee8471a916c5ba542ca8e359770c19d4759a
b3015a7dbf693ce9ef44c6f3b8f7c0f043bb13474e4144159cc26a65cbb23521
2ab851974bdbb5b914acd44edfd6ef2adf4d0d83b872a8adb8b2b64d620b27fc
234ecc57e99be39aa51ab5e5e5b238a9c5857fd366f69cdf160efd25237d0496
e627aa9ee85e449ced2e655f45ab60e1372a36f4b9ff8543839a864766718569
de9b1a64b01fd15ff6b89d6ccc93451e1f11216b07dc5e6fa05268c3e926cae1
2ca889180191d8183e052c9df3c377600fcae622f7649ab488a3c1a5a1cd8d5b
3b95aace3579b535a55128b9959979a61dba22bcdb195e362ceeb7526407c77a
49154388549a9c5db321ebb7d327708a7bf4b36de39cdf0d93d3b88cee077fb3
9f2b35bc942ca69cb498c2752a234f58a1a765ce30563589c720a755bf29e655
e10a8e72f0b6aa267a4a3e51708c86c21d9b92ddfac28d1f2d68a8b21729ca8c
09a1e51ba668959331ac46041a76cc15f345b8634a642918544c0158777dd989
7792bbcc9a1ddcfca8968cea5bcaae250095b5a46fde5d51a48d4426b4c6f5d2
638c665557ef6556a5bbb2c9f79fca780a081226dbd5a465e7615f055a117748
9c3b45900a28ab3efb5b3bb52daebacc1dd3a246936b745fff676e6c3fd251fd
7bcbba3e353cc7a0344302db8a9888f606e28e8c2f11f4f88dde52fba69b43c4
62383ba98a16964ce6ef2bde878515505965cfded17b69e477d3671e1a942fef
dcc2212529bea4e8b21bedf3ceefeec1a798818005d526d6d18cabecdff230e1
5d0c64cec6aafcf478b57c26640e18cfae6928d5ae705b9a82337559389a57fe
dab730eab216c2cb0a1672a21e78fbf93c672498d5e36781b1c68050ae8431d9
e9296fdadb84d3462f63a06e9e72e3d7c1e6df95870a6f303b498fb115e8ac6b
519f1afe2b1a6747e26718f28b39d27f5d0188bc85ed906b54d18cbca6a67ec7
e90fdd34d1d4612bd1a7a81ca3275be2dada26862944b4caeb356482596f591a
83142afa82a9db327475afcc3318882fd8a26d81bc946749d57eb3923c5f489b
027604328860d5bc938ac9564aae8957308da5b9ec05cd3984856da1c2af3ea0
a7028398816ae2334bf94c66efe429d981a48b790286d27fdc25f3388720e62c
9224a7e0f1ceecdf4c7f77fdeb510100419f9e805e0b204f0c59d36275f6d925
8af990a6fb805f552643b6ee38d178d2f75bd169802cec178175c8005bc77b37
b629886a47facaf7fad105b7ee9dc98b470670b25b575e51710d876235209674
31fc7f882b79c4d91d270bcc8e5b2fa7066f21d6c8a5d4d491d7896e49202f06
fd7e5dc510770cc601f9ed4e174b8585ef28316f660379235245f10cc0c6bc3e
e0ac6d1626c1dfa05bcf6298919aeee4fa6904d4a347608d729e38ead4baf120
fe05e00413a2905f3f25d65d635655cf9e37d62fec5d0d235ea5cc7fa08ee1fd
20ff2c930b732082a44020fdebc588ac069264ead48fa0f9ace5aea4210b046f
4346e474009cbb630392ed0583c65448ee577a71403cb164e904a99bf6e819c2
f48ac2e2725c83c82af0374b5aa7a1da270bf25ea696c533c981d34518746fbd
e520a79ebdec829889a2225079ea7081bfa153ccf71024a9617625b88923d011
feb471682e8aa79cdc410c053bd2763878275f1abff17bcb1783798ee264b6be
f98a07ccb4806ddfef815712756f06b82543dd13483abe9865434d4c247fa2b0
17f6388807ec48a8419dcc67381f8d8a5aadd467ed7d6c386ff56173e645633c
f7aab2c51a78cac47270bd37c9b545fe07b08429299d8fdc27b087ccbb4108f1
0dd59e9a669894d9ae82c50f2ee04495922aa6f45780b51df089706c7ba9cbcc
7579ce83f088693989326b7166f66a3808398be81b922361556c3efbc8a8c08a
f07e95eea11c8f6e516c0fdb33038c321ae8aa27ac81f5c6773cf3104e967a19
5e247f86c15a267ac017dfcf73395ed3104f407c96bb606e34070332e2b26050
8b61a367a186feca735487d9f62f0de7865d1a678e7e9f990ad31945bab10eb7
080f150e066508946482e78dcc714c9fb3b63a7975f66ceba018ffc5bc65a833
e9f5b74a2856fc009c3139164872ccbe284618d7fc1fa59c16575c82cda8491e
80c50b252b4bc0c00a336a9bdbfb05e7c510f4ad1ae6c64f92f6f6a037f9d762
85596a73a957ff80d403d691cbc96724bae7186e1358f85c3ef21c501b033ad1
81277a3e8b896e760ef75ad90c197818aa3395abf017b7560db5b189302d8e1d
733de2df49762e7c6e16a02acbfe409869ec61f071364d0bbe8cbee43f350c07
b8d634c6ce7b03bc78c02480d82a4effbec46119cd8a6c7a0fbfbdbd7f8bee93
f68c8c8de23ec4eae407e44176df77b48146a2bd6de4edbcf6eca33f3cf93cb2
da5b8d10bfae987051f978f5f5707c9532c124233929402249ac99fe027c4c56
5a00221c264e06b04476acf4098eb9a5813eaebd38d35527652ae757bd7ac819
849872f1edf674b5200c35b05375a23ae56437e8ec1f5cbbd8cd4470127896d1
c37075191481a93fd82c3ec12cb5ed81682eff4722e1d519287535e959a46379
286fd2991570be7813a7372b0651ee84de3e94e12b41e906de380573c05b75a9
8f367feebd634b1cdd004c0c448fed8473f780511f525eba7a902753d873b63a
f58b3eb8dbf4b214cd6de44ffc23ddddd2a2e61ba4f2b21eb1ae134669e3e19a
c527ca276d7c2b676e89030a36b1b0d2eb30eb986849d1ecc3c7fc90ed1b5b22
893484fbfa297fc87733918620f94629f2baee5d747b8cbcef4ff5268d0b8d3e
11a46dde2f4e32c7ba5498195973e26dd757e6eb6f81717259062a92c0bc6cc0
0bca99ff50cb7105bbaba19b345c933b9e4902a92e439bc1bddc8db210a0416e
07536a87813be5de3f2d7b9828b9d846daa4656ed983ef8321496d63d74ed55f
bf57e98659c357fb4223d1320d445ad58cb75a5327eceecc9deef4f81b713388
795322220ec8916e15938637d3d0ee0fedc876e6020a5e8d26d8281829b7a609
0b4327c104f159202f4d0ec2c4af3f742551322ea7880194cb4d5eb2e72efb39
9cc3ac6c592f7cc08f5bd0c7285c5de6530a63397212878d69f436f07110049b
c63c170c66b39ad9de3f8f6adc5980c7994ea5ee873140654bdcf12c3bc315d1
cf94ac6f8728367d485173afc6b17d1687ebb23cb7bc3cf36073ceb0786e6283
abceb2f7f9ea142c9029344e502cfad821d32960462b9c1747c289db19a652bc
e0eb06bf6818df10345e08ad1431d300bbe26c52f1c1795e95fd157296d3794d"