236 lines
9.2 KiB
Bash
236 lines
9.2 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=74.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="668233e4801aef0ed42e9cc4b4bd8f00547e7cff188da5911ab8a9fbab4922f6
|
|
f9420d67f0f45b9a5450cc11fbe2a61d2c3ca5c975a7148902ed6fcda5dd6a63
|
|
3a63be6336dcdb298edac9dec6323b975f42e71406e454635ffd3578bc9196b8
|
|
6607e5d40a684ea51e104b8ffb8f6cbb6b00487f16f7041dc5768f05ca9bf90c
|
|
06dd34418da7df4c9c2e79ad8f48a66188e071229e856f5ff6815412bcb41e8f
|
|
a9c7e1e541cc3b9fe8e85766329f67692d4a4f489a7a0e7b40c519f7d385bab2
|
|
e2b62fbba50f1fd464a4869475fa8df3a4379d3aa496db5f119272449192e1b1
|
|
e388e19fa0d92d9b9a1629c3f8c1229300284763ed1c59b44350dfe2c3aad710
|
|
6f55aea422084c60f67f76167529bc57d6e52f8121857c87b6e2dc4c651b1849
|
|
acb5f1405c1787965f42ff87ae2040ccd8e572c8b172dd13a55e5c4287788199
|
|
584c66d68bac7d558c02bbc71112f1211f9398d9a52100f514d296e5e6877895
|
|
aa9d183b1a2e10c0c75955a6d924dc2e3b319a07f7b1fd7a200b41e16f161642
|
|
6a5f506d7d1e66402fe821302e61b6053897a3df8a4e4eb6ea30ee25290bf06a
|
|
0b83c19bbb644673537b4bf6d7b08476dda9d3bd3b8b6fd95f2a49c4b942d454
|
|
bf24240435e3332a51bbe0630b4373340d74a7649603a8bed3717e0c9d62bd82
|
|
e254e504db58243d699fd46154c57c112f0edbedbf83767cddc5b85e9008c71e
|
|
3f503c09f21f183a806213153d6ad75af275afe5d9fbf0aa894231a1461e2c74
|
|
bee7fb4f0854a8232952fb2f5f1e1627f887bb27df74a528b9da565bfe4bea1a
|
|
75f4d5c44a1c8f695cde415c07a12afe0e893746d5d00151dca6867705ba2c8a
|
|
8d1ecd5a9a3ce119e08f1ff69be82ac89194d757796b6d5a95a366e84866e488
|
|
7607dee15980b8d15f9fe16e98866db640e5ec7345fef4bd6529fc903ed2b23f
|
|
6679546e3a79ae62192b14eac9db6034fe3417dadc2811bb090d0e3010d2d62f
|
|
fb19988f2a5f123776b8f4885f28e84e01ada32f244c3c14425aa3c110c8a589
|
|
a58889cc6ddf4b5b4317b10b475e73d703218e0cb05b297d468fd1371d9b4f31
|
|
c3471a14d4509e17b89c935388641e30d0373460843f049d75bc043cbb83c74d
|
|
e54a1ea1d6ae9f13e76c8e5015925dbb31f28392ba699316d6919c11312b22b4
|
|
817ab04c9b58f84c2ea3ca7663e0e3c2f174a6b006edfe1848f02ebcb67e55dd
|
|
e80690092962b92c7e1ae7a72c9a76c42c656c3cee9495164b88f705d78e0c0e
|
|
de487a4a40d02f78092e5587de54754899fdb5802086605a69f4b73b929c1dea
|
|
43d37857165cdf4a15ef764790065ba864708a2a66c102e527ac2454ca0f5110
|
|
bcbe121e7a41786a176926f1c6637f4d59d4dd79e9ec3d3d84bb3003bc326190
|
|
cf95bd6c9c4306d1390fc51b7bd2055eb3c96438ffc34478c0a277e2d92fc82e
|
|
e56cdfe33a7bd7658381b986e64bd17030da35d58ec6aa578b0afef65b0bb671
|
|
ed75f3752bd325e47a007bdbae78c1c0efa943de27a9d81ac80c0e85861d1872
|
|
aa8d0fcece386f10069043d8676fed5d65529fe6ace3f7404b004672a33eb466
|
|
60e09268fc0d7e454f7e96125cc0fb4332734f314bd1f6053877d3f7ddab694a
|
|
1843306102539a844f5cfe09f920a907e6e004cb038bb3d117626e5442210eb9
|
|
ee58189bc744d5389fcf5001bda93b8f55dd9a4e7caf54ac2a5e377b67e3a85f
|
|
d42f8bccbf8f9549f00b54991a9d93f9e6eda8ca85719cb1457f5df53f3e3bd7
|
|
657d155962d38f3ba477d27a7ea7d61c25fa433e3c34034cc5a39fae8865fd75
|
|
0c03fdb26e9954f3242b64f260c296a7d5c3c2200b961fd92aab0bc15b8aa2b5
|
|
106bf351db5c1232f9c7bdb6b28b45c1e4248b1d6a4c8bdb14ca854079d31137
|
|
f0aa4f2855c73a132894c2241eef501205a2d3a6f3730d5bfa0df64a665b23d9
|
|
f1abee3e6ea643054893a9c42ffc2ee67d4fa2b39369b514492dab2fad7e9cac
|
|
021d9491bb211d44773dd9982e4c63289d7159e353c4a9845528d3144bfe2e1e
|
|
f538b34819dee6566d799a8dddee8e4b7108325da00b3ad0b33d3b06fc98afbd
|
|
d8e2ec906c65ff146207d38e894b592c9f833db8ff769ca1e14ef875eb8e09ef
|
|
30bf361b829e32e9298cd71e2ee908870e4cdbe42a0ecb7cb74e9dd67bb4c8b0
|
|
827e00b032d25afd31f7e75007edf55b50ffb5dc0717575073b803c5e38a2012
|
|
fb196905eeb71aa839feac7ec5a9cd249ecab7a9fe64dc176f2cdb4af27dd348
|
|
5a88e41c5d1eb0a82e929e378688b6967b75cf72f5b20f75915be3d0b8dac736
|
|
1ea2329869413601eaa52ae1e66449e6577583848a831da400886821d113d4a0
|
|
5371d3c159f526e8d3f101bd0559683b1bbcb8adc0f569be73ad65b188a75c0e
|
|
20d5bf0f0b9c71b50e00741304e3b7b1610a9901b7140bee4a404303f3615ea0
|
|
713f1f116c373501ca1e935170fd7a88448c5a3239a33c620ce8cef5492be70c
|
|
1a54047f12006e6f099bc39f967972b80046bb24608f308c7afe40037ea4eb17
|
|
7a2c67041e236f9fb145d894d57b65b5635d3da7551a3f0c180bb4117b144272
|
|
c158b19eccf796ca0022c5023db1a06b4390a803c94d816d48ce4e17cd0b49d9
|
|
6022a994582db5351e5d21b5452dc55742742188a9b4b80b61ab7a73103993b2
|
|
f04847b822adaad51367cb6b011e77582437479505556194f4b6003304f5a1c6
|
|
c32dd6694cff305dc6153a33c78a7457524370894c8973cb385de6d3232b98a8
|
|
d56e3eb9daebd4141bcf296a32227e27709efecc3d99dfaceb0b076fd51011b8
|
|
1ef8abb3ec3c5e87fc210c3786430a7bbdd2b4552ae4aea2d56ef42b8c1254db
|
|
1637e18efdf83d5e89703948f6ca4baf22f0f1fb2e4a950c16ef734eb2d36a03
|
|
ff0a5f66865157125ae747388026388cf0e502587b396a3b9e5821893e2a9ddb
|
|
6371b41acc6c8115858a947523b7cd0ec196175bfcb90aad259dc14d40726d75
|
|
fcdf52763fdb35cd61816efdec70af17a478abf5d9cddbd9cb1011884be88739
|
|
bcf018af0b658fbca2b1e558f3a3596b5df64e81c0b935f8134cf7fe9912fe2e
|
|
cf4dbcc57c2c42cc2213906662cb305df04f4f6271735202b64143e7bfdea9e2
|
|
c317b33ac7f0929314dabb66516959352f43da222136eeca0b2b4fe63c2a44b9
|
|
6c619fa9172f9595c98678f7c0ffbd97a5ff020e8e8fccd4a91e23a0f6b798ff
|
|
42edfadc8003acd992485edb7b729e77a91ee968a855bf10afb1d647e6ab4e35
|
|
47db993d0bd75ba75031675fa844a25f92fd29e27a66a9e94c2fd986e76b9313
|
|
35bc06b64c7b73b47b5c695113b9f5e03671220ddcbd48118e2037938c556306
|
|
d2b13a4bf83e60719d47556cff66ab7d27defd67aba6a3ac9c10c50ce9fb22c6
|
|
84588e8f2660eb56ebe167d897bf23847abe1edb15b179d1926e55695b6a0a3d
|
|
3f29f8f7b46a7ee638999229243d27d2c5c48dfcbf99d2fdd27011ae749fde07
|
|
86e9cef1191597e5d291e7c7a4c58689213c3a5152adc5c1ebe902e42f12b73f
|
|
ec3f02e05437ce73411701a340575fe564d2b17ceb86525a17843da371ea2ebf
|
|
9ecb025d461cf1104ac3ea83715df39263477c3bd770474b5ec339e6eb1add29
|
|
6a559f2c689b4cb23bb7ac24dcfbc4af7c6ddea621c1b810abb65184f88cf234
|
|
1a50a5a6ea355cb98051b21576368ae1f0f4204cd1e886295444dcee098110db
|
|
dbe39809512b91c3590f580528a61ca38a16e553a54cf560485c78023d6395a0
|
|
2b355f04c16f86073c4a229f88860d4023a81815c19b4af1cd07f361acc5153e
|
|
4922949140d5615f9577826f173bea5dc96846eb0fa41a8a95464fb7b0f8c7d8
|
|
b0ab91f00f41f32b3d74b3e50444df45d68cd5ac2b66dc2bdbd12ca8eeb931ee
|
|
8514e82bf4383d429f9e8479ffc0359c01ab6fd89e30ad8063608ccd78bfcba6
|
|
b693499a760c0d4c4be35f3a97298f49f519f1bfcbc3803630209a067c0f4777
|
|
85af31d0a5b6bc712e6b4a3d5d6c0d55db66b97cc9255bad9ab4a180ecfa0b24
|
|
8f686b951e391fe8f09d44aa7adc761c65d3a7f3ec7dae318ead7daaca36d728
|
|
473d2b21ba6cf77c0e4bf0fa263ffceb14bef75448e0f963ec9e06d798e43162
|
|
e990dbc51ec4753b8b047cf9d6a2593e58ce04057174f9ae1afccc5a8eb501b3
|
|
aeaa90e6332cad11b0091579877dc84736db2da44a164d72244a6c4cf5dc9cfd
|
|
6b87bf30dc693a8856931c040577597155162dcf067c9e6222c05f0871cafac0
|
|
6cb9871081654a11c3374c123a75c16773dff5a0f75e61ee2a776be5f0b4ba5e
|
|
7af478240b3b505654fb4d80ff9155f3dfdbc7940998bddd749fff70be89785e"
|