void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=113.0
revision=1
build_style=meta
short_desc="Firefox 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"'
'ca-valencia "Catalan (Valencian)"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
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="d36df7a481a96ab6ac74ba4cc33e0ee72e91caa2bfe55b97a17d9794d2a3c4e8
21d502f5e1d25ee0ea4b3709afc7e9575f629cd15737e21aed19c1f148fd57d1
ee8d0193cfd2ed426044352d957026e91f31d6c1de680080e6d27ae08cf70ec1
dca830694cccbecd46e74950d14fa46c3f43614551fb7f75e3b537275a9d50fa
2b84cea51df01c5959d1b1012f3ac2e411b9da26b2264b18b59553a814f3ef8e
4fe334dce9241ad92b93e09c66124d42841a1e724e359cbb0c50e6000f2f9fc5
8b895a7879c8bb652ff56e390e0da4889a4774f30f1976f11b13afe8e7a72994
6a6a2cc943c146a98180ed5e862a2c279a08702f89d4074beec01a64f55b98a1
06144c4d43188e20d3325c2799a61b87808b587dc0136ac817d890a0cd91bf25
0f3d153bde7f1a6afb2a598fe98e95c41f5d14f78191db7b353220557e40e5d5
a3ff7e5536d4ff85b06ca4f8ffacee45cf1ba73c0662593a14bac544139cc3f9
85be7ecde1bfeea1f1f477f2b808de51c74f01d2228966f31e60abe06279049e
156747a491aaf8744bd37a085a5b3959d1c00a4edac14ed859690cf980aae709
bd31e4c6331cc249f114eb9ef7a454d99482fb05c0f0f0e8d4507948d7c113b5
0373f78a7bbe79d849c11bec495893c5e99f40c20d3b674acb9704126cd49741
f6c3f8edc69a07692a8fba5ad37a04e46f246bb9e2f085da5a97caa024d19828
ca9c9f07abd3feec4dc6cd375f3a2c8841ee19bd69585c6d70ad950c18879adc
3626081b50619d66cb88e14eaf71caa97a2b48d79f69cac3a5bb919633f87d04
b0a4b03cb247c8f0c87c9dee819cc47ff6ced32cb3c89773233a08963975ea36
6ae2fdf3c67a676112befb69b0c66709f2acadfeb1d7696315e331cd61dc96bf
998bd6ee63d6388c0631524992d7c4d050f8f005d37b0c593e531bfaf6a4a2d1
3729bcd73ccc966f0d73f7e32aadb2bfbb9559466c69550602bedad2a78bf500
06acc903cfbb6b7f683ae738b733972e451ab6a14b28f7975c2884ae59701ec4
b1938f51754971be1fa5fcccccdfcba6fa63a845746e47f666efd050042141c1
57400cd4597926629ab8f22e5f4722e0234f5727441906708786bbe6843fbf22
fd42ffc5e14bd3526d8fea876a1e18df379e5f75c1f10368641dee1d6eebbb23
cc351cb54675a908b20226b13354e189b6a3fc38a5c039116b1f2258af0f479f
df0794bb5b2e78aec73ecdc779458e9a86f756b5e2f37acec6e227543dc1b3d0
c750bac67017e0784cf58fb06e92e2bc52688a16a3773825a1a6e0df84ef233a
a4a11e68fcd10aadd62b0cb10533ffd43a1c98a3e1db535e119cac0df5613f3a
d489aeb8ca63f97778fa309d43529838349918414188dce598d29b20c59da533
438efaaae1867ab1b37fe23283c2bfe666d73288c76f482f339bcdf27a4eb7dd
d52e1c96fa56d3bd8f152bb4b2e9c9a9e2edc2c4fad81869b1962b06ebb4c283
9f442e9e8c819791cb78fe655c53129b9a5d0b8090079ab74b45b7f7d1515a5b
8a17ed68d41be60e18ecbe2becff41912305e7fb86384b7d1fc89dd767fa21d5
891591bcde2190b87be25d5d57777608b8f8cea06d58c8a60d09d18809b42856
9e57d9348c392adfbb14debfc3aa474116007241109ca421a369ef5865cca480
ea9bf771e9e792a2a1723093c3f3d522681f638c5dc30c0dae6dde0a68648961
bf9e2e72dfcdb609064a0c0f503001f270257045b3f0b455470bccfbab0476b9
0f4f2eea09738aea94c0afec45f0bec34dbae9c4bd922634c82735d3a703f292
bc228183f6e3c563ade71fd4c64784aa0c0a0e5e108ac04c055e9bcd9836bb86
95c0605bffcef0d327830fa14aea895d54b4c18cc38122e49ce115c9a7afb47f
ee2753898e65d344ad7bc9642ec0a2e05a7880ebee03112c1190cd001c15b4b9
9a14eae682acd9044b4227adf33ec1d2e0e4ecad75791fecfd355871d27eb047
60db4ea466aa513ca24c4051f0c048bd09e6feb0935b7789cbe4331ad4888cdc
9f75ea79337d72287bf6738fb62f6f5abb0bd67e306c331ae1feb412ec160482
8a8e4d03059b5bd2ed73870e89f31b20b6ef4d644487d2e048eb422f59a3649b
26e0a1db066ec73688d607243f90c98b77806cd67bee504345f6de1e24915f4c
7c274bc5c13c6e0b7b2e6674f1e2af791b81eceb0bd722ef5a80e921a97bd903
a34e84cd85b434885ba7b7b5824b293d8a8a9f23cceb23f79a802236eb6dde1e
9aaf343698c7666394b393154ffcf248d87d226fe577e5563afd2de602249c2f
fef917c385f92ac3dc95aff1d2e9f78eb7afe9d74895c87a7051d770ac887987
11729bfef6adcea46e77b1c96dc2b40d3989ffa36ba65f3782f9453f5533b2ae
177164301e02565efb226aa525e5b5b2bfd7cd904f5456e15350284f31f3f223
45310e7db684e38f404fc4b805e39bbe7a5bae4028beab38311e6aaf2a31fe2b
5a25567e3c83bc7a57d16df9f5f669fb1b4e90f5bf1c483280cac6a00e86537c
ce1295de439ca8476195ac7c4041608669705943c60e883f678a20f0cb7f58e6
075b9a3867ddee26ad61441939b4d431329b9605bb86125b29e719e81a0a2c68
aabf6cef613b20f1fdecd91fcc347275a7c1bc0ef1d18e55e5a245bf6735818e
4afde707b110688d130a865969a5ebd78cc7876f74ac151624705fd9f3a8e275
3f11b5ea15424f75544378a913eff10f2f9802610541aa24dca72ee2503ef35d
d0cb5f452064685162686ba49a7b4f5ec6998c726d415c72f178b2db4ef523e3
917fe99ea4ce119c418d52d071e6662c8cb9c6190939111142a1daabc4091fd0
8eafb1a687d8b8072c6caec83f9ca80d03699f0a182629c2087fe77c2f354fd2
dcd54b26247e4563d675c612ca7c471fd2588fe9beda9c077695a2f5a673cdde
93e71b7dd69dec0d992829ecd7362369a8a2c6070900d93879693d4ea5a1ef32
5ba8d4c71ff5b915e20d9d5eab5f57d2daf971cf1b3f0b12dc2fd25755bf6303
6b6a82733fec2611d62fafc00dd3de8bc7f7018a8ea9c1f1f7f8d11b599e2a23
a7cb00209f94b3cb18db773f6d7ab568c416c3604b2d109135b9521f89e2371c
0f14e9cee9d13549d418bde6fb20c2827297e673bea582ac1cf085b8d763861e
897f391a66e95dc41f52c480a162239f76bac3cf7209152e7e610a19facee29f
6a5fdeefc438825d60ad5f8ff14615de43c4a332f01c275e9c2a4a66dd5a4fdb
e1ea24d2cfa6fc4b490ac81755920b9b8f6f481666d56a66be6fde2539b2080d
fcf415b511a74d57b1cfa92a22eabd5e3bc30f42642c754e07c429b8caffc714
38021f594397a1078fb5be7d584a15dae70f9663681f6f33ef9d14f2a3b91d93
32d56004e40dc59240060f0eb84bb761a67f4545d73856775eac41c79c25fdec
0bac15f959317aab370995793e585b331b181536b5b40cfcf59100b81a086f38
54ec4111d38fd2c4ce4dbfbb86a4517466102d1fd871f6f4f73e4f8cf59a998e
353fb938fd4641fd65b10cf54d9f40f703cec74a3d5316126478903eec3f9435
c43a49feff2ffe483599e286631a2f3bbad61fe90182b8d0acd5468115590971
f9ebe4290302e434ac774cf21bd5397d438c9e6478b778bd2b2c2bd5f95c3399
19a21659c6fb216e5d594ca35f62453de7ceaf88408a52444b40f8dc23d64f17
1294a7fdf7e36a3abb2b89222e97d4aaa6dcc2b36bff5319843a64122c692160
d9f184a76008b8d2be832086b1f53baea3eff988993fd683c5cb2bcd1d240f4f
c38edc9bfb0ac02bf4972811f50baa3cb237c1e7d626237b8c7c08d520e1246d
afce22b71757920587de3ff5a5c12fe3dd7b53daf9110ffde6c09c69545edd0e
fb754a736658035849341f2d01d1f48bb06b09c7f1ee9e6749e0580c7c9cb903
30c5079f9c514b7b9e8bc44fd67bd44e4a5b42457c9c76a2ca606a8bf5d62bde
abf2d8a5d2c8736ffbede3844101a3bd9ea977a0dbca091c2b87871e3bbe96c3
7fd38252dd62fe45a732dd322e920ab90533d533f947322db80c48773262a827
01db872a78484ee2ed53060810ab46927572d4af92c727b0e03e5337ad2a6fa5
944cd12f408e49e0fd4bb79205f9ce9ee007b64d923a3c1d83c1e0cc7f494621
6bf5b9d2f30ded74ebdf32933148fe7a478cffff9353379b72f0482ea0991f10
1da211f718c88aa8252be97c7a5703d54e9c65599a24121d80853174e9e7dd60
f2fdd09021e69566d750e34404866235f0f395ead48b36db35738192de557ad0
da39e10a5598ab69b756872efcaad594fe52dda0e533e7a0d56ad1cdc8859a43"