216 lines
8.0 KiB
Bash
216 lines
8.0 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=37.0.2
|
|
revision=1
|
|
homepage="http://www.mozilla.com/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MPL-2.1"
|
|
|
|
noarch=yes
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'as "Assamese"'
|
|
'ast "Asturian"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'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"'
|
|
'son "Songhai"'
|
|
'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="
|
|
8cf8e336ba9e3870037954f3f0e207b5aa9cf400d8ea367f6e37d7f93d5a4c24
|
|
3ff6025b25827acfd84ebd9eb6f736c8fd05a4a909744f4f9f7168a34a575c19
|
|
210033c863d7c4e0269b8e082738dec903501ac1b165d88dd61a6d4d18f26360
|
|
2f00db7370441b1b54d47a0fe3beaf10ab01c9f0065426c46891f77bccccb0e7
|
|
e4ff8879fc6c1ad330b20bac3831379c4604870a9db916e2d1543b15ce3c2951
|
|
a52e023e4f66b91571a9aab4acd39fc07531f14ba48b437d3c046ac06dd59651
|
|
97ef3b6fc57545f8adb6cb9235fa4c0f73b1f019b96e1931d6218129c4d81e6d
|
|
d350be48f79f0583b0f64713efdb697d3c6e3a5cc832ab79b663ef16753cfc7b
|
|
ff204cfbf105234b6dc1580cbe7479268acba51ceab6706c3307ed9a53491890
|
|
a8918b710fa93b69796d42caf1880cb83b82f81fda84530883a0dce57a4a3f52
|
|
0f5736aa224048de7fba09a00183f3ca8098f864fd41ee9a3d22a78f1b315e30
|
|
cfff264da41cc12c58d8267b563c20af094d0466ef6801cde3c4c119edaac613
|
|
c4b60657613dc6fc40c5766cd164a4dbace4be257427ba402846333cbb7c320d
|
|
cbcfc50d56666d69d4df66f46ede31cb011c16654d91b4167603776d0d8c4635
|
|
7a46c8a962c221b6b8162237ac4686e7d2dbf86e421f6150f436952d6b8bfe5c
|
|
732d26ad75ae9d5cb5dbfe920e441f06d9f4e16447a29f163f162b540d30504c
|
|
7c04eb5d51d473ff23e6b920a791ab58c8a57c8e575519e11d24c7ae7bfa946f
|
|
62c0a4bc0d47c6bda67118a4c6eae20b4f68d0077a6800c971a6f321810971d0
|
|
d8d9b788420cb52729a4b0b43d8c54655a11599abe64dcb68520a1d34d359d62
|
|
0f18db36988859a6a3af356ed1fc4bbbe81feb6558f1a44ebd393f12e539aa98
|
|
19d648f9762a3ebbb0ce129605fc33f59b0507565f1390bb4b14ba66b4a80c31
|
|
06877a12517c658ad6c307430634aec8da60bcce324dda5cfaceae7b4d955c70
|
|
230478eecad42a9cc77071d58520802e30d0399158eb6ccd7b24d307972ab67d
|
|
7607b641ae11404c62381da0c49a4b375dbbeaced25837841badb38ec459c6b8
|
|
d9f5b0205be9b63e24b0ecc11c5d5fb61f341a7ae0de23f6543b7dfa288a986b
|
|
0b8e88a6396caa3522d676580d10e846217443c7d75a94cf6c75a4fe71c73192
|
|
f389eef90b7acbfc578aa807af47a5dccfbf5d07e5aba63b76b6fa9eeb8d165f
|
|
7b3810d2c50d30227ba7def0aa42a84f334f471ba26a0c8e11821139b10cea12
|
|
ed6fde4418cbf9564a6c168b9b08946eed75b6dc9515f5abbb02152d9bd59b11
|
|
eb305ccd1fb37e2c7fd0c71b8ae2808a551ba87abcd1b1bc7237900716d3e451
|
|
7875c99d79a3fa8bbd35b9e1ba101b3d206761bf7a54e458797423ba5f3cf203
|
|
66029640331b99f48b6730df91bd4728f64a143d9c64671ef0091be7a48abf80
|
|
dda5dfd8cd1942a71de26be009417029ef728c75ef9f12862efe02d8f3c20b40
|
|
84ab489b4dd43fadf6e618d140d969efaeb0710dfff08a24e8dfbc3a8a3f14df
|
|
742649f909e42fc830d9084d82ea648f181e2ab49300e809ec70c6c17e474527
|
|
223b1841022d89be58bc3a1ba907d8b987373a1d025d78083700d4afb71ccd86
|
|
8a0bef1d4b99c10044c33c4bb92fd6359a9b5bc554c752fa4c050336b0adf87b
|
|
ff56fe902f0d3df73a25b734cab5f3b2d05f4dc2d7762d87141f3149766ffd3b
|
|
a29fff963c4046c8abd6bbd2d2e8a03ec77d609ba3d77e3516b7848a2697d678
|
|
5288cc69620a2a674d9dd9bcff316af59f6800d1e6dc9661f7c8e607a45157ed
|
|
5a31f391ebc94f883829372a75e153cf5c40fbbbeaae9b02efec6687c775d581
|
|
4db09d929221c5e3bdc038400480ad09aa34c3c345d3d041bdfb0da44a3d9489
|
|
75d1ff62093c33524dd65911a1cfeb73227de2f1554f2ebfec4a2bb8d4a03e93
|
|
eea69d63b05b23783967ff81bf009a271bd434231a89dcec76c1864f1c70ef84
|
|
34168aa305a99d635a6322994740973390edc30dbf07b12956004d6012062931
|
|
a4491ea80eb0d5b83e66cc93ff353423f1adb501b532479557c95db5a4d49299
|
|
1e6e7e4a9f8c44097b3fca71ab5b53b214431df10725d9f3b986bc09d7f8daf3
|
|
66efab5b5f6281a477ed0542ac1c2fcbec43625e870993a724af343483437a31
|
|
52d79cbb552f7f099e09bf1428b1fdfd4c89e8e0413bb5d8440b9ebbe41a1921
|
|
70f01bf137c3384c4461b3b7f0403b05a3d832dd2f2c312939f6267031d4e321
|
|
d1c20e9f2fc337c9f2779a47a2c64bfc9e069dd6564b6d6396f6105707a1dcf1
|
|
a333194e8a04c6e4ba786542d5815daf6c97e7f11c9394df8ac616dc5cb6bd41
|
|
81679da07ee53b27ac6c93eba95dcef4dc2ae36f7ecda46fc6b70f475016400e
|
|
9ffdcca961f533980e088dca78c383964c271e74678139a6640b4a6b573f83fe
|
|
7e23a1bd87697674a1efaa1e807e7bf7f9158b2170f347302434c9fff0473717
|
|
aa353cc0abc2fa7a7e28b1a480077dbd96c17a035b15fadd2e6d3ce9ec89517b
|
|
a25f483754524713f550865fa30b5205bd1861c412067157315d18b2cf3040d0
|
|
82de74b93365ca70d04e77da05489d3c362e70f99a18998c592f138a529fa6a0
|
|
9000534da16d63a1de80f6aedca818271aff48834183ca9e443e489556a7f2b6
|
|
70e9a4a3b452bcac0dbbd1bb71b030ebab612727e8ee74efd4757ee52c47695e
|
|
3b99702e3f05900324d42f379509d1ca426243c09e50bb73f50b31970b513bc1
|
|
74c0211764c38c62c8fddba92fa75713cee0eda22ea3b5dd195a753ec3754a8c
|
|
867bf5d3cc511545dbf8d237cc308049b01b9f5679cf117ffd0078de1d5b2db9
|
|
e940ff6746844d21593dee45ece67d7e5f3a2914f1239b265052f7fc0ca840f1
|
|
cf5c8978eba406f96c75f4d01e5dc4daf486cec7e47cc01ba4d6f1b8d70814e3
|
|
6492d5b56e815f1e7114b9b679f2ec087a79c9f7218b9f2cab53ac428968d280
|
|
e346a3a449109e81841d1bbd1e917767155e77bf94649e6e3ae180df58d1bc16
|
|
f96629b3fb1e312a54683953d6156aecaa57f15e33e364abac92f5fbdb095145
|
|
e9066f74875b0f45c3b12405233ea47af02ba3dbd750e673e5638550adc056c2
|
|
48ea18e04e6e81fbdf39baf5a7e8b477ca6d248cf10c0ec4a6907d894d43bc1c
|
|
277df62319e31105d1584058a9a79c841500a80d4ce032998df3655aeb875c4c
|
|
5577c3fe697446e10445bf6d8e3e0154c85bb68a18b2242a47e900e013548ed7
|
|
36cab9cf89dd1c2da2eba4f7203f27f4bb6156531c45eb038ce6bf1db8bd2a0f
|
|
60af5fb2cca17f7d376b58b8330845e8e7105f302639b2bc15b6d3ad8a4980de
|
|
1cbf5ab328fbcd089b36f9c77c63e7a6e3b6bbcfaf4795ee20526be6cfd8a0a4
|
|
c6074cbed80f0ee45535ef407821878d9ffc23097d38a850437869bca7131ec7
|
|
0d6726aa8d81af791581071a3704d7ddf0d72e9ac0fea090fc777d218eb23293
|
|
9d97f711a64fe520a60f6ca48a034534e6b2ea8158463ca5a4dc27c277158f9c
|
|
4f91170a88077975ded7ac70d713fef9358410dd0ca11768a6c39c432c6bc62d
|
|
6235e75114ca8a245758945a6af822ea4c494e3ad20386aa8842b139f40a8d4b
|
|
93e654e7223ba972e8e999d076a44b0ac289fdd96143766961f38686948bf2cb
|
|
a37c83ad62b9ce0c2590df621760ba52508d75bf6f09f3eed52e08f7a907da79
|
|
6a4e2bb0e6f89f0a0202440c9f73c1503babdbc89b33c264e44aeda32767e4d9
|
|
"
|