233 lines
9.0 KiB
Bash
233 lines
9.0 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=64.0
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/firefox/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MPL-2.0"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'as "Assamese"'
|
|
'ast "Asturian"'
|
|
'az "Azerbaijani"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'bn-IN "Bengali (India)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'cak "Kaqchikel"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'dsb "Lower Sorbian"'
|
|
'el "Greek"'
|
|
'en-GB "English (British)"'
|
|
'en-US "English (US)"'
|
|
'en-ZA "English (South African)"'
|
|
'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"'
|
|
'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"'
|
|
'mai "Maithili"'
|
|
'mk "Macedonian"'
|
|
'ml "Malayalam"'
|
|
'mr "Marathi"'
|
|
'ms "Malay"'
|
|
'my "Burmese"'
|
|
'nb-NO "Norwegian (Bokmål)"'
|
|
'nl "Dutch"'
|
|
'nn-NO "Norwegian (Nynorsk)"'
|
|
'or "Oriya"'
|
|
'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"'
|
|
'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="f7892be24ac5ef42c22edf86a012e95e25502c5c5f737f54f8b9c63173857372
|
|
7ef092a89156e88d11c67574d56f36c0e711021fc82536562c4f62bd1f707e0f
|
|
eeefe78961a3c0b51dac647f9e57858c11e68831b51f6c5831c7a0b375797521
|
|
13f8d3f342b4b36b5bfd43468bedcf84e576cd7c39ca25cbcc39d94f37a3f671
|
|
27a3014d5309f9a9e75633bb30cde0468c3f96e1a6083186f1bdb6961f7f113e
|
|
1304896adead0aa137a92efb31e6ea5fc08ecf834eb473dc19d4fae00769790c
|
|
5694a4d92272202e033f0b675ecfeea11594b8f1ad72e291888a87e366e8aa6a
|
|
a5faf2dbadd4e02dd091c1d4e5ab081d15a81c5e94be6de417656ec4671bf41d
|
|
b0e29cc4524f06ca76d28831f6a998668aa6d05d3d54ea089c704e98bccf2ea9
|
|
b1db2f78a91ffd26d9d507990b90d03d85c189386645e5a941e551ed7a0f42b7
|
|
2d8e5b653fbb3558bff174b0c3719471838f0725127b596c96a6d515da71b5c9
|
|
62045a918544b5993defe7567e5e7e8521ffe74812bc0fbbb17be62a0b59ec47
|
|
fdfb7b9a220a38c3190f160a8cd0591f0d8aa6c235d6a765d8779473a52951f2
|
|
70834220149e07d6724dc5014257fe73e888eef69d1a91ef629ca060a7f133d5
|
|
ea3fc352224300a815bdea8f9e21803b96333f00d1a5f3cd3d298558c9a89076
|
|
3e7dc361d22cce7edcf76737ae933c6fc1055f8b5de3ed818d951399337eed0f
|
|
55c04bb8d52f17d76753fb8f86028e18b6a2ca5c2d31372cd702811f426abecd
|
|
7e65181d73225429007c10e55d7df58c112ca3d98ff07e161cdf32bda3771e2e
|
|
77a083106fa0d5ac093cda891d1dbd0d1cdbff5d7b2052af4afb371ed7981175
|
|
65bf177d7329c30ce40a39d7361a339ecfea14f365b2fc743789b19536c72f40
|
|
67c2156fa4780082c17a4a7bd6b0edaed446ea2465f47afbe0568ea6183b4681
|
|
879d9544cea983d17b8206c37bb7833a6a423fbe73b142f280dd6b3d7c61581b
|
|
de9dc47b1f56c8a9a6f4164ca33b22c00e2bed80f1e8553a8a7ed1c45383d9e7
|
|
ae61c96e7046beeb692f8fed5be4787bc5bac704ce001bf80672ee93a7a281fe
|
|
9224b4f6cd16a642804619a143502c2d485af8f389fac2f1b403faed55c9f34d
|
|
14c662b64faf232835d0e3ca3b5494a3b4f9ef65a03a2636544785e0037a2a1b
|
|
67767c7fac17f6b442de39a50f7f46a08dfd45d817277650c71ea27d971897e4
|
|
3c2e2cf654f222927cae113dd7a807292723a9fa4fac1772bd7b0f9c92f9c736
|
|
c8706e3730119089c1ff90a547d45f4b03731e2009cd6690f2310fdd4e91a227
|
|
862425a3d7c21d41b75aed6404d53c2ce5be7052454ab00ec305e4726513f77e
|
|
9d63a9332bd6ac379d55396cae8decc1117be86acc757708a906fa1b7df0efb6
|
|
08cef3c2c90078067d13b623f7a5c5ae59d7de41da2bc18e08fd2f03bbd04b1b
|
|
a500ae05f7680966a4500ae1802bc4b01bc03d5a908af8f091881be48784ae99
|
|
690d781512e9e4927070464d8bf4de22d909f896439e59e893c1e9d8fd3fb2f8
|
|
12eaefb0cc5a7ed71ca23b9c1bf939ad6a0fe81d767b3fd09fbbf10901ad6957
|
|
196c2bd479011ffaf0eb63bbc7d1cd162ea3ce652a471c2c0510f3c456b6426b
|
|
97cbb1f60869cdd9f9dab53c907697d83d37d79f69fc632fd367428a68b7bd8d
|
|
04bda09e52d28211089e7505d5cb08c4d3e0506440d83dfab83f7ac9e5a3e046
|
|
db4a88b2a2d9ab18f1efcb2d12d7c919d023e8727238128857d10f460db7ca71
|
|
19dd1406c4539ff5b7b972d4024b21fb022f3574ed4e81b7bd8c7eb6c2d78cec
|
|
5bef251086e9b6d7b3685f707350974ac1b7ea47cad03fadf32101aacedec64c
|
|
6c800f7e838a565c3a210acdaa3263f3e3293d469b3188bcc53f0f27eab1d80d
|
|
766cfd3ab92ed8e8a7a7d4ec58eb6ab8ea4030cfda64e552da825dbe16f7d65a
|
|
77ac5ba67a94bd27990df70d630929f377334924e848dfa8ac25a72211daaff8
|
|
bf324c51afbabbd0504e7b7c20a4a7573a69b351ba9a75f72b9d87987b461034
|
|
9f0aa6b7dd2df887487bfbcadf8abfc46f2b8fd8b7a451d481da973696df9c45
|
|
081eb9a2778e441d3fb9136a4dba5e56190167c20db690dda31ac9387316fc56
|
|
da12f9c5aae88cb39fe0f2f9f3e9e7f735af8ec91210e49ee384d7be7c9efed0
|
|
3816157abe978c0d52445444a54fa26b325c294a36eeac7d6d31dd0db81f5450
|
|
4bf2ca86dc3242a721b272eb2cb9c1bca0e9378464e0b3b5c53b04d8b8581788
|
|
26f07c033d74b5c8b7e7becb693f8a26c4fadee9cace1ae6af7369af773c7600
|
|
8870756a30c0362c5163d81590b1d1313c3f886a1a31edde5a6b03472056e71f
|
|
f75f59db9286702720f2c9dc3337c9dd77386103b01d33958cada724e66c27b7
|
|
8d6833608809edeb34290e33eac6b2956e83ac1b033fc067e3de34d9b4f691f1
|
|
676289edf6779f5386ab3c26d066796b30de2cca6cca6b1eef616c8275f022ed
|
|
497494e1414fe9afd72bc7e3bddeb7de98e3331348ef260d523d81ea795f9e86
|
|
9602f5168767d8df7b1470d91550d68a9a908bb189d46230d3638277c39119d1
|
|
afc4159d3e250a3b5232c8e11258562a213129e5f244209ac8c0c468dbc3f728
|
|
59664e10e45de7459467e7e44fa318673792ad2ef782db6c6a6433b584709fca
|
|
980fa3959dfcb512f30643ccb8f58dd04fa7b87f1dc7c4cc727dd236cc224e72
|
|
4b105acd807131fcab8df57ecbd9067fa5086ac83dcca2971024d67ed02d1e2e
|
|
f2c7e7e343bb9efd25039683c88164890924de51658bf49f2698a9b5263ae967
|
|
aa276e580e80221c8dd2d3bfd97b642014a27032b6a5a1793dec4e6bfc8d6e6c
|
|
5bb9ab7930b1c42968a7e44cdf5b10d319a3140fbdb67a3be7056d0668acbb82
|
|
9ec63c6b87db6958ae14c1199c4e96fec570aa5fdb6188c06bbddeb8ed964b9c
|
|
87ec74434cab18aa32e3ce5fd70f35bb3b6e6286f10fcce030751ba1a44c98e2
|
|
140a4eaa9275979ea620603a739f34a7ff035de848c76ebaa392824414fbfbb4
|
|
e8f350b39ba754b5cb4fece06cb36e0bb3d3e4df7cb7907f6002ca920aed348b
|
|
f39dfa5faca15761430a4f5ae5ae387494780251df90d78c44193c7048f154b0
|
|
7d987d55037f75f80001f73e757a20770fca2a3138e06fde74133e1b6cdbb5b3
|
|
c078bbcd3904b1c8b71076a2bea567da77a19df9d67cae41e0e58252e21e515d
|
|
6e39e7c09bf789295e85c12291db7fc3a179ad2f3532efb8423dd0daf7d491d7
|
|
a535255ab05fbb332ea8268cca1fb8919b22342ff1e0877a54cd5d9201a2fa73
|
|
5da6464caa38f0ac56313f13b1ae2e900e7cf7ab06cf7ae6f26f04a222f8a6a6
|
|
2d947ad3d44f006ecee083cd8fe37f57e19bfaaf20151f211f54694c3520603e
|
|
6f5aaa492ca2a49e4cf2272f60e422660fe6e330575df442ee10743f41cae033
|
|
cb374fdceb3d4f7f3300cda97caa767d43f2bff6360075c8b91ef64ef8fd97a5
|
|
0483ce757807e63f7569b88e46664d1179a163977b256d307d00a1bf23264334
|
|
ca866df6173877ed0bc5206a8b926ea6af84f7c93579234396e5930cdabdeda4
|
|
64d08cfb2363dcaff5c4bea74c22a8d73dcacb8ceaa06c5d1570d2ed2afce7bd
|
|
2117ebec8511e67ee8ca59b2a25365a63b93693ed92a6c7c261e0cd8e811f772
|
|
f2496fcc19c62241676ae1ce3084d8ca286aea22891323bea205d5344dc00ead
|
|
faf5ec9e043acb26a393db3d4928ab97733309e6197c2788238237c6d7c4b821
|
|
24682aab7308dd328c8e205e2dd85354807311b8e7c4515f078a8ae7fa3af9f6
|
|
e236c66b7b75deb9e6692a4b1620f37339d7a54ffdabfbdb68eae6a4734a0053
|
|
82d45a3f5dfa0c2e316ef27c30414a24866afafdb625fda322b4923fb2817811
|
|
5b406c3454a998a517fc7691ef47c8dfb5b4a7bebb5d080f0a64b4e2b27a8ad7
|
|
993de7c31db7d98c221de0e9a8c57e373e39b011cf95dba4369de9a86331cff5
|
|
7ff50a27e3c4f019510634734f8df1e1419fbc084792986ad9ebf4ded4ac091f
|
|
7503af7b3aff3374229a5218fd1b1ed004203746ea7924031550b086bbc6993f
|
|
062c12a75f2fb4b1feec11ae84f01b1d26dbc2581bb00ba2ec4346fb01144bdc
|
|
c5e176b33f2c32c418a1960b01280bf18980ed5706cfe5f2891a9bac4b8fbb5a
|
|
23d0a7e234b3734df8fb6fa31a15f250a4f82e017df7ddc92f779c0765a8719d
|
|
224af39ae1ce61d1f4228d5898a43803caee04f3fd4617adb7dcb52e2da5b76f"
|