2012-03-05 20:25:11 +00:00
|
|
|
# Template file for 'firefox-i18n'
|
|
|
|
pkgname=firefox-i18n
|
2014-07-22 15:39:20 +00:00
|
|
|
version=31.0
|
2013-06-25 08:36:05 +00:00
|
|
|
revision=1
|
2012-08-28 05:22:24 +00:00
|
|
|
homepage="http://www.mozilla.com/"
|
2012-03-05 20:25:11 +00:00
|
|
|
short_desc="Firefox language packs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="MPL-2.1"
|
|
|
|
|
2014-01-01 15:10:11 +00:00
|
|
|
noarch=yes
|
2012-03-05 20:25:11 +00:00
|
|
|
create_wrksrc=yes
|
|
|
|
|
2013-09-18 08:19:04 +00:00
|
|
|
do_extract() {
|
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2012-03-05 20:25:11 +00:00
|
|
|
do_install() {
|
2013-09-18 08:19:04 +00:00
|
|
|
:
|
|
|
|
}
|
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
_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)"'
|
|
|
|
)
|
2013-09-18 08:19:04 +00:00
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
depends="firefox>=${version}"
|
2013-09-18 08:19:04 +00:00
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
for _lang in "${_languages[@]}"; do
|
|
|
|
_locale=${_lang%% *}
|
|
|
|
_pkgname=firefox-i18n-${_locale}
|
2013-09-18 08:19:04 +00:00
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
depends+=" ${_pkgname}>=${version}"
|
|
|
|
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}/linux-i686/xpi/${_locale}.xpi"
|
2013-09-18 08:19:04 +00:00
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
eval "${_pkgname}_package() {
|
|
|
|
_pkgtmpl $_lang
|
|
|
|
}"
|
|
|
|
done
|
2013-09-18 08:19:04 +00:00
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
_pkgtmpl() {
|
|
|
|
_lang="$1"
|
2013-09-18 08:19:04 +00:00
|
|
|
depends="firefox>=${version}"
|
2014-02-05 09:38:25 +00:00
|
|
|
short_desc="Firefox $2 language pack"
|
2013-09-18 08:19:04 +00:00
|
|
|
noarch=yes
|
|
|
|
pkg_install() {
|
2014-02-05 09:38:25 +00:00
|
|
|
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
|
|
|
|
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
|
2013-09-18 08:19:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-05 09:38:25 +00:00
|
|
|
checksum="
|
2014-07-22 15:39:20 +00:00
|
|
|
c043fd049cecd1a6af52f30563498e9dacdabe919178cec8928c682497eacbb4
|
|
|
|
b3c52bc4d0cd348a04c0149936314c82c6734ed65f76ec8acc754106e0d26f9b
|
|
|
|
fc9f0fe1868f062212c522f828cebd1065d5d9f06a411e2278f57da44ac64b1d
|
|
|
|
abaeb915d12d54e327150c2554440bc96a5b21c5bbf6d8634f8855e988b84bab
|
|
|
|
137b0b28087a434fab6580a1386f0a57d211660bb1d5bb420b946b08eaa19d1e
|
|
|
|
9fc2e6dd303f11d8658a1a0fb97b089566a467d0f1e9155980cd409c0f384c6b
|
|
|
|
10ecc313fbade0f094c047b609e616b2ddeec642fd62d5a886f5382217f7e530
|
|
|
|
dcbc8c838f92856a15ce675c35385a3c0c55d9305e0d7750e4977eec66b5c17e
|
|
|
|
72d769635a3be48bd7816d447806b258ec777ac0cb2abb21f62be7cef86255a3
|
|
|
|
7388e70a4856a65746533cf98c65102dbfab5f2e56c6b065e7b0e1cb9756b7b6
|
|
|
|
e8df928e3468740b5038612fc23a67852f45632a834e32fd750a635c5dab07ea
|
|
|
|
644a69818eebe1833887e7afeb558a59c24c4f7c74bf77a64e067f5fa09b7181
|
|
|
|
d0a9396d135530b940f6f6e96129cf2dfaccbaaf00400dfd1531543f1f48eaca
|
|
|
|
7c058bb27ccbd10af2c8434b70b597444fd557fccba0eddf63cdf44f62a1fdea
|
|
|
|
93a6c7b7e88216dece3a77fa5608a2d08e1dce81f0bfdc59140730ae741e4f1b
|
|
|
|
99d1f942ae49ae2eb47d93c6ee351cb46b475d4963148367b6dd87d062ec65e8
|
|
|
|
0d2c095c405538441074125d14937e707f5638bd9c74e0ae69a9671354bfb6a2
|
|
|
|
2f0b8beb3b573c241c500183d65ae4cc08f7e55dda59bf4d2400b26696ee0e13
|
|
|
|
d141edce4aeb7bd6a4ad828cc80767bf00607bb2a3eaaf0a1f022ab3f808d402
|
|
|
|
a44ff56095949010b30a76a2af1c22cb8c7d09cb8610c50d91c04ee2c903d4bb
|
|
|
|
44b71794ec3612b74da254b1a4e4e2deaa6fb32adccc8e0f26d196eab3f4d836
|
|
|
|
5766f74e5c601991edad4143befb2eba4a8b41e86d0a0ee739640158a8200574
|
|
|
|
96d7ca36f5af5eb6e0b1080f509fc891ccb6ea473a57692e2ce28067828de9f2
|
|
|
|
8156b29bf446480778aa45a48a75518c6e0e60daf014436c2db7168cba1cdd62
|
|
|
|
b0e2f582b606e52fb8671a8a62295a86cb8d8b9653206bf6a944cc8ed608f576
|
|
|
|
f814a2a1fdf793b65db619c22fd9eaa1bdc15498abec01f77598add5d0491ab5
|
|
|
|
a377291ac4126abc10984a397b1acf67e2c37040d15f9bab410e69249eb34717
|
|
|
|
fc2db5d0730742d70c6071c2016179e33b8465ef792700ef6e38cf88de8d65eb
|
|
|
|
bf393bb5fc57d269b435d8ccff8b40d990ae225b51f19151e916ae3bb75e3f31
|
|
|
|
c609b12714067f3a073d4243f743112fa3aa0282099fbb0bfa2bd11a313a94e3
|
|
|
|
788e0584160f1b4fb1558754e8d901cae5532115bf174346f67394683b43f111
|
|
|
|
07302d95a22577813ceaf42557120ca4937d6ee4cd54fe47173bed0ceb073a3d
|
|
|
|
a9c2e97a247c7a8d57c84542b4920c2b248b0bf6b35bfd485eba9c740d2f4a86
|
|
|
|
536bcead2a0f0a6aab897110f3359378e06aa84e964f619a09bcb06619b3a3d8
|
|
|
|
7aee0379d2654965caa379d6f848d37d7208f26eb1b828425c816d4595b76864
|
|
|
|
51a640b99a5f534262c730ab9f28ca8070ea4d9d0c99f32bf37c44eefb123f5a
|
|
|
|
822c226488c566fdfb2e03bc741809ad8a5b0ef828c42b8442e06f4c9743f3fa
|
|
|
|
7536dd41ee7a7c5363405086dcb233902758578a0bd52b7f74262c7e959042c4
|
|
|
|
fe1c61fd3f8d2908c0b000c01c058ff2253a9ce7ea81d3fd9b8f976d10edd619
|
|
|
|
57085c743a3adbb5dab962aa71f526552a43d38cfd91eef7df78852e70e6c867
|
|
|
|
bdffc3f0a4fc0debabe78fbbe639d7fe3ede2bea402b6e619de96464e022cd55
|
|
|
|
45581de0b5ebd615c7ac6ca71085b72955a9a24360dbf2d47947447a7a1d49ab
|
|
|
|
4da6927d727a8cb9111c544ddfdcb13c3ad417b665b5565e01fa896b354042b4
|
|
|
|
d745aebf2d8da70efe62c5aeadc14c5bf4bed1f52e114d520c7f9ca9f4256de8
|
|
|
|
3c62b7106c34fac3ce3b2a8a06a5b202605e268e820e18bc3ac005eccfc2baee
|
|
|
|
3d442fddac1853701add6ce9a90b7ccb3f284b635d04b9f8040384c05743926d
|
|
|
|
9bd6447af21f63178f0d6c67cbb8161eb777a47bcfad1a4221bc2023394198e2
|
|
|
|
2b6127ea6010c1b21db460e0708822d434a523c75e1ccab2b6d175fee6c57dc8
|
|
|
|
a0204756151beeed2af17114bef9d94d3106b4f47bc6e779319fdfbca2a9baf8
|
|
|
|
a6dd52bfebfca2129f7895fe95116f64b0849e4debfc11728f0cdffcf8a25cd9
|
|
|
|
6f7999831c517b0a6484f6c4221be57690443bc42df47aebd5ce08736df995aa
|
|
|
|
fd34ecfc10a5d277fba87b8d756d0671f162a362ba3b65a6768317c499fb87a7
|
|
|
|
64ec68a9e91ec7e23eb610615bfaaa0b8511d9728cd60da65fd594fe58e433ed
|
|
|
|
1854eae057ca51a928d2d75605a8b09c49e5ce37859a1c2be668522303e74e0c
|
|
|
|
2d05606f289a6d7fd7c7362197d4a30ef62b124c4f802d73803987f96d50a365
|
|
|
|
ed265f781b769d690e9d70c1809dda688648822a8ff0cf06b1c76955adc1019f
|
|
|
|
b52360035998ea66829e9d3bb8cd2fa462ae0adb5a248716aa7afc0f63a10f5b
|
|
|
|
4d05a61dc863bd7abe378d7565712784bf69efc287dafae555dd21736fef4678
|
|
|
|
39b53bdf906dd8273c397be1b1b10bc45da62af4f28eb33f3f9bc291e1464c1d
|
|
|
|
52496ba650ddd38d74d50214e2eb7d15195711264b2d904363a0c1e06f209023
|
|
|
|
7ed8338eabd6a15990272891d18e393819583efadb4aed842c1efb9d4a950cff
|
|
|
|
5607d16fe6a474a7530e5731e0891fee0d6c38a7c7dc27ea71c490fad1e9981c
|
|
|
|
68bae55ad08937c94603c00cb81723406400884c2af671289ab4228969d60c8c
|
|
|
|
0702c144569fa1b4acc4b88c4b723a93a2c7be5751e69276c94d84558e3abe92
|
|
|
|
92a99b29b6b078b36934d29e81462f3508842f99ce64fd13e97866dbc3b7dba0
|
|
|
|
a2f708b1710fc2d473d5b0c8edbb9f8b88f58c8b28c7c62960df80e5d3bc849a
|
|
|
|
23c3a042262d6c7be84b7065d0eafcfaf069176ef474155bc606f3c2cc3d629d
|
|
|
|
f336f59840fc21761aaaef3f38f38d73a5984eb211de711594dcafe419e2cb0c
|
|
|
|
efba0e0146a324c6ba79ac6fc83899236907166f45d4d59de3a26d43257c64dd
|
|
|
|
fb69c49c0d71946950e38fef73f1fa823517a1b8c81602f0921353b327706042
|
|
|
|
6cca51d1ba210c54e296ddbb0caaecd56caf4615e1305fad7e62f8f52c72e99d
|
|
|
|
22b10959e5e6054ccf03864afedbeaeb59e88f8fd12e82888b8901af4abfd596
|
|
|
|
b544f98dee89a043859ae5c554657c258f30e059bbb3a73f62c516e4f0c706c4
|
|
|
|
066d3cad0cbb20b1e172d9bb98a2dab21cb425f3d644bf58b3e0df52977290de
|
|
|
|
19dfc532b13b47d652068c34b01430cb53dce3aa9035919f216e4294e3109abe
|
|
|
|
4e08ca67cdd3b926032db97a16c7a16aa984789c79c5f40a46451063b6eb07b0
|
|
|
|
1e387122bbb76988a1aaa110019d1dde87192d8c387f58ea54bb41433cd818f8
|
|
|
|
73eddd42b90504f9ed160ecf569fc6067fd7476adc389c4b2630413b4e24f648
|
|
|
|
962051f56490be60f047bb807b01c63e2ac0fe24165e37f41110fbfd59879908
|
|
|
|
67a1d478b02d2885d4b5735aab2b040fd7d3c8ead7d5948f6cc15f4d37f487b8
|
|
|
|
33a833ba8aa8597f8a9bd34a15a62d2d1cedd3b4f2ed64b9e20a0b7ce9ff6b78
|
|
|
|
0b35be1cc865baae8740ff08de5f5cd334d38618efa03ef633c410358fedf5ce
|
|
|
|
d76aab32932b42273b7f85b8c04c95823bd242804cf439c7a11b43c865977ef7
|
2014-02-05 09:38:25 +00:00
|
|
|
"
|