void-packages/srcpkgs/thunderbird-i18n/template

159 lines
5.6 KiB
Text
Raw Normal View History

2013-07-28 18:06:42 +00:00
# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
2014-09-25 13:10:16 +00:00
version=31.1.2
2014-02-05 10:22:29 +00:00
revision=1
2013-07-28 18:06:42 +00:00
homepage="http://www.mozilla.com/"
short_desc="Thunderbird language packs"
2014-07-23 15:54:52 +00:00
maintainer="Enno Boland <eb@s01.de>"
2013-07-28 18:06:42 +00:00
license="MPL-2.1"
noarch=yes
2013-07-28 18:06:42 +00:00
create_wrksrc=yes
do_extract() {
:
}
2013-07-28 18:06:42 +00:00
do_install() {
:
}
2014-02-05 10:22:29 +00: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 10:22:29 +00:00
depends="thunderbird>=${version}"
2014-02-05 10:22:29 +00:00
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=thunderbird-i18n-${_locale}
2014-02-05 10:22:29 +00:00
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/thunderbird/releases/${version}/linux-i686/xpi/${_locale}.xpi"
2014-02-05 10:22:29 +00:00
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
2014-02-05 10:22:29 +00:00
_pkgtmpl() {
_lang="$1"
depends="thunderbird>=${version}"
2014-02-05 10:22:29 +00:00
short_desc="Thunderbird $2 language pack"
noarch=yes
pkg_install() {
2014-02-05 10:22:29 +00:00
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
2014-02-05 10:22:29 +00:00
checksum="
2014-09-25 13:10:16 +00:00
d7f7f5fa42bc7dbeeb67ea312cd1390f9daf38cf22db2d29acebcd1d3e74d1fa
635422fbc96177f43cb01c292a3b0a06ceb3040355d00880a6ddeffb4dcfeb4a
a8a48f464b3a44a5724096995431606b740af3247bb325f47a63c065f626c1d7
e5dd2c1c5a97cc90514a1d0e0852e8579e625d689964b198036a6ac6f33e446c
461fac71d5d8a3910d68740def12b2235374b39f5cfa01ab912021e295cbd3c2
3c1d248c517de97d559a85f127e6871afd1a8c245cb4999be80626a258bdbb49
fff999721e7b388880a7a9c64d73add479e2a2f9e447b8d4e506a318efde9069
40c16d650c2f48ea945daca989f24cc293343794c45c5cde3f7ffe1305b8f159
fdfd890e09e23004cc1ba4c0df38648cd74f1c8d9d8d336c15a2aee8f75d98fc
da60f2a84ca8cb6b4e15393046ae43adac368dac35327f04bf89d31e8e0f829e
975fdb6134fe5436d0459eb89dc6e8ae3d8829f2b8f7b5a3387011215184cef5
87ac86fac2b341286e9789c1037404588813bb858e9cd718f7de5e401ddade6e
f96739de83f760ee65727e9a68ad59e13cc60d2272b6a03bc80b5153fa0a365a
d50ef569c6f74ceac8d9eb128cd98c3b2bb0af4853d1bf7a26265d5f31a8d452
6a9ec42a0f90b1d59fb61e47e533b5c79df41e13d8452d2fba5e5a649527cffe
7763519e3c74f37afa026a8fe7214a2b99e9d0f86391031eaa66869e3ef74870
233ce00a457754f2454f26e618cc01f1736671a717a96b63cc7bea3d72193172
833ce0403ed46f87cb2730d2a0a4f3cdaa383295f84e7beeb90d6e48b2a0ddf7
daf99b99c3fa73679801750bfbd33ac007edc05621ad663e4e26ddfee17b5dd2
f775a2236591a18d84fcf36e5b5a5d1bb8a5864b91faa29c2b39e0bee599ff0e
6eed7b3ac1e4f9ac89b138041c2a10d7fae0ef5492035397bfafe771952526db
0576fb35d74a20624581b4fe53ef916032e77e3c7bfd9a7b86fdf687a413c923
274c45fe7bffe038a9c846359e99847193672e7c4dcec4c47e65720a8d16e3c0
784505dd220387ff2b569118380957882feabf61366a9cde1e794e4fc08414f7
4908835dafeb9bef43f4fa294f254bcd64c611c40f1aa35716730f179a3af554
210f50f948c726744ffdfa33cdb1fd9f4434698bd6c131257984f2e2cdcc1ecc
8acd553aacfdf9f4ed66fdd50454f473146fa1762309ff48104a941e62cff995
8388260bdb9d7d715e7cfdfe21826e5d390bcb1f48d1e649d82d0142f360d42d
cebe06ca5e72448ffe8e5d97c61b2be3a898b1ceb9726f9a0bfa7cec714f8eb2
d5bab57141fbae37f3a983ed85983d91fff71f005da1dcf89682563c92baf3f3
06a62d4ef79c2a7006b15fae6882b7919b10843c2b93cd23decf9e4d07151555
fb40e186e31bc836a8f18be6df4dc654b793a782f1b79f4b143ff3830781dca2
80dc6b4ba4fef803776e3634682cded4ae4df1a35771d30ed0c2a1f4af6a6e30
be32cfc7192a3836f48c11022ec58d28091f568f1bf2fc25e1d7667ac6222603
0607fe516735fea3763154f63bc2212f1b76ea3cfae26f1748e7d3f05b5a1301
31782ee5743442de756d7eb6dc601ec5843af0d6f45254f946fedca23dfbf9f5
4f3849fb31c8fe4f65869b35595621df22d2491d08df259d9fdb14ee89b9df04
ea31936122f377d83c6d059435c28c3e990cadd6d1332d97ac3a7bb196ad085b
74501df72d4747944fafafde1fedf2214c86c4f4ba594d276f5efec437f14a28
43f0d1a2a6187e3f01e75c091c599341b0895e71e3c76b7e6cd040fd95d69482
5c8c153c5f36e7237605fcbaa2d66df0e72b7c6a20f793b9113c3e16c87240b8
381a1f57aa7e3646dcd29aa28eec1bd951cff1e378d5fe795a5e87556fd286ae
667ffecf4065352a0e6b32ed5d4535dc9758167cb431b01b13bac9d4027719e5
5bb7054dc79e73852f39464b3cabeb28ef45dd814a2fbef699fd8ac0d28cfa15
e8f13c479e58e7858ef82864927bb48d013d3f1b7c04b26b525504cb475ba02e
4e2c3392ae516d34f2568a6de607e86e641eda8e1dd211420ab9c569354757b2
f38d505b006a209c28fbe2497e2840b1402f15659ab8850b96e401b37439aa43
0ea7ab963f7316a8c99c4ede0d2604532b8e9c640d1c1ad17b5aef52410efb6a
2990c01eccc33ba92e4bd4a5b6bc6a862a3d4ba038187193862aee20590f222f
7c28f5337d0f5265ffc264e06b7f18b733358ba040d36cccc14586e4b2b212d5
711e037fe115f63b560e59ca33f26fe89b021587d3ade4706df0fe5c4822af16
9889f4d9ebf9d298b7a5076879bf34e71dd00665a6be69ff2331df49fdc0b620
b29c35c9b4de9678f8f15d5910b23b842553b80763f41f2340e823a03b44700e
9c76eae686d8a72ceb11a24ad155521aa02ee65ade6a068a4dfe6df5f7ba4698
2014-02-05 10:22:29 +00:00
"