void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=88.0.1
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="80d01a3af48f86e2f99d48b81933c813a6add751cbc3c17617cd9ac59aaa45d1
b0462a102fa42c5e20dffa371b47ca79112f9c0860f7ae222c1d1f4711c4f1f4
ad1bf82b2a6598f080f168ae00b878c524a326dbb80f2502d16a85e20f9084ed
8834060393326650c97dfff017fc3a5cd701aaa7e1ad10e364db1fc58b6058c9
0331fe783f787492229c31322bec6227d493a396efe40c629f259037e260a8bd
10f5b5791a17bfe2765a7af427622cebc462e52e6780c948aafdd4f511e53127
86713d2fe5b3071195db13c8ce4f7d69e88b4ad5897ec862ee9cde6a06f40654
dab99398f4a93110b9caf90b9f401919777de8ed942063110bfc57b2935a4bb8
65514a6ca8b2709a8a7fe530bc781075645fad548a91c760875016e59d6bedfd
eace7d76e3dd6d3a9cf61a2639342f8f9c6d16e5d9aa1e84a1897ea600662826
4b5ce0682e3292e1893a362998222bd8bd755a78be5135bccaee234e0d27be20
076dc03cda273eb92fb9b0efb18f1a7ec7ef1cc8e9a99629d3a1d258e1e08b3e
dc9b1a177df4d8a07bc3777b82273b7f52b927221a7c3ab30d81582343de8f23
58ef43f7f6a40d76013b9179a6b60a1d7be79083060c50dc775d0f934779dabb
f97091e3b7284388171a2d344aab7f022087c255d649ab49ce19bc702a7e5c6a
f4acefa54dc91d2ce335b82969db6632913c3fc899ece59110a0051b20f79c4b
8e07fbf79e539061fd3cfa8a7a19d5b7f1a8f30740e200451dac248b5d8ce36d
7cfe8a32374e862cf7de4cb9fc28077b625bea7be39e17aff08605036de4c64e
0a892932cbb536177457d081f56ca3c6e29b7f08bace67b858a2b3f392f64731
c0f0c3c079da499adb40815e6cda38a68c3d36c8e19d3d1eae705354d9b217a4
218afbcd896be8ab58d772e993c946fa6ba2310a688b97d25625c16ce207d9e9
dd5089f902c502954580e8cf4e9bdc3a08f8b9e7c6835b65a6e27eb6c6061ec1
d1246f60808b37e8fa51c19d62d8996953306a1f7ed83f151f7ac25380e999ca
a19d5f4d6c5d1d0b0f66b0ba9a16f11c22df4ae4d738eb942381e9d471c5ffd3
c074e370c6d95bfe6b1d5cbe93c5a868207e4a1b7587618060708ae95f5dc187
2e15a9d0066bc0d7bea7fb712a0195e3f15b488ed06d0dd8fb893527d4aa4107
8a505ee4bce3fa9d26ded1c09b401987aff02997dd2abf4cd220a4c10069c126
69d5a146ef8dd0581af03b034b495a695a9768c68fb9e3d68a2144db8b36be27
4be5b1cc3682961212f10a5c72e69e22ad818aacd35df5cda62001315ba9a169
157cf8160f537857dd6d617a096836e510b13aa58deba19867072409371547ca
890e4af479db68015dbf1f4761ce44ee6a659c3b667fabaf0b51ddab3930542b
7e182154ee64bf0926ac8549dd4d9c97a5e396262d4422fde5591b043e146195
708bf3f9f35d1caf5cebb76052bfca05dbb0279ea60e9562d22255fda755e0e7
7f1e28ac36aedaf889fe65123960dd076a6d2c800cf5c09f9d734e68a0c175bf
9694b7099a0e4b543992d431045beb421aab2931ba806bb5efc997c77e11c6a7
199599e9e9fe5feae34047d0ca761ccd2847c8475a38ab5685c4f1487cdf3c23
ec2f6edd10a39a8ac96e38bbf72f7dc2aae06d9e68b00316979b2a51e8fe8e3d
94c964b8526f64d4dd7fccc972eca6e33a5b9db7daef3b6dfcc9cd4911cb94a5
48ab4a86a1abdc9838102324b3bf5f4b406b68ad630bae215f0dd9b7b99cabe3
142b8f92096bd812da58aedc86111d76cd7a10fafa03aaaa4052f480235e6661
089a0533ccec66d0a451967521b7a3eff0db0b0f75589fe2b9045016702aee26
ef09d30d8d1e5714d04fc6dcb8b4348e46901f961d4ef65443bf124fd7cfb93d
629c16da6d5467c83fbbeb4511484629cb20babb3e067454c571830631768e8c
5bdfa6cb2d6032a112f076f098746bb08ed9d0b1a1bcfca515af39d17533170d
ccc164411ab79a0fca4f1968067d2c008acb3ee00f339f017e6c39aadef9334d
f99be63e67b9fcbd59a6e1fd8b8cbfddf9d9a4d1b412a701dd466f7eda9c00f2
aded4763b7a2cafa37d9a405ce40a4649f3967e36ace410c687cee975861f549
8ca5fbec8187088a600398b652c4491df75b7159a0371ec16c72a21ac6816cc8
c8c5c7e3cbb8da143218c1bfed836cf3d62e8a7ffa96af886251abe760066baa
5df0960a12955cd9acbd67eae0b1a111aa8d0c5c601bb14539c7aced81e59aae
5582003eb846eacfa350955a706f84b7133e3b5294270c809ffebe9035bcf8dd
b1daa0ccc0056e23556413b1fa3f92727df8a75bfed928c6d6d7835170727e07
818262c84ccc247ccd566980bd563f85b2f6f88d0cc38c9ffe5bd7d82127fb2e
9578eeb909233fdce99d0426bd4d2d5972b46fe63af62d8957ff6170fb9618a2
a5b21393bfab188c6f3ba647a376a0ad63a3ca33175f7d3b0e88a204be457f70
09916f7223ebe012deee3b503a690697db566c60a84366f117ed43b95ddb4873
61181ec9e6f4c2af894c58fd9c432f3fc56945f6a2c7a5cdf0b7a6d3e2098f15
645e40060948871010ca1b3f2b62dd9d72d50bdb3c0df52ab3300dbe11f0c267
911803ed44b73bf232b3a95e4bc636249df68dc3c6c5685b22d8e9a900ae873c
c05dd396d67b4c47e34dfa6afc8b7fc06a880001589fea1f46b5b1b660d1c5c9
a4f1b51752fc377146d4b5489f45380557bbf956f5075daa2a0ca337d7fa462a
33cfcf70fd3a20222648d89f8f1dfa101bd54dda1777bcd8adb77873c413af0b
0ed711860a7da0893ae6e9c93f6a01137b9f607dd2e41bdc1d4f7602a790a6d7
06a10157e2bc454947e8bc35f4d7add624528ee556114d9da7fb56ff7ca0628f
3d099078e99a658c194fefe063abb63a2dc1ef70ad10685509a0ed1213383e85
dc6cdaaf8f1a06645312a5127a1f533fb0bd289f41de2c559bd9a83db3cafba5
76c78c8d1246467f8680c9f8d2f108f0ca3a8eddf1cde2150b8ff5cefa4388aa
f791a1d8da8a1b4dec937660c9664679a04176a83fbbda63fda61d29d6752148
7ddf2d351962efd9fd2d13e53378a877dca2be8b610053fd9b13dafd74fe0280
c977cf8fbb47aaeb573f0fed95e67a9614115440fc4ce89736e9f83fba9e0dea
153e408653e06449bb4de584df31722ffefa30fca259074b879ef28bc6188ea5
5b25bfedb0a2986777960fdbf6553ff5da77f95d52ff3e7a8273fb59703e4229
b802a1bf47a83dc773de1f2b31fb04141838fefddf98a1f7980bb64e2ff487a9
aea7155b62595eb92438c5d6a59231eb19264c249427b913971bbac3746fa01e
b852a49e72182b513db59f6355b651c1f42b67ae2f8cbb0c5aefd9d2b605dc45
46e6caba0551b360a6e5cceb2f34e10265c7a2acd209b9f6423559cfa7162d2a
343b5eded13a9faf73071ab1a14f2d166cf086cb3d3ebd8b964a370e5fcd47cc
9ecf36f0398c8f58e46f96d943435e01ca64ff54860947968d6fb4047ee4f53a
a682cb0c8cc42a1ed0311a4c6695a11b5d8e9bfabaf819107527b642c05eab23
798f0bb6281dd56d5e0bf21f98a8a09dad386755ff7c3b1facb7b3f871233753
bd3e8383475e93da36683afb1a3cd81056d8ea8a76d95e35f048add52e8b76fc
6abf4ffbc9b945702a5acc95a3bc4f981401a38e1dfcc1bf49e3323008e48b4a
327f10df38fcff9e796db163e49a2aeab7ebfa1969a0201d985086526a8da07a
d5d2630d3068eba3a9842fa7d94ff5ddf5ce247ec1cfe0671186ef56b50704f6
db6dd5560e5d868f4b79a227305a270059adf4980086440df031703c8b3d4536
a3ffd854799a85fd1ef5e882c9d8d38dc892509f42b656ea52ed0bd53e85a490
e82e73e7f8b16b182bc0aa64648e02177093b65aa175e4388fd46f6727ef1038
35a8d5c2d2e576ec2f66faf137a1ee53daaa4ef8ff6bc0b13f5f77d0269c782a
1401f6935ee94a4487e8d64cb58f2ce0074e91297b18083877ff6e85bc32b2f1
76ab00d25a3131d90ba3a30927dab6e98d7c8ccd9c27b68e39228e62e3f53eb0
0de92fd6614bafcf3a8a8f88367537f40ca3fd4963c73046d237ef857ae265bf
3f47f20d655de331ee281d2f2e71f68a730e730be2eddcb6811ee2b3db9759e9
acc767c992a616c72306496611e1aa67cbd946dac8fba753c025788e8bf84947
986526dec3da5a96f218d53b398e8e45358b66ab03f0e4a76adc0179fb39aace
ae2e0644fa1f620418e1cce9561b0816575721326aaf13e232f47afa323f0686
6ee4c16de0a36febf3ca0f2d80ed3d3afab3d90d12cbbd8c7f531ff50f93025e"