# Template file for 'firefox-esr-i18n' pkgname=firefox-esr-i18n version=78.8.0 revision=1 build_style=meta short_desc="Firefox ESR language packs" maintainer="Jürgen Buchmüller " 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="7f0782919012140a2eb30fe22b011b2a9c43248ea1037a8bae85c18e68e4285e 25387a38fc9fb8aded62119033b98b72f8c8229e90dfb7403352d578cc6528cc ab375580808e6f4599f4c2c0643885c33f5863eacfb966c05984165c4c5a7ad1 abd9a55274de8aedab52164dbb61275971f81e454dae9e6f63c5b3545da91c3b e3e2758c38736c05855ea61dc9b54d3ea4830cce5441cb5121022c7996ec1759 e7efd2e42c4c8f858e85b0342e1179d0e7e3f2e3c8fc815a9fd37b25030a4869 64579e748d87dc1eb63fea3bb00408759d48ba3226e66afcbf48c554fe32dc0e ab898e74b67d0e3dd39a516b7ee642050847b03512b59461a7dd7077e8719e59 b3355aeb801c41ac1a4dd70f1c26ef440ef5e7f85b1c52ef1517d99544f5e614 7ce0eba825fa22519c2ec15db24321cdd795c2f086d5c35861e1c36693cf15a7 6645dce4ba62d3e4fb387f572dd56c9c794148d9f08aeae3600e2f69073bc6ee d4cd2b9edd691962f6e579ea59525d8756a2bcbaa08f180efd9725b82377c8bc 061d0023fcb04bd93fcfa72c8d4b43614bb2037eb6feccaa7ef889ceff2598c5 360dcd18c92376fe36261ec8fd338fc2c1d2142e3f2851d26d2f6c66a28438a7 e1774876227de045ef25d5618a22be81c2990259726ae1ebdaa07667de5b73a0 def26117eef49e2cdc340527d8e6712803b0da5d729574ffa82789cc1de94a8d a50344da84226cc163d72e9c50e8dde9d1f73598b9a0dd3107dc0bda5728de70 2b52d1d1809bfd704e130fccf229b9e01d14cb012de14ad84508ae516be6f0db 5894674b57a0095e4d0173f5ad7a7f34f69a89f8bcbae74ce304ed38613231fa 092f137b5155b599f2dbd1c2dd3c69877222f43628633ae9ff6b684b970bbea8 72038ab140d7e89ff17f2b498dd8ae3c872b3dc846038c4d68ac742d6b5a4229 6cf32136e9d634fa5bbc4f5f7dedc0b20ad7f3138e9952b5a28a98f46c8b6d02 37230145ed4d4c60798f4c1562bef24645af563b387f7df27684b4aa946c35e7 5d7c57b5a1a361deb43eb7990adb7a3f40e5dd65799e814a99707b4556e7c353 1613ce3a8fc3696a2cb55eb179ee563236388755065ee102c238b88c6b523983 4c27a15f06f72aed3e95f32eaee8eacfa9bebca54ee7bf9615dbd4725101bbdd e1c659fcbc02435e5f4e99c5d0b0efc94809b26010ae448165246b8f6fc8eb56 a3f23e82e18cf9fed95e56feea74ab39d46fae2c9cac5208ea24fae2b098600a e7f9aa97ddc952f61cfcfc5e85400fce57a3a4ce58d883d1412c84bd351450b6 1fdc53d91df16e7ccd82aeb94ca75620e74160b86db89288067d7e3557ebd476 6b5820aeaba3307743adc13df898f6136e349f085d50d69aa4542a35ef8a4956 8a1314cbd61b1ddcc0a1b048c9cf6a73a17bc44c7103cdc3f3befe5c3ab8c5d2 a672cd6fe8e193441a9df8ce900727c41a92ccec0b402b18539c5fb0fbd316d4 b6aeb12ae4ea45bd344fd1763f15a3ce5e6a69fe3f0a5644ebcfc35b246ba544 a57253a35ad63f78c4e4a53477b52a3c59feee1003c8e7376ae03a6a5ec7035d 9e64eaa8fe170ae8ada477cf9f68aca9e3a0c1a45cbb8ac05f27fcb21b86abc5 69d8297a877a44836bff65af73218152b7bf0ed796996b020d1101af54b0d8bd 93422ec57211be52fb9d967beefc8e56aa1de24b80a3ae7ce8e331a6fcec2e74 8eaddc78b47e54e52b4d86c7329f6ab923909a8202694c32bf069a1899d4dc55 25d33eb6d9a6c401ac9bf608a8151fa408a654cd737aab07273a132db3b60be7 8e6e17c9760a93d53342bc3d6257ac30f11477e3f8b9a9f752f8d9adf26550dd 73e51cc2f87b13efb074d98e5c8148952e5379562a7e73ad9cb36ca374b1a6b8 17c5d45278fba93625fd9d00eccbfd3c739923a30873050ffda8f2ae12df6a86 c4df8dd56ebca61488ecf55fb893f5cbfa2600249b45e382a8a0a9d9152ae704 29d4e5587319023c7f1490ae364be792ffea6c8a70003a87d1d68a5deafea660 9a0f31c479973454eca83c3e0e00cdbb4fc99f2d933bdc07bd0040d2c11d6ad2 7fc60239662a92e17d1d98e541468f09e3d11c7d6782caefc66a7af9b36a4c38 357d06e25fd60cc71a4099bfa5f1105b49a9059748fa5918012b7bbe481aca4b aa7678ed21dc12960e1caac3a0cf4a096297f98f125f9b723da1718b366bd213 8370f53002d8606b5fd535832347a5392075df802f62512f6e9db0cf6697978f 3fe01327107ea48bb372ecd940f6e3bb5a317d517ccfef1e3e4db0d64e68d022 af0b696bc5c16de8b285d889bbae049a087469b4dec330b1179c0e0e4a566da4 05c56f48e1b523e7e5cc37b31870347f7d8139a7ca678d6208f2ee56b40cdd92 5b000fe576ee76c39762c864a74d3d1b8cceb764f79b679a5ba293ac6035d39d 91a9c4c3bc53412dc839c59effa82e329848f2021cef5cd4ad9f66a0379baa74 3925fb837da23f0082fcb645f153e7832cbda5e7298427d2cedd87ca438f5e6e 98e7ae2a552d020820cc28e71c59fc17650589c5df58817b98d1a32a651b1731 6d30e58330e3fc166003a8d6899f0c310c654b5fd8dfe7f0f7fe3e5592320b13 4409a6110b26dee020222f3fa62c2fb7a05c80a2529afc039163ddb839a94851 57a59face2e0a28792239fca9d973341fbe915dc3ef44fd14392c22d34ed5c59 cc7cc0492a45923b4b716961152774bb4757506d07c147af013e6b19ab60db53 b49316db77d0ab229c2ff8cde3e12c664900d01544d45dc421d39a1917bd3bf4 c4fa2099b45412fc6d2c230862a6dd94121ceefdc5adaca9ac31417e18ce4ee1 6bc73fa7897b2fd0017294293eb3b4b718917f2b2c281d6ac500002c70774ba4 2c718b8646ad8b79929df9f49aa520be0884fdcf58ed13f1fcf60bea089cad25 58062ec5f74f5157c3fea735e838733cbb4dc2fdeba841eefb1cf01971cfcac6 07aae280e3d7a2d5f8a56dc1ec59af454fd3a3e2f67de7620bfedeab2df63747 1b873373b1bdaccf670f1ea3fc791dc54b658e334bd4cbf2ddd83ad47366b19a 855fac5cd2207307242348c031c52a9c108f11b32bc52d2ae6e7dbdc4f8e4cef fcb1a530764c3249cc834402d3ec2c2e34d0f0ff4843f0d25111b66c98b531ce 56990cd4e5be208f326833c55c5c7f02b5a417a7659c8dab47242f2ace7f7eb5 556ef6257e3273caecf779cc2d2cf2bd5e4fdf7956e1754adf3e71433d08a393 b5187594fbbf654c944cda8be3f16b179d073e72b66285186ea22fddff5160b9 f4add1da3f3de9b71acfdf19ac6e7872a78d2dd02161cca9dcefaeedf78234a6 788cdc6760bf43898819378597fdafe6715a192cb81ba5b1b011fac9275e9c2c f78ccc32a5c154af1e0fe59b9aa501b12b4d0ad8c3013492ffa6e0ce7752ddf5 1bb9968d140fbbea0ce0be266255bd6695099aa875412eb9c10bfafc078c68b0 3a65e9f5c6d56248fab29a7d512bfe78ff39ffe7869961157f56bf48e8bfe1d1 81e749e6cae036fd5b2c93ef826426277294662c6d34e1e5d6245c35c523ba8e e437d9e94bf4bceec2be8a50545de83d47825eda8eeb8756743c63734c1bcdbc ca9e8a120a8308375ae02b416a0d019f50ae423535e3da7b687ae097b63713be 9330f2860e7c11c6189d25197d0fad07da2a06a42c145903196705f2da75db67 c3230128f9df010390d0ce29e886c7afd8e1e4471e5ffd863c3a3ecb3b7b18e2 eaa24f8bcab9933e8e51dda52bcbe0c9a186c99ab73c8f0402713c8327a2b0fc 4ee297dc895a92378068fd51fb8d2eaa02e0067216549ad28520568635bd0e5c 2ac679a8d6e40db227f07b8598e4dc4abede0f7cdfb9a79249832b89e9ada5dc 83e5282025df6b591da40f3f20f4c41adaf9bc8d8903c5729d02f2ccb0d49ecd f8eaba78a6cb08193e05fb247144a2ce0e9d41c209fa19ebd1995a7ac531a055 a3afb00ab3a494702ec5396f7d95c342472a93d31f5b406f37f0e75f4d8553e2 7655e926b6b82227d1bb8eb41eac3160e43591c6c6adfeb1e967d28bc2c2dcad dda55049cfed59a6a12ca986a47390c62ff3c34e82846b6769b7898cc162d95b 8d513578c69e9971b4a9ba00d9def9de83c851200d38df791f7ee7f4c42a4bb4 968ee7ab12abb69035d97e5481a4daa052debf9097896e775c3e49a52b5c56e0"