230 lines
8.9 KiB
Bash
230 lines
8.9 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=70.0.1
|
|
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"'
|
|
'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>=${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="f9b4a8e3615982a28cb52d2cc1d7c078096a03470cf7b649de1d4c0c86ef7692
|
|
df53167e261519254180bc8fcca586acc591510e4d7acfdb4e3d3aed72efddea
|
|
df1d09fa53b33defcadeb9f93eb6bf58bc0bb6a976d8c8b93b80e8aeff2910fc
|
|
7b03f3c2e11e6e75d0099f34f6e2e1a4e8bc8a1968ee6d3c1010c0150e6a9289
|
|
e976be1f86ad6296cc3f0e536a5f0ea3fb2a34179179a297d8d12ddf5d6df040
|
|
b72222550574e4761484afc7217ca0d4cbe1a930ba5bdf43e7dfc3d5154b4dc0
|
|
ecd9a5883f805c917bb5c9631fd0b5df30f63425157826acf286ad3835c62047
|
|
30ebd379cdf65e44e7c7b83a5a43324441400c5bf834ce12559415bf434c1867
|
|
5eeeab120b6f0902eed97b0b38df9abff8e43f67240094d73c80e86247618086
|
|
542453161bf3e4103b4f5a7eb72c98b5925fdc0e0f7ad0d9dd515bbb900057e3
|
|
4a70870362baae5595b90e64060c3b7082d5f5b145fc4310e3eecaceedc4e523
|
|
aa1b210132c9971ea52f9d34239b8a663c1716d8321454fb36fbbe4d95e3e4e9
|
|
d6ef7d3a8300fbd4bbb42205a190ae64c07ce5652a4e8edb417cd793257ca8fa
|
|
c4e585a4eb2d06edf02965e9d281338473f56c45033eb7c2f35f83bde9db748a
|
|
5d72456bffaf388ebf697da37ef41a0c091ffd8e4777937d942bf5216a867472
|
|
a69ce6a9e68cc99346293eeb286b2fd6b7666c5e52357675f2fc9ee97256da60
|
|
3251a430a7c30654b035d383be7270fa64fead50d08b475dc92f68d96edf87ab
|
|
3ec0e18157d5fedbd80d0c661257049d3cc10e8f481becbc065b073c7bcf5f34
|
|
ea9ad2fa92450badf530188128dbce84ffffa50f45459862b0a54dc81c6c140c
|
|
9404318d0a75d4857537573546fb585638f626a81ebd2d872ca128fc5799d47c
|
|
865335c58ea7dbe6616fb42bc4ca7c2823b315a9adb46fcd0b6213b291c5dc2c
|
|
30aa207b6e35667696aaf66f12b89aba7a08d7bec28b9543e3ce8c73adcea0e3
|
|
e88f821051c8dd04d05db9151939d343536a70c87572d48543421a2061afc382
|
|
c3c55410ce1a701ce2ebe545c7a035e210ba7c15b03817a30faa358f2d474b1c
|
|
ced11d5c2b4d45f2e68630e37a7aa1e15a55d20bd386df427040516e8f02dd80
|
|
47f4986ca6e1dc73c64b1a428cb7a0b1d6c5be45d6e5f3e0f6c07c1e775f8f19
|
|
595c7a3d5c33ea6ccffec4e0e7ac471ea1cbd5aaefa9d9939883f95f798a3009
|
|
0ad6fdc400cc3f6c260f5ea90db56a68eec9269c5439dcbf898e5bda935fda16
|
|
2b21ba1fef4784e6bb1b2bf2663cfda67111c99d50ff7226c65cc91dde39b4f0
|
|
7d25870587a375e5b5b09bf696cb0467fb014935b43bb46fe86973e279a7e564
|
|
ac47ba9bcaca2b55589333c77f2f89608f958790c6127fb3d27455b6dd9c5d32
|
|
dfd8947f783d1498edccd5733419209b27c70e9f06b820dfa3137a4f05f84b03
|
|
0c3e569a29ff7750d0c182342717ecfd8b9e871529cdf34cf6c5ddccb3df3918
|
|
978add4d68efbcaf7e2990a48203722843cdf635e14fad9c04e3ba396d423bc7
|
|
be55ac5c1fd012c4ee13002bfa6c3b73bac41c82dbd7e7758ccd4c275dc4b9cc
|
|
2ad6a5229ff67f1549c023c7fc9b700502d3467412a51e70095e3e8ee5eb88db
|
|
ab011788a005a9c4ec69027ffce08134aa73e53eabeb1c7d0734ab837f080d16
|
|
4cc6332ba9feea7d1029f53cab96cd32414bfc2ba1ad3450eb5357c0e45a93bd
|
|
0ddc722af11e699de9f98d99736bc3a5e8eea6fa26582eed13df2a12952f0d04
|
|
621fe194e1ff93b14b9743330d9e02d0671889d55c91f5f887c846e1c404bbf4
|
|
d843ff64f3cbd8c0f961b21aca9404a4a582f751bfb20fe094de94e0de1ecbd5
|
|
286c38eda77a9abf74cbda7dbb8ff1766ff13af2ba7d54873c283b92226daa36
|
|
17618651fccca3aa2cc7b7f34d06e50dc6e2950cc70fda85bb7adb43ff6a405b
|
|
af1a01ca9e7dd6108e482be4eb5720e58b8dc595f16a41f04103075b2f479a40
|
|
db227037c7577fafd920aebba5679edaaa354c13ef7ee6fd81f410bcf661aba9
|
|
81e640c2e6d18e838ef7fe8a030f13709850ffa7a238d14099873abe424e9373
|
|
3f81a9ef35ee994a167dfdeb52fab27a25a46e396a68c88aa7086fbd819f34f4
|
|
c13457b8ff41b6278218ddfc9a0380060f88110baddf06a23c27683373b2955a
|
|
9b9b5fb3df9bef8a805440d2053259d165758d802ab7ce541eb4ffd3b1842463
|
|
8156cdb3451f9dd9e25bdeb9991b0a0be671b8c756294b4b2cdf0dbafe4763ff
|
|
d2df1a9b89e2d97798aa658b461f5f35a79c649f99fdcf2334a9dadc8a365995
|
|
d72a86081fd6f034cf669a56ae75f1e70430f976200847067a7145a5b0026c4f
|
|
0be6dbd1883ca9b2c6ada511c279e9a247ba415fadc689419d31cd5fc749aa5d
|
|
915e520a24948f4e1966b23ca963339228208e8b23679759ca7828f50b199b58
|
|
dac690aa417965aa621f6fcfc97e500025fdb6abbf76e2dc4ce1b43e43d9a8e8
|
|
71eeed429c51dece7b2e43acaca56a9878a0416624d55022d6a6b436054622bd
|
|
6706bf38ccdf40b39d9b633fb1c2669e17e1d7196e967adea8f7795d87a2013a
|
|
a8a5494e08bb193e89faf8bc5ea37ba54d0e0db38a9ef26a230569ec97bba980
|
|
5f1610b1a1f7f805c5a2ee03e9bdef4d92989abb52b5c612063b44028b2a00d1
|
|
fc6926ed5133220263705742fe26b1babd9ecc5de979432db40e6aa723069f55
|
|
4725e7e8ba325fc628f3243d9cb02387cc1c0416acd5b37725f7baa49746ba56
|
|
fed50aa97be3f17526e961644ba5ea4efdc11d25dccc93d93a80f5eb94f2acf0
|
|
61bf84c28ed8a5fbe7d2c3da18715bb389c8abbce45647e47d544e2f8a6c0f7c
|
|
821414d10e5a532020afde55f0171b22b8ff0b7242c2a6a1d98571bc61b14d89
|
|
b11e589f1eded982dce14960024bdf9fcad042c4e257c61ff39efde784986237
|
|
0cc5572dd77537a72edbbb89e58c8177a3ab40262859a44da110d4bbd2c31521
|
|
87d96160e9e825ec5a46064df3b3125de43ec301728df96709e9820ca7dee88b
|
|
052fdc85b02b059ae5cb3086884fc8b25432d16aee50cb9d52a442861a6007c8
|
|
cdce97bfe30f295e2a8a728574b087e28e4c1b3f31c780fddcfd52dd1c352acf
|
|
984d85d64522d5954a9e69e5a905d83be1541e4c9740fc1c4a12eee7b70052fd
|
|
4ef2815d49dfb6c340186b0ec749b5ee3f8a05f5c1930d71e268c5824a80b47e
|
|
dc656ca8ce43094d4525f60081433af0f3ff000c206404228bbc5474666cbf45
|
|
742c5d444db98e97fa4f2d0d7b55050828241b5a117e374391821f98b459b2f5
|
|
31d5388a7722812b83b08f0189c3094f5ce62a77350724d566021befc42c9d67
|
|
d93e364a841880bf44e029d7b9be83d2cc6d515831bd0433dee5707c0fb44547
|
|
240f008de1072eba375b58af9f4d277bcdddb0975a1fe1e084352ea9d64ed95e
|
|
9f8a22ad439079f94ae77f2786d77dc02ce98ee02b647a9a9cb45994e9037dbe
|
|
ff4c7d958a8b782a7dbef0dee9b388f1e4dc41c94030f0446a5790c3af84163f
|
|
b9978d3291d82d268c5fadc9cfd9333466e36a6ccd224e9530ba613035714e19
|
|
afb0acd74c08daf317b5ea493b28db137b1ebc98cceb32903067409b7461a4e2
|
|
31ddbcbbeded594681b1acbb8088062c049738bcd6944f5aacae8c3d4653a5d3
|
|
44db0caa4f396848721bea8e6d3dedcc16e64bf752d1b692709c321ce08a66de
|
|
a49a0d625624a939ecd23b848daca1bd7cacaf0f59d4b5e517b358878de9eaad
|
|
de5b408836b54c4a0f99986b7d3af741d1fe72058c3d3409a27b432c8e3e294c
|
|
12628436edd43e5016c79102dbe0640fb4c4d13ece82d5050d5fbbc1132e52d0
|
|
d190f2154c4e5925c2fe7294e6909b9c056fe0a01638859c0dfcede3befd5828
|
|
b9b2f38d21ff4c069e25fc60e458c27bba6107cb23df40e2dae74a8fbc755069
|
|
816b53f3c1d31b9d02ef14835545f64d9a78b4c63e01611960d57b4413cc768f
|
|
31f415df5603bac74a2e9f6ee13566a888fec2b5eeaf019c88bbe4478b43d818
|
|
9ea39f7f7bd3dfe8a3cdad4dfc074c3bb70b892832242c38f18d31a8c8a3e132
|
|
6b42aa4ee6c474a37c8148c5892371f1e2b39ed7e581e84cae3937a180b4f0df
|
|
6056a792410633fe325a9851c4b0fd366a8a03ccae42603d7fd50e530f0c69b2
|
|
6aeb4fc4e102d4c42ff9274afb9b57c9cd57a88ad9719900f8791a225a7b29c4"
|