void-packages/srcpkgs/thunderbird-i18n/template
2014-07-23 17:55:29 +02:00

158 lines
5.6 KiB
Text

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=31.0
revision=1
homepage="http://www.mozilla.com/"
short_desc="Thunderbird language packs"
maintainer="Enno Boland <eb@s01.de>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_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)"'
)
depends="thunderbird>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=thunderbird-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/thunderbird/releases/${version}/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="thunderbird>=${version}"
short_desc="Thunderbird $2 language pack"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
81314f4c47393b18c90f4ca64e71747dfc8005e72feb7b4f6c43f87fb7319521
3a78c9011c7c9e380ae05553b6fb30c4c8235a9910e979f8b7925cda9e036037
40e22baac6e6714a63830bfc83d5652b9b671090d3296736e2dcd917a1f0ceaf
c74870d38573d783c47a2ed25cbf9bffe32a0ab389790cde98ce621154d55086
d8e6ff465fab861b49fb1828983b85d9f5dedd93c38dc7f74a62fc8977fe17a1
20fa4c71abf89888ff19ad87dc97c39f93c395f34690b3714ac38014be221cdd
340b8029f83554beca5256296b0715f569b4ac8f00dde62ba25013bbcd672b13
5abfb0e1dd0d1b2344373044147ab8211342ec14385280b6d6d66db4cbb5e0a9
412cab5c29ee7cd39f3620fcfce05c6753e6c0c6ce7761d8512ecf19d54a04a5
e76186c43cbb0965f049bdf4770319d5e7595527a76bf2a0683d5c9bd01ac559
b6f36094ed24b347eaaa4584f4d1459896a17cf1332713c8a7ef9fe44d63f056
30db7504cde1359f4e940cee846481e713d6a66442baab9aa6e30287c52f54bf
89da465c642d4d1aa6ada8b45333cfa2b01d39be2a83904b77c468cfdc351a46
6467b60b34d140671737d1af81b88d18b09e427374a73c73daf95f59280af6e9
58707f9abfdb36f72b09c78c4469047d7ce43ac538b529d77141fd27b31a8b68
d1ed0b990d44be0317f150037a115b2652397ac0ca428a92972cfd0f6c0b213a
8a569452945478c8ea436f24ca2d0b0067476094e3d83275f7cafce3dc61e551
847ab3e6bf668fb27a5b56c248ac506602ddb27054692956ccbfc857aa341358
b6a8df2e7ddd74e4b115c8a507a8b09b79aa721537d77c44cac83b7b053505d7
67430b6113dc2fa2606009f92580fb727d2827116d759cfb75fe3ae0587a249d
711efc1e1da56ef0c9e096f8fa1ce47715dd49b9b76b2f13a686b32e55dbc4a1
c375218c658607c40d27593ec75b83f937b361a3d8634557e1772abe32723aee
efadaea55ac283c60f2092e9510c02aece8c9447830f0a648fe1afb2aa008815
55cb02490acbbd34eebdbe05b5db90972c6c870d7c8bd18b2528d4ed2140a9dc
adc70cf28f04e0412b98705c457efb2001c1929494c1248c2237b51fac5073ab
b82ed4a17349aaddb6298ec2152538f8ebf89642c222eb5bd8ba52fa0aa6c295
87b39a9b72a892ce0825ca039b7b34c901ee48a0b8206fa6e64d5caefe182888
1409390f3ab8b3340ed1497fe38033f936fb35fcb99502f626d0da34a4bf6261
c5bc5957acf8129ffde9ba0fb262ed7c2feddf88c97c1cc8bf49619ecce5dfff
da5517cd37c21ec73d423a3b4efffe2ee587eb6a1ae1e3f05d2f539d2debc2c7
7f4e51b28a6fe1164da52d0efa16f30db29f92a27f4babc09434b0cb6ca57074
bb770426c776fc076655049c60f24b6e0dc797b04412172739b540e907058496
34227eeb66f796aeb7b0c55b17fb9705fdfabca9329bf063143f8eb0b836d9c3
d07c357b09adee7477b27720b22ba2840dafce8b10f3909968863e08d5c70043
2094c7577c4e885f0c030d972947d2ccc3abcac9fcd2f927fc8541b567c8a35d
a35351f6a85807f90fd7c7a93978cd9d78e3c5bdd007d4f06974e457768b7177
ce41c104128925d1b03cd2897997686e1f18d79a53fa4f83a401f413526abcfa
9d12eec1c898e7f20f40134f6bffac186de015f39a3bf9e8bb3e6d3daca11af7
a678b187ac24ca1cabae53d064e5d748aa00a25ffbcb4c0b489449678561f1a9
61a1bc548da0e54f11b8bc5eb4440a2f62ca5a6d81e52f488c66588b87247c39
6522ed5a7524a265b9b8d94c3cd7883b1eb69ace23b4844c6fda2649c92beee2
98edaf17dc690403a8dc3666e0949a3c2737f5855a81f19fb241078a8ee044be
3e12ee986ee7e69d44253a3ad93cc3776d3b03700100bcda14c357037139bcd6
39845364164e805b9c9d4c1afa887419216842ac04cf9e0d9447cb0af0db0637
390e494377e4c315941ac2650581ed7aa10afb62f65ac7080b8a3a367d758643
6bf7e8172f6532e44799517db99c7d2db29c7653dee8990fee4ac8a4c9b4bf6e
6d838ccf9ad458445724d7daafbe5a119405e00fc3b83ef369b911471fad18d0
7f3a9254300fc2484014d7337d6a776063cc6eb18fbedd18b918b9c65ab6b0ab
25ecd571f6d36a210e7618f7a4b9080deebd0a23e4f67afaaea011d7f0106dc1
41cb40d4080284e96239ff4a994d70dacfa4666b80b2500303a6cb8eb704e952
474c20ee148f732663b53164990934013b3c2620a26d3e9d320c28f83f8f2de9
36996d67d9c5f8948f0fae1373c559bb60afbe571865c874a5eeba0a82383ac3
01310efee05f441f74f3d721bfdb24e94880fe450adf26689dedc31ee6483837
e4b4b6d6b97cd77c6f3395c863042c390b1fa36a2fe012e77dfd5f7e3ddedd15
"