void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=81.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
create_wrksrc=yes
do_extract() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'az "Azerbaijani"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn "Bengali"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'ca-valencia "Catalan (Valencian)"'
'cak "Kaqchikel"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'dsb "Lower Sorbian"'
'el "Greek"'
'en-CA "English (Canada)"'
'en-GB "English (British)"'
'en-US "English (US)"'
'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"'
'gn "Guarani"'
'gu-IN "Gujarati (India)"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'ia "Interlingua"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ka "Georgian"'
'kab "Kabyle"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mk "Macedonian"'
'mr "Marathi"'
'ms "Malay"'
'my "Burmese"'
'nb-NO "Norwegian (Bokmål)"'
'ne-NP "Nepali"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'oc "Occitan"'
'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"'
'tl "Tagalog"'
'tr "Turkish"'
'trs "Triqui"'
'uk "Ukrainian"'
'ur "Urdu"'
'uz "Uzbek"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
# XXX: Remove makedeps later, just for build ordering on the build servers
makedepends="firefox"
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}"
conflicts="firefox-esr-i18n-${_lang}>=0"
short_desc="Firefox $2 language pack"
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="8cd1ec10c010f401cbcc545a4aecbee3a273e0c3cbd1c4d308cfc75e869d0b3f
33c126896c1bc8e50ed86cd5fa03eef48a5e71853d9ceece13223c993f970bf4
a08e18211de6ea1abba60de04e081fd3eb240c3edd61778b8d7448a04a79acc6
31ebed5160d564ea30a9c114b0f27e58ef083cb7b5cd63f2a4c8f77c77ee7370
96bb69323a63f9723d6be61ce2de868c361295fc8c10c2e9b4fd3d9d6ede147f
3a9ea613060014b2b39d19897f8a8e7b1cb3b675991b9c7fce80f5bceed42563
bbcc984e37689cd11225006b007a6bb89aa071d3c543425c69cc008e8bf07a62
6421a0b4496549de3a2fcba9c2f6e87f3f1707b86d58142dbc49bb0ee165c5c6
ae15860d897127acc275b8478186ba39aae994f8887641a6d36cb8e9c7f976fe
981bab9f186276d3ead4aa97002e3d38436191bff5ab9d16e5d8ed9864b70ebb
9ab56eb86158b65713613559b5b851be84797f3d7d0fe47e026630eb3dcfac8e
c4b86cf8b51213f052f082a9ef4c5b2e97bfa4921091701e11ca6a08c6760067
f055732e1040b68dc5d683f220b317086e3c84f0a0e3c53b218a4cf03b1bdefe
d2b777bde43ae8e00d0c38930002da3d3b741df4898077995a1948ab0e3ff72d
2aa90d97937e5d5cce76bdcf0a1c0f960523322b9e24728d5fc110729d5161a2
0a096c6ab9c59d888e0319ef78cc88b0e15a15efc611a5e50619b09248f6fe78
b4052bfa80155ed2c145641f8976a625f7b246259f8f8b9b0593eadca6a91dff
6366cf93a898701e7d9af54f69c83932e35fa5921b6fe84f65a963532310b6f2
0c29a2837e6f887a15bbaccde102a7fa1ae6e10d47233d655eb9de352c06cd24
073e40b3a2116b8328d5bd683694ea98b1e4788a97615f0a09a4c049bdf9a462
af15c5c4161ccc1544791ad314b81f3bf05ec9703206e510e8a5e0ef4a6d1bdf
8be90b289a23a96e8522dc8303e340c9add5f362b48dcfa0f04140e28b58941b
055e64549418e96faf944a81f95f8159fb8ea9b64107da7a0b99e5a3ceb94185
45340dc5713f1f1f42b472c46db86c8e09061feb7ff71bfe7fe0fa32995940dc
961717a798dd9e51b5964f3e29eb0fab5a9a9fd21c3d0b4f0a29d3b1e356d262
6b9a9af617cb8f2f55bbde97e7b6b7d06c71a74e290ed63933437fbc99ee7959
b9913c103ccd7da242238385682f3c3fc34b3a1933be071699d510b3045f14c2
24822be55f007e2bff54321ff83af0f6067fb45a581b9b03c0666968a5679413
0f735ed1e92c2b7ebecc2c8cb6830bc194defe1d714aae65f54a4338c1a9b7d1
41949ef100f70c8e37f1faeb91217cfb58823e2edf67d2d58abdd97987d4b55e
7cca22d721f79e7ec4f6fb468d9cb9ca4a870df9f2b516c9001a86340052a571
813005560de27e4fee3c54c66211fa5512b012bcdc53080debd43ec17c2f7f4b
7a3ab873d051d334ef572b0160faed720a6d3c3cebd9c3b0160d2ee2a80f243a
cfbd8b7618a6347139d67a15d8d31adada2cf061b21e96785648c3d8ed6803c1
4c2b56634f712a0487ddf2e1834367722ebf3620ade565bb52e41630d27e872a
bb6a6e19d114c27679745b45b2057ad9f84ec9e442ab9c1a533afd8037dc943a
c391ac18679b5b5f14883369667c8310a9b601dedd0e703c7cf9ce857fe0105e
28467fc5ec192649b93002bba774e24ea704008d1fb4b636e4d05fb5f2bb0492
8ffd4a89437afe6dde0aec2e5d653d6492fc51e18db0e2983327e9404bffe0e6
a25ebd0138cc9c05d9fbd4ac099212147e8a8161e848f2231e5280e83c9d0a9a
4a52653cd58afb1257acfc3a48a4d65e7626c7392fbbddf903351c3cba266e5a
becabb1392b0bd2f5d307b1822e1f1800fd34a97c9d8d46c51c88a5aede4c5b7
92a35dc366eeedf988ef3bb21ae57d581e9b5d44f27622fe2c00b0fb5b338f21
bbcd2b550b076bb20d60acbd46ab093a6f6b0cff6629d563e58074402f91cbf7
42650c472f57f538d762dc451ebfa280733d24ef15e48ab33b98cfd6b49f6e4b
73401b18b6a011d3ab197612b9ae9b225e64bd5de6d73d389042417a1f6a8b3b
582bce11f08c153b00dfa442c7e1262c7a44459998f748ad2654f43dfa758924
6914e5889aaee8136ed38f71d64de70eb3a8b1ebfc66843743712919819a5b8e
d56c03e8fab33a60a3577981212f50f35187b1a155726b08c842f1304968ccd9
6374dcffe15f4e622ec04ae210bad5f9ef7ba6f31a83c19c67d73e4b22146d2e
4d555f87c63a85aee00c7abff4b612594efa08bd12e11f44fdf93b6c92db8014
7f48ceb0c2be106f24eacccb6a73aebc981e58e3354bcbcba62211372f821798
699ed751c0dd0860e2f8ecc4deeccd67e72fe3f38d2792df263d6a4dd2bbeb80
df4bd88fe5d2a0134096b32085aa28b9adab5156401be26be87563c86e3f479d
6da81cc9d2c6489b506d624505ffb710823df241d789cb9f400e0bced64b0729
d28c82de09597b3edcaaa7cf570498f6d14765dccdf3e46b5bb80eada5aafc19
33538e7fe8ed91c7841d7ed1ef9e80cd7b4e10ddc4e43a4cd48c05172d8cf05e
d8b1a0d449d26681a86b95da6f14c5ee97bd3dc3c6a38e1120aa2d0399751281
78d78ccc4c203fff8997ac098ba66855fb886d471ff7fc094c4700e6cf7cac58
8024d7198591364cfeed2c5f3c4d19a2e2c0cfc8e303231b762c68aef384c083
bab2f9f09951233861cff944968aae9fbd1beb6eda0dd9af9b7cda3b637b7477
cd8fb6ed6384844d64fa35668cd3b8332ccc3517641b82cddf2faccaca71dfdd
02dc855f73f8e06a8290a8aadf982f7755be9890b94acbcd3a0443ab35b08363
70f03541396049f422d704d7baac6c718ba2f9a072cc58aa54e03895a6726ef3
299b4a8073c1890532143a988241f3f2dc54724ead2d1a897947cf33f9894503
80ab0051ad76bf9140f25688495d501e58746c3bda2744918e7cd426cc6173b6
99619222193cc439ead7da1e29e9f1985b8c736111f97656fc48c5b5799d1314
da06b557d83919d63cc04bd7499816f92ec90b20dc72eff3608c28b5640154bb
06f9b5c8193ba162a08049de2c1b1bd519637d3319e7a9109b3c52eecc7e081f
4952173648da0bf21b46261ce92414131d0219da3296109837f7cf5761f6376d
b0b658dc284ee87fdf5cdfafbf452f4d32e128e10fe2ccd882e8ad332a31a635
7e475c281f72ecd08d9b2d7bae4ffef7b8a043270b8209c5e60d4a690b0e5b45
39d2a7966a51c01e69f44c234a95c018b898747c0277de9910d8ee008264456e
fc1c503358db1c3d322a07208c11a7eaed5a31206a464c22c6db70fceaa8c85e
c761c5cced293bd69b6ff63808b539fc25a5bb4b0d53cdfeb0a8a18bcaaa74dd
900169659f961af0da67352767ce49e82733bb5ae0e3c90a441c44121cb97132
3df66c076095ca605ce7ed0de5ddd3f87773a7c5ac9c4b7a1f533be0bfe65b81
a333093cd61986964ab2aa6a7043baf13b25f23ff1bb5ea7f5356fc5a44fe766
4f0e05dd19c77fcc2f2851adeb8b95459949304d49c6d61b49b21e8f2e1b3601
df7c0a1f96956c91eb71cfce34c8e2cb8eca884e439b67151662c4bf5b720b8b
564c6cd5268c139b8177aa4285545b89e29c5824cd9f8133a8ac817722ce1fb0
c626d685e3b94a23473f9120a987ede07bc76792ac72e3237cacc5c872f6d047
2083d1eebac1d2e633bea3cac6fea45b7da947e0793c5c08a1e0d61ec5265690
71e5912d6ac786ce3650f5660659e03607ba36bd3665a58a5b0b1aa673d36fe2
33081e58567f763b0b0f3547014f8ddfd21bebe75ba0672e3125063f9bdcc752
52616af00a975a9e126f630951d21c2428ea3e19f3a82934a06c856e63b54d0a
1f0bbd532c1a1ddc0bd0e10cac333567090b6b9d436dfc888da1369251530b65
37140fbf24909a0482fc95431f08030c05e635fcb43f1f5e06a3f2e3d902ba09
de4982c4a68c0c45af6c8f7f5131772e533f84060bf79b3614d5afe8980c3897
0331670a315dcc62b859f4d925d5642f9f743301a12fe104c33c4496748fe05a
899c685f33b802e5f710d2f9b8b8e92c8a20f78f816b9ee4d52f4444502a7e16
846d6484aba65a5c0eb0f6045b249a9c24734f7ef2cf368237ea2650a1bdee50
36bed710479555dc42f708e867da504e0596fdee4e6ec758e83a91dfc312abde
bfc00b0587119b93d509443761d6471bc4f1ee600bca440514723809823cb716
d9c2e99e32d57859a7002e819f5eed931a99c3b4eb9eb9eb8309e6fb135eecf6
60f305507471c51c704807a202922c956b57f3019dba4dab4b8043e1c36dc5f4"