217 lines
8.0 KiB
Plaintext
217 lines
8.0 KiB
Plaintext
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=29.0
|
|
revision=1
|
|
homepage="http://www.mozilla.com/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="MPL-2.1"
|
|
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'ast "Asturian"'
|
|
'as "Assamese"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'csb "Kashubian"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'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"'
|
|
'gu-IN "Gujarati"'
|
|
'he "Hebrew"'
|
|
'hi-IN "Hindi (India)"'
|
|
'hr "Croatian"'
|
|
'hu "Hungarian"'
|
|
'hy-AM "Armenian"'
|
|
'id "Indonesian"'
|
|
'is "Icelandic"'
|
|
'it "Italian"'
|
|
'ja "Japanese"'
|
|
'kk "Kazakh"'
|
|
'km "Khmer"'
|
|
'kn "Kannada"'
|
|
'ko "Korean"'
|
|
'lij "Ligurian"'
|
|
'lt "Lithuanian"'
|
|
'lv "Latvian"'
|
|
'mai "Maithili"'
|
|
'mk "Macedonian"'
|
|
'ml "Malayalam"'
|
|
'mr "Marathi"'
|
|
'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"'
|
|
'sq "Albanian"'
|
|
'sr "Serbian"'
|
|
'sv-SE "Swedish"'
|
|
'ta "Tamil"'
|
|
'te "Telugu"'
|
|
'th "Thai"'
|
|
'tr "Turkish"'
|
|
'uk "Ukrainian"'
|
|
'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}"
|
|
short_desc="Firefox $2 language pack"
|
|
noarch=yes
|
|
pkg_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
|
|
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
|
|
}
|
|
}
|
|
|
|
checksum="
|
|
c6ccf91e05b119f39b0d83905ed143e36187649f62389156803a76318300a299
|
|
adf809368117ba8499a6e2f99b331ab32b62c499ba1174e2fe0918f72819e2b3
|
|
a82aa53f398d619cdc203adc4b904b58d7f281550d8f631439c53269fa56a4bd
|
|
9dd29397169946d0ea425483c2c3c60f67d8dbc784b3af302416c36aa0b82cae
|
|
f232691daac61375b54312e6ef04cf4edb1270bc569694516d65c9a07f14f033
|
|
2f3a75d484e415551f9d19fb56c8208d6f65beab8db582b7d62f760f1f2f67f4
|
|
46d25d6aef317349a915d99ee46325ae4de2947dbfd774343c5093f46b5ce098
|
|
a13eaeda2a8e664cb6849b5073b7da6bbf524b1038d40bda6a2b1c61314e6c07
|
|
be518dbeff0b3e15b28a196bd31c314b67b0c0116ae20c910b93b3a4b27f67d0
|
|
1ba6c16865e0181fea267e45e7f4c87a8518f615b522aea9fb952ec94b984bd2
|
|
e968879eda41d0f96e35a21936d883c92110d40497e247a6510977c167dab4aa
|
|
602eaef7df208c516efeb4333a050e3433e0f3baad901fe0ea6278ba6678a576
|
|
86ffb57f543e8efca951974214f9f84b036c42ed9cb8d0d90974fa6691f2e0fe
|
|
7c57f8242a5c9c7ebfeb22fe24c4d6906a378c9c95e95de22a8fb8020911d0a2
|
|
7e41a6edfc20ca0ef55f8e2e34740521b87f36f48ee97dfcad69b25be0f235c6
|
|
f31a19e5512cf07b40548c676d5e53003734bb72d1898d8fe5a0d92d6cbab868
|
|
f1e7a8b7b71373bd566c35559667a4da73b92fe86aebfd7acb0b24f2b0090895
|
|
28ce4ac766d10aef112451128ffe56119e972bfe9210a052c534945dee829820
|
|
27e1a9560dacc0b8665f0bf4155669a208a934684fafe8907ee88e1c7927cdd2
|
|
0b665ea8cbec2a5db2d130827c3aeb8be79133a611b0241ee11198d2a68cfcfe
|
|
00c54af05c8428e387409359f403993f1a141da9a30d4925a92be57fdbfb0eb7
|
|
f9f6f9071d6b8c128495ed95620180756112647eb76d680583957763ec63554d
|
|
269b4e8486ffb176a1a5082203398ed7f7c398ee0a3377888319431f1697a380
|
|
13c7a3fed0b61018161e45dd20ce6130583b68f270d4a71f4a1703be26d7dc46
|
|
e50a73028675b28b8f60094731c96b24713178025a491aa24bacb805dd554e71
|
|
a1966155e366c8b9eeaa87eb1d6e76a3c187c3bf6701b27b68c21b41627097cf
|
|
1091cb9efa635996c0c9458a62aeaf03023bbaf2428b291ef2d0993ed9139609
|
|
a09f19ceb466f2c7a2e46b4a1f2dec3775d9b0d9a670ba04733b2ae7afbcbda9
|
|
f27dca27d9215deae207b4ca38e7260421d74fd482eb8a1ddc6d6d0e39c1bc36
|
|
23be65bdb50c441ea75e5f3ed143160091a70191192dd4405da7f5a2d7335587
|
|
1dc290cf22dcfab88dcb7bdb0a2ecaad4be6163ee1bd8af13f4962ed037c1a11
|
|
ada8b98915422b83aa4c62bf514456a27e9cedc82ddb6377178ce396f10729a3
|
|
6a4d8b5ac760d8860aba66c779f302e19955fd5a232c237297dde3974b72cb25
|
|
25f92f7562f119c97189290f8e4746223d2db2ddf3fd260e3ce246119bcfb483
|
|
b6f370e9e0b6c8d7c9840999d185c50dc9832ba15691c6c2c2f61dd099bf4912
|
|
b9e476f99b13b29fd84189283b9a7641ee41d641c171a4fa3587493bcb329a97
|
|
1730b390f911b26f1d5107cdf79e9dedf1a970be7da9de96010ff1e83da3a1b0
|
|
5c62998721b69b83e63b4ec107a62e08d03d482c84de2fb3fc2c0844ab1f2315
|
|
19774e11ea7d30fa748f3d1aedce3c642dfcf83d3eacde963acf16ea38960a0a
|
|
17240437b1e72eac60776cb3a307d60cbd59abd0444eee475fca8396ef52817f
|
|
518c74f77b1150ee0a17b94cafe09f3b1a84f972bf0fc6912a7ab32f5aedba08
|
|
3052a32a950786aa0e540d4b4ae134d43def23141670c3625bcc9c0f35ad22c3
|
|
9f8d98a8b1546072a3675383252fbef3fd0fa9c4c41c3d3a9e1e50bb19535019
|
|
021226df2158678fecc9d0958b8a9a27a3cd70e584c9f34d0c7fa444870d78ad
|
|
80dde52c62e44e3706c3a228f091c1473bd871f3428c8efa0338890310b954f5
|
|
5f23242ee1cd8045abd7564a095c5ba11bd98283b1530f1e3c29cf5fbce362c4
|
|
b608322fe2364a15c2f96ed88449dfac1a71621081489677015aba1593eac32a
|
|
a86a3d15e836df6f767b7af53ec3cbe9c329716adfacbe14811739c878365d8d
|
|
06bc663cf5bd3c70895ba07133cbe14adf36f08a1c375d8e3a9083ab4cda8981
|
|
eda45d7394b912213cd1e724cf8b45126c7f60cc15cc7289b11c1abb7112b0e1
|
|
ffcc04ba6231154b7129225b4f8a62ff81c942940b8d055f38d2c770da5baa46
|
|
5f0ab5186966f4ef688d089cc1c02256fd58009023b1a65087243cf47898877d
|
|
7904ce0bd050e3c7bdc5047af6a8483ec6353d7180bf638f73dc4e86caec41cd
|
|
c900355b017b2d6f823749eb2b59e7138885a106a3f935be9a7e91f50e50380b
|
|
2beb5a8a7c8d4a824b8901a6cbcaf81297347c4b83b1b55bab8855e0e5e87e6b
|
|
49995a410b48b0c53ff4994633602f868796c24a28d54bd1260b1f43adc79475
|
|
87bd2e7b71bcc21458b5d44dd83d9f2eeb461c53cd74c4a76d4eb2a6cba033c1
|
|
afea740e93a87b7821fcf7885f8c44d8dcd865d1e2418d05530299ca2471a2d3
|
|
36dd807b1b080c45a6b68fae77843d30f4cf7291bd29a61a8cebd509aeb470cd
|
|
9522236bee6c980595ce05f9320d915a31b272a28a878eeab867329357156a9a
|
|
2b78878aa2c06143887d7f7c1f73f3c2d5c98cba58e06df5d96ecfbf9888e143
|
|
3a372d31c10dfc267cc381974a365eb4b44b6dd70d3054ac624f84fe3b41801c
|
|
950ed718076217f4ee11c0a21cdc59005b06757af81a4d5cd028d00dc853c3b0
|
|
28d5e2814fa7ac74b9ce44c73b1680d6b2360820f51d373c81fc4fc8304b7a7f
|
|
fd74a1e2243899aae3c39e46a2d101338afa10da731a60f1b94ba6deffa2a9b2
|
|
9ed40581c971918ea80b17e21acc8b331519b82ee322c6829e482edda6867914
|
|
d237497e017ef6764fae81477b1ad6593d6d03c432641e14bc87e88cb1ab30c8
|
|
5c58a458ce5aa0cb974bd7c750dd155dd0080385bfe97344bb07ca7070d46f1e
|
|
f423bc581a57d4f1e315d3f4e591eee9b0b34b0ad26c7356957684ea80607371
|
|
c6e1d20bb1cead467ef3a4782e48f72fe9d577d2e5bf40aafe0f0700f6d86f88
|
|
c5b6e6aed27cfa73480b89134786f2a450d4fe0f1879389262f0f6dc9892bcd2
|
|
f001eece8b1b7fc9eec35084679155802062fedd1aa096c2ba74be8e22682131
|
|
f590d1a96a5231b4a448ca27bde8ffd2a3721f5c8d628475e4705980013d4c21
|
|
ccb78f6c29e470b15df6c0b0a1a9186ea6da1e95a01c5acf88d6d5663c0ddd37
|
|
3a240719bae5fdd5f1dee8502a573c68d496dbcbb89e40fa2588a8f8cded48d1
|
|
1a42033323e58bb24a230ccc547498d6b54864e6566ce38f97c8f5bc9dc802b1
|
|
9c91150755449786b400af12067d648f5751e78396bf72f9c604874dcdee5f11
|
|
49c22b8f7384f83249cd1468e14f9aea657a4196fcf11125bfc44e112b6f93cb
|
|
2f232cc5a4e4b72e11e4751be8667f5c532952ba5864369e07a9438c25afc317
|
|
e210ec8c8f985d5c6e31e37e191c35d270c310c647cb6e32cc1bf35e93194348
|
|
693c3c04abe48a7bf8e0c13c8192451bb70687581b79da13bf2905499c2150e8
|
|
fe6b9bb7d2dd6227fb6ea3b5ad7ecca1fb02105f10cecefc232aa9f7bc0c7096
|
|
34cf42493ffa140f869b48d6deaa10d43664e7dd7bfea6bd4a979062ef476bc1
|
|
"
|