void-packages/srcpkgs/firefox-i18n/template

237 lines
9.2 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=75.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
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)"'
)
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="e5dda36c10d614f4f800091853c787ef5d110a69b905840f366d00f93bc81b71
e0f7df987f11e4319d8da90e6ae2d2912128ace55274ee1a26f9cf683c69308b
6ffccb6e19e67504757f9e0459acbf15d2cf3422a9dd8da55b5b37e9a88204a0
d66e58d828254b8a51f4d840904e7bf68acf1e869798658dcf73a682fdcaccd1
ceec1bc104f80c0d7ad97d4a96a5d2e351df14b1c345c55eff05ded15d7f9a41
469f14fb458f4d76bee5be9fb510a2c68a2f1991358a2ca7e8be251b59dac7bf
7eb505070ddcba25eb54deae280ef28698d88b95419d2fa187eed3bbaa64a021
0553f92403693eb7a6324175a480b954e3463af5b5c16465f0b3f364fae80675
a3d6f0f2f10376c9215fd72cc064a59b98727cbe7c86adfc4ad1a4ee8fda03f9
c0ecfc3f30750507aeea1a66149ae810af22e486ddd81cb8ac20743178e890cb
d6642d68f75b7e49917e86cb3ff2522f433e07badfbbe19c3d973a8390f61a56
44eefd98f77e0ab6b74fee51618894a37a0c74f350ffe4a3be9ec0456acbf95b
4cd17bd1278eb4614fddd01360e6975c0ef006c4831b576d3ab9163c035d6189
6b9a1c35cfc7c49f9fe1efc1d158d150f5ed2337dd92092a80fe157b052fa554
45d041e8c17c9cc2676619b8623422cfd05b7cf7ba53d9848cbc2f19ab034107
2edfcac910ae4ecc7f049beb1fba7e2cc049bc9049bbdf1609aa671d44f07e19
a943d9f624de989439e0319588bc6767a3c96080890d6ee16226924599a894e0
2e3f2f3f56f84c06cf37d7c460c4d414ada58d850fcbd16dea5d844df92c1916
997c0d2c2a440fda6472c4231a2032c1884a7c2527ca0c7cffe9b044456b3458
70281a850efc000dafe263ae862872abc0b18f35fb6b667baac20fd7e399a141
e226004d4f877c48e7438a9b05d865527677a7e528f3c54b934f47980fa427c0
6162c7c6485bb1955d8ab16a4db39b644ace06ec22da71cde9f6deea9fbcc3ab
d40ea5c03f66c7ce654c56210e8b458b5010f2ebb7bc7977a97d545eee4381d2
7e8778d8c7397a28df4487a32a9dff246643a862e9711ac6debae4d43c4b86a9
e73ac9415931ac18fa66c9a5cac16304aa5553da4abcb662d61c697defa2c09a
03f359b44e32ec38d3107558d47735d7ba7936e819bb862376b178568c4ced40
80a145a23841e235f89d1eebc7e406fbc7ea17a26f385659f35f761c93ee6579
58c7249e38ebedc2afa9182a1ebdc2234a01d6435a0776da826906b8e6e3f073
5db36c91d8b601152261797452160cab2628567573870b65595110d6903300f0
566d71abde320493996a6bfd0385c6e1ad44cb3f46a42f212f5e0f28f8ecddb7
ae53e504df34498fac82b78f8e2ad0a9c77236d5645fc824f4517fe38cbb3c53
69dbafd1ae0faa6ed8f9cbf7927d37ed71679bacd1ee9baa2118b6ef83c3173b
c214a3989c486be9a1bf091b88105ca1e665abda3538a6a459315fc4d4d0e45a
2e1a9926988a072f85349c93dae4b5571c48fa117dab694a4fd6b4975c659565
bf4900fd9f2480a163f07a763d568c4b8c5127333131542ea79fc8e004965c33
f8bcefa601bec03bc0a2787df72e544d18968442216be275c4c202f669dad7d4
53edbefc2775bcb5ede5cba22858753a63e54af5017b243cd63ec05d84ee08ec
c820f2f5c35e939685c20aed0110998da91875ddadda1593071d0fc894de853d
f7795261423565b5e558d4e63e2a6bafd394f54d4c936d9c0797ba04c46fe5e4
02878f0552f351e928ad0ac54e4fb20d6c6f74e703bb859eab750ca03367630c
3c5ff6d373f0d99c4fbf029f3cc3670df44033d2fedeec187c6a2b89f5134d39
4bf41c42232e52fca4a6a677b9978608865d95ae12af3321f197143880301cbe
4eb4814059c8966476fd8110acd45c340504b0ca25f29c49db8bca886c9d3930
a7160d6fc0d0ebcbdf435ec7730aa92464121815b1734418089522f2807882b4
96265c0d21e16f11f795df182cf3ff65b65b2ed37055c84f288a3e7719a225fb
b4b857f197635fa69fa3766198776dcace3fc12639a0b2d5a7aa8c92f7b1b182
3804d17c05ccafce833da6f23a5515776b1b94afb6689ae48fbcfaeadddc7cdc
ae49b954366cad80f3dbd0f96b8d69e473b0eefea1a24b0eb5cf9ac587645ea5
6130633cd3da6b69184ee0bf155317d8ca99a8dc057f0344786192eca4251085
50c5fd4d310121b78ed6677ca7ba3d7b4499cbf6205408740d8f6761d0ed6069
2299fb6cb4c44bf820d8a0eb1807174a96fbdb149617d543cdc7dc44a0d990b3
3c1ac78d50573ae276a1e6769f207e7fd64bc908642cb52acb91567c41361949
2917f585e996c9ecb476f83eaa312f2e74d84834dae385540811af1689f94244
cf13d5ba5092270622896b833cd0f0c450d3426c52e9e728f7431692651d87a3
8d7c65158a896ea33375b3be03b0fb99be4828638593f9b30e0373a7000b3462
2e3ecc911c104dcd79a2642c14387bb6fa8acb18e60bcf52501949c1eb1d315a
deb41429762d5874d8def44c283e79d96c3259977d3d186f14500877ac76dd00
f847b66454e3b649b06df2632cb3eb8cb9d921eb14bcd8beabc81446c5f20ff3
d106c15a3409c7277fd3d8f45505f6e80b7d9d13b5725617a3030530ad744f05
fbf44bf20cbe164db756a199b95142c7b33293d11bb81edb23e319e79a960e5c
a36f165d16d2d3066a54609b763909ae266ed200606abfb1174c2e40bb73c2f8
2da35523f5edc874fdd87df67371495ecb7d1bb1ab45a2a3bf819f018cecc298
4267209c6f10dcd4a8a58ead1c0773cb10141f0e39d9eb91666be00e203e76c7
4b9f7e39b9187dcf2e1e991c16c1a145c100fb7368b99ea4b571cfd99d0b9826
fcb7711b04dc801cfcadbdf43b284973fd5e9efec54f71ce700df0e31a1bc25d
f85c1263a7ca487fe694f858709910508deb9c619fd108165895ae027b3a3a00
4b94f853b0477c581b1a25f0272aa736b5d0ea2a915262c7301915d111239ffc
6cfc5b2df114695a6048124cd961f7211ecbc21601eadf6fa8641187d3b740ae
d3a445bcc528a1510432a2c4349876bab176d6018e5ed2dd8ec162d03f4592d1
7e0b96cabe722fe18948d8fba04e6ba9716e69a62d9b9879bbe4c8c3c2b22e9e
b2100de85e60f53ffce0ffe67568c102bba3e9e854374d505ceb7d80c22f0b3f
d211cd58612008684e90de29f35a9d34175d5c5ca6333edd44a5bfec129efe31
b5f616d8549838e87bf7a04f9312cfabd472146e0887e78eb3cc9722587cc86e
0f86d304565343bc03868bb77ead385c3030a0a989dddf6ff0b07dca09019090
544709002e3a5d89706336d7783076d66341c4effc2618a8153d64c9619714fb
357cb95a85a11e2438aeba09c0880b63e29afb6d099064f99e996d2ef3c6426f
6382160cb1cb331fc14c93336331c9597b843774c1ee5f620eaa141fa64ce50b
7f532c736de10647ddc36ce5af9168bc37ac45f6fffb220656c148b8e11ea417
2c1de53b165cd63200042964c507b7afb7958e08d075abd7d647dc3141212194
b714c22ef01fd9c8156f44f620e5bce1ec478ca9a75dc6be0743b2182ac346d6
cb4b76d4c7db91ffc3cb9e89d97af3002038d32b08b5c845eb0c7e78ac14976c
5600e7987085daf29af3538a2f35b214e361f6914115670f3c61ddc99bcfe198
a65cfdd53dd89b85e522f16952e94b26ad9b9523a91c1fb1b7598eac0c4ef1f3
d6b3388d686b2ddc0db77fcb1940d16cbf9357674fcf3c21d1777fa4032950ee
c3f4ec85520e2af70931bf4dff835bcf15c99f9c0a446ce67bbc13132873eeec
001c5df2e6309177d67040ab33a18d1a68624b53d1f3c5f51c63ca4f82f62c13
c07faf8849ed1fcaf591e1e7d6007b6cd68355c55af2444ed30e8cff57467da4
a7ed9e3e02c9101b84f8d00f27ad102a63f5c16ed763ba1d19464baa2d3d8276
6a2941f3c7efec9f08dd755bb18c8ac1aadbcae7ea0f0782386e1a845a7a919b
23e34991c441931ca1856fa1ebcc9f0b26d7c8c64ff0d18cb613088d3340f64e
2fa6848ff382b26ea8096832731170df301453749cf741b54e3724bce003b5bc
bc65549b0425b9844488a8421c8a7df5067c4ab1b41a7364bc802d6ca06bfb45
aef9a0927a6354572e10ddb5249475b7b8098db1444e791856d5ecf8b0d511b0
9718df9fde5116c9da021057344a4d9841f52c5c24b7dee40327a46b6300c813
16f785acd00278a7479859be763cdab19079adc2cea2ac2b5a2ea3642684f7dd
8c23b66dddc902afb6233c57ec25e0a7c14b9d2db178180a322b6077887ddaca"