void-packages/srcpkgs/thunderbird-i18n/template

159 lines
5.6 KiB
Plaintext
Raw Normal View History

2013-07-28 20:06:42 +02:00
# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
2014-02-05 11:22:29 +01:00
version=24.3.0
revision=1
2013-07-28 20:06:42 +02:00
homepage="http://www.mozilla.com/"
short_desc="Thunderbird language packs"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MPL-2.1"
noarch=yes
2013-07-28 20:06:42 +02:00
create_wrksrc=yes
do_extract() {
:
}
2013-07-28 20:06:42 +02:00
do_install() {
:
}
2014-02-05 11:22:29 +01:00
_languages=(
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'ca "Catalan"'
'cs "Czech"'
'da "Danish"'
'de "German"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'es-AR "Spanish (Argentina)"'
'es-ES "Spanish (Spain)"'
'et "Estonian"'
'eu "Basque"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'he "Hebrew"'
'hr "Croatian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ko "Korean"'
'lt "Lithuanian"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'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"'
'ta-LK "Tamil (Sri Lanka)"'
'tr "Turkish"'
'uk "Ukrainian"'
'vi "Vietnamese"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
2014-02-05 11:22:29 +01:00
depends="thunderbird>=${version}"
2014-02-05 11:22:29 +01:00
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=thunderbird-i18n-${_locale}
2014-02-05 11:22:29 +01:00
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/thunderbird/releases/${version}/linux-i686/xpi/${_locale}.xpi"
2014-02-05 11:22:29 +01:00
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
2014-02-05 11:22:29 +01:00
_pkgtmpl() {
_lang="$1"
depends="thunderbird>=${version}"
2014-02-05 11:22:29 +01:00
short_desc="Thunderbird $2 language pack"
noarch=yes
pkg_install() {
2014-02-05 11:22:29 +01:00
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
2014-02-05 11:22:29 +01:00
checksum="
eb3acf0cc5c5f88430f572da1fc41ae1d4160854a33023241207b4b17cd7466b
f08d003ee88e0ae3e50c2c1bc46c37876c6e4016cf17532b72487d3895560103
7f4b7c6419e846c697814ddfba5a298e07c7b6895b7837d0e6610b88aaa4a6fa
7acdb8ff7b42b0e17055889ca956c886313a46f009bb4de8e98c839b9631df63
88aa6d466baba1be9355ca17677fc6d3764359858f56de45811027ed8cb0eb34
7a02be30fef4b1a87175601c4ea4343634efae235dbdf125d10a983c503ab819
10bc88d7c4caffdad364440910144c10ca1f57f1b4677f46510d0240fde2c98e
d80c6bfb0f1ed8b877f3a83794a34e2661d21d0a801afc3c8388275408c051f1
bf47586c7259bbd31a00569636d1c255e5e0a018082ca8116c57a46725f84739
502d63e2da4d606f391f156ad42852d4e44e2472f7113ba09329330b5b432ce5
2f030edd3dea6d702ef842e85180d7cb636864e6c4431a1432912fa427c21f04
968f5465f9e0a9f3a045eb01e104bad382aab171c28bd6877466df753b0c1e18
536cbf66ea568cbf58b152db5aabe227f9dd9be096893a067709919281a2e9bb
eae8cf494055f0c3c20c876da567b295eebe67e00fad8b5cdea4c625eebfa91b
be50f0ae213c14dc981a2b67059e5514b3a360e10396cdf4a74ca629231b0015
c2bdf747af30b02ab0750f9d115522f909e51c9bea27013c394499b6b8d19d00
4ed003933609f7d31f0d801e89e9d7098138a7dbc1066ce54f5ace176a159f0c
e72e0e96fe583b82583891577709a7192cdd6597db8490057a5c82d748eaa341
393f251cd1c39e635d4fddaa41035885ebb88d3016e00b8d3c8f8ed81c1dc07c
f558ec45c28824ed9e7ac89b64ee8dfce0370227d183af42a62ff6a51858350b
6f38cc9fa24503e79e2ddac0c565da172fe2be03a2655cfc95f52e74f5107c70
5c3ba8dc982ee893fddb51721ca68fdd44a64fa1cc319094366bacc36d091b67
39ca80f526f5cd56c768d9bbfbd32d3e59e94be5c88135d60ec68af57ad3f125
19e12020696c313474d27152ae17946a8c5855cf8b1b6ad7978db685d2b07cbf
1e80b7ab936fc9e9ee73a11414e555ab7aadcd54e4676a0cc4d2c5f8bbf1e9d2
f5abf52ba86925cbebddff25467902fd48d04a8974dccc8f885f1900e0ccd0c3
615df82212978f66d1d2ab7ec266abbf5801ac5474e08b0cea9fbfa6d28f946a
5bf12a7cd0a0ddd13989efee450e50f1f919480035ab56979008823607c8317d
004b4452e02dcafd26905dd206e62772ad772644e0670aa863734b5507ce1573
35db725a07d70e7235d19a114075c5361a7269008b82ff04908ac96616e062e7
429691064a5bcb49a02f1ab0fd5e0ec883db380ff8cef18992465cc8de279cb8
fb5d6825982fb4e4fb9f496f451943f0ce14958313c25f4d6550179b6a557ba1
07632205a7a9c9cc1f10caa842309ba6baaa917c63bd2ce0b25b99039213a236
8467a8d87580521d1fc9f4d7f2caa8564598055542e252329e2d479dabdfbc20
7b37b9d8f86a0e6b6072216e6e6087cb60457765363891739ffb02ab43a8ba16
838d64ca3d022302dc9c53365773398f2b4e8f1f10f38641aa933db83205193b
9dc5c0ac3405b2c89efc01fee8da94ee98f6301e8c8df8001bdaa936f617600a
ff6599388a7dce54fd317fa598a26f69dcbc3e7ad31f19965fe0639acacc745c
c937c0cd61cfb44e28fd824acfef2f51da030a7a27582c477882c501f8c2f2b7
27baffd426ee9527288cf97b0e10eb26962d18c91fe65ba1463e240cd26da6bc
f286c6b010015e023ba896cefce600cf3d1aab70ed7e4cbcc4d472f796fdfbf8
b21fd8065e79c3e2846af5e6905473233474a465f9bcc34dc841cd5d6a023d7c
eac09f024f522ffb4e51d0da26163025a70d645aa995d7fa4cd0182ea1a58c7b
be7eccb183a6e80c70dca9715ff29f51526582a2e15bc04b2137c8975338829e
92abe71ccd4e9beb1063de1a2c061f4c1283ce1e0b7ff2864be7eec0282c4974
065e77c20255fcc2e5167151d4b1068fcd8bdbdc044815ab43d74aa507b1e3c8
0361917b93bae3031034c98273fed74ed9417c031c9856460384c6f49b6b7b29
85ba7995a72c8844ba754202505153c320d7da72f8c886fb550471133018fe07
b4f7e541ba7fbb0956875ac1b57034a10b644614d114fd69f3ddba3dd3e8fde0
957205ea8d0bd69ed5112cf77f6b90464b2fd4893adfc23fe57a77d802c7390c
6d71338dea7560fb005623d87b7605f038d832c888124de251644720c1b5b4a4
ed26d6a732e8458849a210a94949ced8499672f4fc45fee6cbfd870ba4fca50c
d03a570c077926ef75f6ae32377857420faaf539e7d09ec16c0e69ece685bbff
e4b439793b79f8d201871553a820c9a423695937cb809775bbbaf8f441e5f30c
"