void-packages/srcpkgs/firefox-esr-i18n/template
2022-01-16 21:07:37 +01:00

230 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=91.5.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Daniel Nümm <daniel.nuemm@blacktre.es>"
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="3fb6c304199f1dea6bce7e920b470fe20c6007db80fe38de58947988f6005e5f
bf518e524711b65d8ca9e37f9ebba1ed49edf9468137ceff47d03193d759b5d6
f37ab1eeeee7e199cff260f3a49bb222084622f5280a5a161e9cc3ba125a961c
3ad26ac371eccf50e6e27aa3299311ad3578ebf7591e71eb4556670ae73debe2
b9ff89ea8cbe046975f6fe525ac2e3390dfe8c09a8144cd5a1c4443c5ee78cd2
bf6c886d2d12dae1a318bef5797c4df08f9ca155fb4ad90b123ea6a2da36c60a
4c7f8051f6c4816a27999f392b4ffc39d2ccbc104ddf58e43362ff86b0de92ad
97f8b298df1c261ca3d3458bca839b52a5fbbae693477ef25e3ca09f98202b5a
b6e373ab94062c38998c2b13b5696b235740b20aeb6e067becab96890937020d
269cb9a5af27b30c6be48cd633b17a7b0f7ac072841e13f33eb0f3d138aa9636
99120e012de41bd6b0b558c94f7b325b4b1966a94b60a821683fabefe88429ce
5de6ca52a426ca01d735b8e8d7e3d2827a83bcb47dd7f5becad4689fc48ecd14
33a1d01306d499b763d7b1aa2d4240eaa4bc30ceb1f40dfa7a7a0bb743419991
31a34292018829cfe315f134c85e4b4b534b583eb5ad340cd66e16f5e251b343
fc51e8f55629de9800752544916ca23d415d5e59d0eceeb8b8c0e5e03fa50058
c787662519e93c4b9bfb2b9850c7656a9fc50a419174bb7972307bb5c29220de
7a380f1e680ffab8261770fee7f9213cad9794b3ac083cc8830be881d3695008
f45edb83c88567370439dc06ad1b479f25b0d3da4b5b7136ef214795263920e0
cb3ae85ccdb01adbf6624c6bd27e9223688de6fc0536766d0cfd9b08591a9c03
cc47f196cd481bdd3c22e352cd2305f1ba68bd881899c70962c290d56beda00f
0e3b0c9cc26438148de8d1bf7d60f47a38833bd7da93b02900ccc6a76e4c779b
9ddaeccc0f67b814197639756a04f4385df41a2a53a358d659e71b7641974054
ad9670c0aa9b5a000eca48e81f249fdb718f10c9e79fe596973fbb1889893f2c
37212fc3c2beded92084155d313193c1c59a400c46a92c22cd50215e2d901b8e
3d9667ffea293e654ae5602e588149b7104d31caad48a8fb615cd94466b4cc9c
2e53cdd93ed6bb44b1e569797d8bbcb2d8aef7bea2dc25898feb4a5368f773ce
c407ca87a8736b51326d50177766649cc373817d666677dcbf67cad45b9e2da3
b9910bca85aa9aceb9afb6ec313c7b15971bb657665c49d63909428fc0f6680f
026614f3e2bc96c525c5825f70a5b9902cf4644218d1d2dd43415a3e3febe697
033eeba29cd2832d08289b478289a94bbc258edc3f91f26ed5b41f42b14da0e6
215f6f4394e2d0bb2b9906475176ba517118927b8fcd011bf7eee2581943fcf7
906eb0555b7a9d88507e9bc1e82f336589b6a304cd29fbf530f8b96675d336ad
56e9da9c7b27a5ccf2a070162d7347bef26600516838e5015226fc4353629371
60d559f619667a3ac7c980670f9bc09a0972c2c8de71831df52c2a9d00970fd6
bfc807fc92b951cfdd68a6f5834a66f5a3fdd34b6c714605aa1f8c998fe769aa
59d27755871377d75a7018869f940144c7ea2942277eb431678e8b2c887ccd73
b7e0751b2ce970c6ea0ad3803fa004ccb7f577bf84fdfd38aa6e133489adc180
fc73347c8cfe793780cfb52d8bc1684e0c9759646a1884f1e87671b260534a23
a6a44c18bf07d6be4a28f086d08ac080326f5a090bcf54c82d12a21237b4be19
2c360d705b5b5c6788f5b8091040a64bc5453f5d53c83b1512e33c8f96d318cc
15317614f69f9437c46ca11a12beac4ba767d9468ae6a86fb746dde62caf4537
b00d5d51678c32ffa0c66632e695e979a72cbf037fac6e92128eb2e0f0ddb205
8cfc71b3a4a4ae803fa3fedc7e1c94d2770c02c3d0bfda61006318da0129fcb9
48d94adb40f8872ecec71e4585fb50d8d6ffbb1992c777d8963e5164c06e638a
3f0a84c6c310fd8c11e902bc41225e79fa694f9f353938ba599634d729c96473
ef5fe1c34e596b2438bcefd707f8139ab64840868fb884214b8d63e497f21417
4ee2a4cd3b86883e140c6b2cb98bb3efe7a008990d2896c9b1a765da68b7dbeb
302f145b22ed543ab32e7c624857719c04def1276e8e67c428881fef99374118
3afe843e3662e188076804fb05e142e5b9420e1e1ac3d01aa6e23250899b8679
722f8a4caa3423c3c4f49d343f7cce7bbdd6423facb6b85c2f3d4280a93f0532
b96a9fd169bac9ab2b8a56523b5f501b048e1968b75c2dd1d83fce00307f167b
79162db7539269c024c7bcc9ab62915ffb6f5cf49bf77fa462923cbe5b68e4f3
5f84973a81e8557dad3d4ca49af5e80b8d259d78a1f85be0f3a078d7fec9b0f4
077eb1ebb4d47303ca0f7bf4f1ddf98295de66bd143aec6f754d14cf61a35a1d
dbb03a70f98b4994d4d9c90ce5a78de844a76ef1143d3d4683b64760543d2817
678f64b636ae4c3f25502f9e7063ae83973524c3001150078d0c0b0d55d8151a
d7989850358d98ccaca1c382b6e0f6cc6080bf2584bc52ff2b6d7df7e7d5d48d
6431ec0d6be0fdf76f44478c31306963c462e67f79074d53ddb71fcd7882196b
c7eac0b031171673366e71e5f92cfa04fd2127207dd7dc5f5397d67be8e66c22
4b1182df2c37df51d48db570ff4ae1632922e4d4f98089426222b92dc9f571f7
90ea2686ce31007c1d4c2156256b270c7b66432465544812d511e7ca03908965
293621db9f68fbacc545e47d4cc5cf504022c9dde1b2ed3065d8d0911f7614be
d5302f6545a5e4d508f66ba0b4726120522a7d2c2570a110a1ac459d13b63c0d
cec38b9199418a068c8fc2755c0ad236cd11d09c2dc79ea50148f7eed98bb72b
3ce34927d40ffba0faf0571e745a2dac4a15df2c33e576ccffcbb615a58296e8
335a54ebbb511d12a63439e30429055714e1f6915e0f8873f62910b8c9c373f6
df8109b12efa428b574236b99a235dc2a9fb04d27d6c11b910f234ec472d19ef
f59f317c6b21f87879c50e1a6a55e1c39de79a8ec83497eb6deb30587bafb48f
acffd4af4415d1b88183daeebc673c5309bafb321d9bf7c32d1b5c9c3941f501
dc23f4432cd93dd2f9b05766e69b3737e3ef7cecb57a8dfa7a43729e5ed56133
069b1c4337b1e1782a80d706f1b26ccc8807e9fb45ae16f59a76985e442caa0d
79856ce19dbb6d6a19f910d7301b56a281c6fe1d7c945d014ec7bfda3a6957ad
7f2d6762631d08ebeb080109f96c58a45468dc60f898cd40e69761ab2bef1746
c59d94a5c6a2f0fe18397c7beb14ac6be43518f2e2fb56bb1eda1807b831efcf
bb0cf15dd7a584e679c8d795a2b963f176602eeeaf50a00d0c542f856bd304e0
8d4556834918118c6ff4c6435941258c87e59186a388a18a2b2301b1867104e0
30752fa5a6cc5f97f6729208b9f21c79516c167fb1e6771678debd039e426756
0cc4f0a5fc2726a081284fdce0ae109f7e5fa0bca651882c3a488ee2d332ba40
9eac2ab970b930e387719887ec52b0ed8524d49556abc3df4d34fee5fc4a7c09
684639ea4b251fb40006fbc641990e3c1ddd2bd987c990bde2157c4524b85589
929a3c17c49f73a6b701dba2ab3eee2a22a66223b4a82fb76cbddbd6ad121cba
3753ff493fe664e443f28539bc40f82e6449b524fa3618ae302c1487cd3ac68b
3d984c01d9a7c55718dd3650d23298a158771471c045c5828939d168d9efe2e7
074fce3f6f19cd8701008c5d216111fc1396620cbe9b4babd727f796dfc7a2aa
e4a3cc22f589c220905902957ebdfcef7a5c648521311e179fe573419b3f128b
48fcd8e218fb3875b30ca9b4d643e4e4be2c3461249584c592758c9b676e0140
e859468c87234b369c5539ab869932c21f63731044ea2d9950d7d6c01fbb807f
cdd9bd79ec053cafc3e3dcdf0a96002dab81b54761364ec1abc91c840b707f2f
afe69764908a07f5205c61ffe5736849f7ad46ac8982a910c4cffa25b1042207
73e1848011af5d15760094694d24a23db22fd274353d9e9089317ff3c30bb1ad
be81674164f64ae1a6bf295dd40ddbeb09f524b09fcee102f10127be67037573
5c4b6046060c869ef52c1f7c42f70ab2077c7f4ee25d460d4c53d5fd5806633a
b05cec25f4a85cee8f8596a911e65504361d4485c3dd59cf96bb9d6df8530951"