void-packages/srcpkgs/thunderbird-i18n/template

175 lines
6.6 KiB
Bash

# Template file for 'thunderbird-i18n'
pkgname=thunderbird-i18n
version=115.9.0
revision=1
build_style=meta
short_desc="Thunderbird language packs"
maintainer="dataCobra <datacobra@thinkbot.de>"
license="MPL-2.0"
homepage="https://www.thunderbird.net/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'af "Afrikaans"'
'ar "Arabic"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'br "Breton"'
'ca "Catalan"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canadian)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'es-AR "Spanish (Argentina)"'
'es-ES "Spanish (Spain)"'
'es-MX "Spanish (Mexico)"'
'et "Estonian"'
'eu "Basque"'
'fi "Finnish"'
'fr "French"'
'fy-NL "Frisian"'
'ga-IE "Irish"'
'gd "Gaelic (Scotland)"'
'gl "Galician"'
'he "Hebrew"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'ko "Korean"'
'lt "Lithuanian"'
'lv "Latvian"'
'ms "Malay"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'pa-IN "Punjabi (India)"'
'pl "Polish"'
'pt-BR "Portuguese (Brazilian)"'
'pt-PT "Portuguese (Portugal)"'
'rm "Romansh"'
'ro "Romanian"'
'ru "Russian"'
'sk "Slovak"'
'sl "Slovenian"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'uz "Uzbek"'
'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-x86_64/xpi/${_locale}.xpi>${_locale}-${version}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="thunderbird>=${version}"
short_desc="Thunderbird $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}-${version}.xpi 644 \
usr/lib/thunderbird/extensions langpack-${_lang}@thunderbird.mozilla.org.xpi
}
}
checksum="e60676a571328c95cf810c56d0f1d8bd02e55b512db7b8b5b7b2b2420e28ee4c
009c8bbd67076dc5dc5c2e61ab19fc65db763fd1e7bff0cf11eca92d369c4bec
909374d6c8d5b6222bfacb106f7fab1fdc59a5a508449a4a3905fd1b58006c1f
9bedcf928b1c4210b6160a65f4a9ca2a821f39893bda44337b3cf757d41bbf56
1c59c244042449d2a004af77b089bb3e2a519fd8cc881bba9aa47e1fafdef139
03fe26f9fe678340e1623e0f2498afd3889e5f4e2c92e9d36c237296ccda4783
6cb4ad34e9c115cbe4f199cbbdb707a36590805c18c0dfdecbdf37aceeaad150
23480eac1713d35dce319ce19515ca425be91c4d1e89276ab052c272460ceca3
8252bb76d9dc8eba53816b20139f9287a42b16aaf31361caf64277f21363d799
e6065552e07d0f3df56fe221ed07e03a70cba1be0eb76f22ae69c2b8aa1ab655
6e495241ca7fca9f0a96d1772628875e36a352fb23bf8af9fc2f4312a8ae6730
e5916c615cd02c1a3aa52d103d5ba6086cb04deee7083092ac46fd887e2d02db
f0c29ea3974f88d66820874a7c88eef3e5736f62f901deaecdbe5f800b365fb4
87ad4d8146dc6437f34d1d19c7caaa3629165cec2911bf33a5a182f2c745b3a5
ef69f2fff5aaf13462f416fb24e16b0d60d424efec6c657698fdaaac8aaed061
512e6ae919c3ee954e64a4bdaf5c4094242754c01c049d604983feff66c5b863
a3462207c9dbf1e9aedb0bdd8e59734cf9b769b1668ef2392300aafb1efef3f9
fb5f74570e120300a2baa57c987d1319281b500cb6f142246588469d98fe6475
267a5fd8cdb5637400763f4454c8e7df0501e0b9ebdeddf36fb5960822128274
167a3ac5d200044ed41a9cc9e73b47934b135b648076223f465653b907ccf7db
470e6a3bcadc7060da869c8348abb39602cd18bf193ce5694c8c6e7d0e60adcb
8816204aed5092f52a154c88c8c8a30e31ff057d6c802536e586d50c35367cc4
51c325cd0b196c413bea88a9c434e42018318d442cf9e5e6d252be9859f3c4d9
9490caaa4d94674f3094cc72868313dae62b3e05bf0690c94b408647f38cc0fc
f92402a14f0bd987ee4b16e7c836cf9ea3a043012569d4da56a9ce954a48e42e
af726bb6ef52e383a0181617fe652108c06b6a31d02436cbd5db5916d3600d75
ba1f6cd209cc0f921afd42aa36d9f9e0ba43dc338b2fa39d99db07e0974f4ed3
df0bc08d5c49216bb67e9c6e491af805941cb269831949d7c04a315e86ecd809
afe035f1172c106fe14b8266770490cce5664ef13c8bdb1aacfb1f79f8254834
6c30eef9c770592edb3783a1a012ebfc12ae59f90772882d294f9eb0686f3486
9891c68b2ae9bc6ed6ffdfd670cb1bd987bd6a699c3c940f4acd93672bc2db7a
fa4f0ff6d9a93c9397cb2a147f0fea5aef355e2d77346dab5e86abffe259aa41
7579a511d283986081d027aa369e4828e9e9b9a5461a2bc1f5dac372912ff53a
f874ca8e3d5c82a648549ba96b02bd5b7e8ac0006be24d5520ec3d7b0c1f6880
dd0de1eae853fffd0aeeab781dfeb9b7aace698730582e7ee04515b7535942c8
bbb2c059da2de39573c718424e55447797859b2d918d18c73b79c59e6aa5d158
34cb9134c632b24ada83394ec79f55a34d2924adc5761aeb7daabeb3ae230044
dc52b7cebd0bd748c5a9833b7a05b59d80c142254121d758f47977309b845ffe
340f7ec1cf36421b657d806eb65438d6d68e0e3e54d4aea6ee1f1b93a04b0a66
0f7998dca038090c72e0a19f34a52336796c79d22f7d5f3f58a934c6b41565a8
e2229800533adb6c8cbdc41c5e19789d09c17f74def7bc79b73cb0905b60945a
d07fdb0658a716fbcd4d4b827a179fd18585472f2c768e9b6cbf262796a899a8
b469f05b62e2e994538dbeea8d43abaf2ea90687b4c75499d419148bab99c131
bb9f132c4123ad43a68a211de26bc744a9e030067c69e28a2433a4ed406cc8c5
88e21fec82aaf3e6d4d1cd7ac413b87a411c524a052da71a8f65d6b8aabd43cb
7f78672185e78969966263403efb7353ec531cdf55938bc9779675828ce5a579
c376a361349bf75a30e0817423e409a94ee68280a8217d316bf2bf10bb9f6cab
abdf6bde9ab2b5f407d9c8c267454929ae252027e11f8fae9864fa43b45bbe72
c8a94f8c21611bd0db50a6e95dd87271a025b04665d93236dd91bae4528a9552
babe409224ac14735446b88281fa5ccad218a818bdfd200d4cebc8a7f757f6b1
42df6739087c690cc615690c5904a239359c86e3848881f654a6448fc52d0d1f
1c5cf936f93fd0a2fce85f40c1635b7e8a31f665eb93b466ace8609c0a191d5c
c265fe5bde9205586c245353abc3c47ea5c6c47cc1c7086585876c41ae5a92d6
d09b00187f1b09dc0167d7badf825b65e45af9a88dbe78245c8bb8fc5b86172c
b994d176925ac5bff0c434f6ad63ddc04a39f133ceaef01b16aa30768aaadd4d
8028e65be3b8fa98d80e2b255bca41ed56944a8ad698e99d2705e5028746f852
126aa78ac928b941b9d8b2981c7d6bb6cdbb3042852da9ed9c6bd3e3b3d3b397
7e068c298aba929979d3cc04d2f9d8f551349057d7cfa2414f5f02c13353ac97
9945b4e32ba088c241e58f9a2ec72e3cff38a6d7d0656ebeffca21f3a750a5e6
51dcc5db720c5e78be1c963302be0de0284ee1531d4ea213eef927b70baaff36
e2a4281cd53e2cf450f15413fc4bc8a32069542e1a139f32c371405402bf942f
5a916de30eb0a1c09eaec8d3381b52b0cf5ff2ab517430ca47a928b5c3a10613
b20747ac94a452ed09aabdacd30cbb119288cf8fbf9e4d1b4b59be12ea990382
fa975646a083fab03ac42dc2db3cec6a4d7c196f38209ae76962c593da4ca340
2608d6b0301f417e7e9d18bc46c905fa3eef0a228bed517b89a325dcf1be33f8
c61bcb56b66ff076b2ee92a030d949d745f404c7af0a26d489cd8b905ab0c165"