void-packages/srcpkgs/firefox-i18n/template

241 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=133.0
revision=1
build_style=meta
short_desc="Firefox language packs"
maintainer="Orphaned <orphan@voidlinux.org>"
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"'
'skr "Saraiki"'
'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="14cf389708a91123f862d197cfd44c31bb156d48d5cf7ee2f2aeb1b374fce241
e3c05adc3167d85330eb021e106155e381f013fc1b9708a666306bf032f9fd0a
92eb3118c20235d68315d4b2665f84eb655415ba6fa377d6d7a246eb56c70ab0
71f2322480793c0de7779f2536c06c3d4ef857c611943081cb92ac62d0ca7700
8fb6a1117c561cf3653b1ed418a0ccd0d07c31930b2213f816e7bbf456aa8d50
e521a354533b1306a1263d2f8e96c1f43d6e64b2436edbb1b7bbdb050dfc3f14
d91688535d66dfde3a671bb1878e854a399bc869b56dece9f01a5144c1f0093d
8ca6ee18ae92d36bced998ae72247b868335deddea0048cc8003b1f19c641b75
a7ece365254d86687a5d6f1a4c60646ccbc2adb2b9103f59af6d3fa468ee16c7
7abef21e93936127fa4a45e9a6db96e54f6bb63e79392a0a63d64546cd2ada3a
1d2000856340ee50cc85a391193a40c6cd2bc6c22889db6e970835e607a9a07e
00757d9107812ddfb0793fd70e7cc3622676746723213d3a9934113a6ef2b9ae
bc97f925b4440db0e74e818bdf420e6c9df92b6676fee7c57c93cbde61313ed3
88ce43bef9ee59d7a82f03c7fe47f2e54f4562de543c18ed4c7b832e0d493705
bc481e7edad2e5d9c8efdfa758a8a19e2b3e70172f58e87cacbd9209014710aa
5c93a04563be50c0420b7eb7a15fe00b5053592aacc730bef1586af3f2d8a5cd
5e2bc11ff4d76f56e210f637e34fe27e530d8b54dde5d47982fdbc871ed7dc74
c8cb593ad3962af6b42279641582f48d49c22afd859f19eac54ff714474e0284
224f7b32a1fae20306eda1329db2894b0af9575c77324637c3a49f34805df19f
aad50406ccf95e4d40b91099e98c835118c99aaae1689f4029c582a6d1fa8451
3ac48396786b48cf7487d83ef214053b864c5961a0fac4dd01ffbfb87924ae13
4ca1a741f47e2bb2f9847b85bc377917cf9655e25d9f30df732c87d89cd76390
3cb716f083d8c3c77d2827997778ec50c4c6697a46cb1aca67310ebaa27a76de
2df3dc141b0116685d28325576597c06f0d6a6ee7d5cd3a8db2f76a0cd8b3b9b
0c6e46938f662fb39bda85d68d9131f900aa062a0ab6250bd5c61c9f67000502
1359568a488fddb365e6eb806abc656ae409593208162538bc2fd2455d37205c
4044d065a186afd2c8e0cba5a55e5b79fd65bee9b50ba5f5916ada014c08b47c
2b9dc8a78b8ed1b61beaf529339937ed624ccd2b34944bcf0435f7017eb20922
7d643c2d7e748665be51ff78b37592a0aca7d4459076ee945a1fef607b68e7a1
0202ce469fc7f5259d637cdffb634577203511e4772f1772515a3d88345cbaed
a9354e70566cfb3e52ce357b6c9bad3e1797f28e33bfb8cf4eaa6e887e5ba470
5d33c1d527339438dfab52718094c1e918d242a9bc14bb21d963ee72f45673c0
4e3ebc7bf7ba326a4e0cbf5a65211d76755374ab46b382ba5bbc1b94fd8e216a
e29223f3244b9def4bb81a11bd312658e5fe57683b20f0f5eea303efa3e06623
e13371a28f5be57ad4ed29cc8f7bfe5807f4744a5d0296c14f82871c26e99f9d
52190104f9bfd34c44a73b8c8cfe64e8b2753117be5629ea02e7958ca229a3ed
d52ed4c6f9011ebc213d06f1b5759b56f26b3832ccc05c5b4c582bcf41ebbcf1
b7f0676603c0e89ac6b3b0fc31e8ee14324a627b9f3b3c25d3a965d9d86dbee4
0655c39d56b52f395b41511d30e06596fb9c29f47cdd9126b8b177d60a8b1f79
5eb29d6dcc2976976530bb74dc5ab937b0c167521c30c204993799691c2c96b6
8a0a89153d4522718cdf43396dc81b1953c0b6dc3f997dc8408c84a687ee8a10
9ba1b6a3bb977aba8898e400edb225f6510e611649906ccddd2263be54d6fae1
47f6a66a1838189464b5fa4ba7652d7eab6204898ccf4ed50efe49f18f7c9005
c115f863270aa77b1ec71bfe3a8067f569ef1950e6612100b84391e5a0b27c26
eb5c5cc5751feb274b7385ef1fb79db871d72e099ed171538dceae2565372243
0f0ce8cfce02daf457d29a93000185218318ab43453791e30571f8fd1481ce2e
fc0e12fa91df76f7f1e5873db4144790edb96dfa699af5f565d7970203183503
a0246bf4c4f228c00319d1802934f8e68136024951b43524fb6f345253d9c466
68d8dbdd1bda2ec7842cdb729a11e3f8666713d1e8b04c4d7a37269b495b8b8f
cca30798ae0fa6c9f4351a1daea57cfd589a769a6970be40f8606fc82ff6e00b
643f5e08d9b64160f883e349b1975c2ac73c1ba5bde76ba8f438745d730872ac
dcac3042234987fcced7afce7eb85f8fb8081bdc7bc92eb769e62ae9c5c8784d
809a9aa5f12105a489700694d78a7db6bb0f4290543c0af8fbae63e2d92aefe4
10b0ca0f478f844e9a6229a771c1d480cd45bc0cb69a665ccc41a565daf668e9
7deb024d0705827c205074f428b3c03f23316a8de30c6349620799bbd250ec29
5d1409b980e2ded7369a156b7c0b91ed5efdf66cca0d2872982e2cbdd8a8be26
539d7b1bccdac2ca583bbbe0490185235e8ec835af5f83722d73618b7da74b0f
3e1cd654144fca33f5435a96c2926d0775ab8888835107c71b99f882e0c94ec7
700b33fa27fa90b10fa8c8ecbd5feebaab960dbbc3a02a2ee230f1ce96cb7009
b0eb92fc3bd8977d47dfc246411b7a997974defc090b3a4c1016cf94e1d25fee
fe67496dc823b582ea0c0a547a47c810e680cea201686b0eed11274c017c021b
71f6b7879ddaa703906241fcdfb128ba5757b604f4a5fd0bab53c2d0507a6f76
de502c7961e4e93847276211d26e747e238ec2ff77d3418e74914052142b27b8
9cfb6e70aeef131f4ae50cc2f8d2075ef2db79533eabe0caac760e094a814f61
59f078aff5f87e6ee3f20ce3e090339b4939ef6d48135fc3b66d57f35eb01a8a
a3f97513f809705cbe295adfccc930a991364d4aaa86cb97cb15dae60c6ea03e
0394bfc00e6d1e9c2411417823138025bfcd9e3e5457cc1337b4c6ce3b2937b9
4a244776d8268373d77298659fc37a5cdcb34953415b6e228f139fd5b0950211
9e2476c23e1e0358b20304d04898cbf508e5659347490e7b32aad4a57a9f9254
6ee2e9cb3b7a30175309cf4cc1bfb6c3ad6bd567d2e5ed27fb6c0b95bac954c0
006ab901a085f11384caef92da4f82b1c2aa5b147b2dc331bed4fcdf708056bc
f02575d0a8cc71297ae8aa73685f405fb1425176c3b48a24b86dc149bf8b663a
382b7a361ab21fa316f8f88a429fcd93b95310e991cad4a762dbb96cccad0cf2
5216f89729b64c17f47a05c37e15d62cec55816b407024e6545b3a37ebe11a1c
69d2d513c012c6738d470b712169c821db1410bef5a8b19c503d630bec996a0f
c7cf2da2220bf4e5799941a9ce0683f50e0c4b9946f52eaa68a6f7aea459d93d
a1b8d93d1e543198a8343f483b11833d8385b4c38d6fa033b9c576d166211d24
65b41fc17bbcb6b8cc2e77f0a4585a9d8e3cb086bee182bac4218c02060fd84a
b5ad29fc1bad0daa8bf9da97d9d78add5603e5f26c43e9ef6cbf35cdced7b5c6
8ea4d80232f7b5330bbb7dd10c3296b842ea8b3e6e10891f0eab29eb8af20fd7
1f8d8d7478fce55b601c682d97f682612519318703ba3059bf9b6693d7e863d4
fb3a32fa8d495ed0c2c4b4714750fd62d9a786eee839548ef80e9f4dfec26db4
df783e634a2db7f2850003ec78168dbbcea9f17802989e867f2153538e98aad9
ffdcd35c90d0711b6f5cc51ace4ac62414cc08ff6a2981d093973ac1b7326cad
883ecd146785b7491cfb41dde53208c32c7c4f50c22ab0342b81c21820727baa
f0a5a9c8bdf4a356eb6ecc62fac17d511c1678d3acb3b27721db57c800b7d376
99d6e93111ac12229b7d6cf212e3fd2186080bd7b9b907b00d0988b749aadc57
10e391da541bc2d095cffca9fdd8831f87bbfc378e48c4a1e194a71b2528c83c
b198cf75713766c43929289a0e6a8366853fbee6283a6f6a4780f2ca228479ae
a25037275783fa8b1857900fd0ae46b565b14da28bd7db8a97278340fc4e5ad1
89261fc9628e5dbc6ad4688e8ad37fd3d69b27f4fa04deacef6b5f1871947845
d6734eb6e954e10c6d40aa8f7b3c9554ff372f03504938a3b30b174d1ccb40ae
a3f9ca46af71eb54e4775e34ed2fa9aacab63128fdd9317ae8b873072098775b
294344d981092a9eee0278e8d6e6fe8439e37d9659d5c6f1add915faab20aad9
0710043c0c3f2d5f5d1b39423b1a2e1d79db70a97179ea87bcf1618d8e99baff
0ac9b1e3ab7cd70e6feff0a3669caec13c529ac0d4b169bf7948b6cb31cf78c2
606bb5da5ee4b4a35f191dbd5c63727fc6fa39108c22362ea12f9ec646e7445b"