void-packages/srcpkgs/firefox-i18n/template

239 lines
9.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=81.0.2
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="604aa5451e258e79cd757543a99e1354cb6be6c53419d7e1e89ea48e13482393
1051a08c9d5709e40f1f4a7b4701c1437aa4e39bbfbfa0972aa6b8fb17c53c03
0bd430da77d9d323dae35ba9832f0cf626cf292536c0e7590dd4ed2c9b6ae253
2ff2eeb3dc888b5cba7779849050fe684038c7dd9793dd80d475bc1713b6dffd
9fe4c1a1b3de982adccdf236e643e242db2cef468a06e323ca4de76f13280ff2
03320db030a298d8dfa22032c991f87b6704fa297caf38c627532346057453ec
feb2f8d65fd434a16a78f485423172b48839f9d1330e3d41111e933b54cbe8af
0ec565e217543ae9299473718892cfd3dd4ed81832e80ba8ccb876db27a2c2fe
ce24295751e749dc01468a01f2dbe1b3e6dc1bea3e54d6cdff86bf5a551d0606
d134bdd3ae99890f927e795a06e4d54970d6d15d3b1bee81fa239834f2631c8b
c1f7ebdce0e73977b0bf36e89e0bbbc057bacf018e84595a5c608c08b7c5af6b
11d3cdadab2f3fa4659e88e3b963a9e3aa2a8705b15b43aec2de0a1c389fd7fc
922de30c33b67c787d519b7f9c92fbc2fb23156b1ba9b6ccdef9be9527c6a523
c03061ddf48dc4c89dd17917dd16a11b049a21058578c1275553923484542484
cd11e2b4bbf67ca7342641380eab80b4701e0fd8415b137db2c7554ae2975592
98437050791292507e46809183eb3f3c1e95c2fbf38d664b6bd5126d677096bc
946493acbef2ecfcb18da46f3385b3e6ef87aa352c248e4a8991edcf7d6f46dc
c68bacfb0755360a8ed84474bcaa9fd91449558d9b790167ea589970369c3bc1
e8d8c1ae148c4cfa285e62968f3c608611c15819cc93fdfddffa5be29c20520e
327d3605092f4bd00c0d2f69472e98ae5a1da9dbcbd85b31ead7de08b6c6f2b2
70969db6ff80f6efccfaa3b5c57988268d92bdcd55a9ce140a8562c4b6c9351a
97c05cbda075f1d618d60076706fc06342c13923f9f877ef2b3f5f89822801ed
3adeea323e81c7580bb45c291d39b94b345362402b9322eb1fdf07e217b4787e
262845b9a68d5a02e012973bc760a523524f43feb463451d9995228e9dc70393
3fb54cbf688f1e92971d30d9552c776a4fe11152de5a2a28f4a13bdcda0e04cd
bd265cb44f58cc9674038d064ab97ab4f58ca5bec558721780489c439896b02a
4ac8915bb7ea75f0ff0dc79c30f8f97da1e5e24e1b42bb7dcba615de67951704
136fc5a5629e30acd3bceb2992d19316319274c8d469719476b70d930c5a00ab
36b062a37d603d23dd206fadaf0c3d69c25c73f058c2d9bfdbaee2e3cdf453ad
47bf30bc53288d9b06aee041c4333082ebc47f7717df50efefa343166fa4be1b
bd4af27f62fd7530bcf2fc2d643e95da1faff941ccd791854f9d5ea0ab399199
6b3029586f01df71c4ac24534dc8c7f0e7ff1363084ecf8411f42d03ad8b369c
33003de372e123af11e9a638151a2b209236b968fbc937fde6048c98c27454d4
0663318af5b9f53831febcb0ec29d0e6c06bd8cc10f987199a74426ebd7d5999
4db5d6d77c40b29010ca17627d0b0a7a9d3516e5e5e5cbe1f50058c0ef2f1662
22a30fafb4682f72d776cdcc3e66405ad7ff80f56ee6b00e580523ba678523c8
532de501ebbf9c361ddb0d09a1c0f7c82921a5a3f2f3c241f1c0512dcab6962c
96b7685d5bb55acfde4e327c97aca4bf428e8f22d1daaba685471a6678b0a3e0
2a2c01b8ae6561daf38f85e30324fd4c91e9a374c3922e4b30cf33a16dc145d8
b06d4dd1d284e58a87370d95c3bf37c44a3ffec35e3c5170370c3648a25b305b
ee6355a647479daac3238076ccbdf00cd64ad602fbfccce0b04f53fb3fb1084a
d33fd5396da6fb088e6bc7f0be618c2bd3cecafdda89472a2449efce51913cfb
f1d0cc716336dbf97741da8aa56f80cafd01f2a2214eb5037c76d4c157810a35
bbcc2adf9e57cf279472c173766627b0f7e6ef08425d7f64cd5777db4f40bdbd
d0913e3343835e4f6bfaf7c6353b9b1cde380d7915633384e5d86c912da7ae45
a823ad58b57ac828b5e21d80b58a0484b4f12c99b7b36d5eaed47ccff8d1159e
db89f43db9c82b98a83eff4554f998fc7d5561a8148bcafebb023f9e14ef1aab
7c431f0e47bb3950fc872ac126018b14f7b20ff8dfbfa309d45f105e280637b0
b00f4dfc43b14d834681df38415c7dbf13f244ffece38460bf176b7bd75933b2
fe1f9a0018ae1542e993b7962a21a146fafaa941b5eb2df3e346365967e307a1
45ecf45822daf34ca903917b089ddbdd1da49bd987a5d37c551b6fb38b8b1ebe
61fc984be51defc98be9a02a1f89fe8f7286e3e77648a8cc8a5abedb5925c381
cebb89c6196b5233607b89c07e7e88bcdace37d5c7a2f821ed906c44c9a9b0f0
66579a867f1d2da22ff329b63f017d456c885bee15e2e5d3546bc5bde436d0de
deadd03702e7c08fca31a9d5f5bc5210876fffb95a6f4cac08d00cb938280439
1a3e45dbf4583a7d8c06eebeb92c89e735b16fd9a2c34724f83934b8ef3b027a
5a7bd40ef246636905b1f31952c84f7aa4579900e23af3ea2b1d34406598fff0
a1c2e0b4640453fb94395ada3af91e86c6d120c7e48914482694d6feb8c395b2
bbd50ae8d4c8c83df4f74a380d7d649da404bad3f7ed6ab969084d0451c93f1d
5c1da64216076a462838b12bddb4da219d30811b0701189a0e172bd77830b29f
c8cb2caac53f3686cd9ef92efa31efd928902a2eccc692b85fb85f8ba03d231d
b7d27c7520e0c7a343ff9c714cdb21c9f336d0192a78acba40fc7ae8f6be7e0f
a6f079645bb17d2b237cb835c6f547ef21e1a8cf1abcacb30ea906a81b9dfe3c
1d3dc376e47be71de62f7cd5f705b40d2a888c4e53b4f8d8b1f46a48767c3ca8
1214da045fc77d93d309379f792b29fdae6529ffa61cf2a119293db05b40e24a
b883c4b009a924f45fb9cdf7c25104d59fc75e09387f8eaa5facc8bbc870333c
44d1e6451f7f61b9250933bd5bc8c999234af933d28c3fd97c0805e52308dbcf
49a08cf10d1ba7d5485946f92442e12ce518cf1774a5066ef9bf8891fa297dc8
85bff6db7c89620bc453adcba0779a37b792c525b375868a5516fede5e40e712
d9907cd1f6f63c628b0595d51f2f7d82aaa9ae87ac17a871e3d9bedd0956b910
22fdc1e1f22a5ec149b7b131d590f1f2bee8406064fdc07d482e8809eb7bfb1b
b8f7ced54f430c18a11f1c0d344759cad4e6b936bb7a75928776f04c845a7569
fe91b696ca1ad9ae7d67f49624845a24c05199cc514b650076527697c3f79404
8fcb74a335757d3a71a1ce4f5ac56ec2d28accc6ff55912dcb39e2bd1d59ebc9
c452f6e2bc80710a9294297cb2f10e007e3b5ff7e23bde1d9f395b8f3401f163
0a002cadec157124f7e5281769da42e67d108b606e64cb3dfd24682d5633cb1f
247f57b419d6dcf2cdb463b871bc9798427b5a695118cd039245eae8aa25bf8a
9d10971faa0afbb1aa5d8702e04a6abcf777c4516102451c6f96ebfbd36d2d3d
296af22d2aa7da72a9e413dbfe99f267dc11f7d307b051d7165b0773362479b2
e5663b9db0b7081e3df775e8e299c79c6b6bf46801d7bc8ea2db97e06c1751ae
cade8ec32b8e3c14a462bee3d1074688537e9835762fa2d1e49c29a5b0602edc
b06a1487b4881ba91c923112994da35b68db8a77a63dcd51669f1d5d1f6f9b52
64de1f2fe797ca72fda1058fb3b33267910cf7890b4eefcd1e2c026b4bcdc211
58eba7c1b53bb988c72d7bb2c006c104957ba897ecf4658a387ae8e6a74ff462
e07ff12e0d7caba0f2918ec9ceab671b924b7c1793872871a8c7c4cafe48c2da
606f254c1b2344c776a3335a747614cc4c56548b019502b816dfcaafbdcc3a3d
87687e8a5db25e3c19fe9557cc8d5d832b2472507846d87e71cca27c63e9d268
9a340d62872f281d63cc0bc9523cda21afa50e24e162ef4603a1f5d5ae72f099
7f567daa00eeca8f60136d35a2d9bf7115df61f4053c6a687e485303a290dbd1
1f36aae53643600b0cb911ded167ab2bf3623d334a79e0a4cf5a967a684f6fb8
fc6f8d874ad0a4a307109e3d54a763aba158195f12e2e8291c73a4c4f1985641
5a3f512df7b59b9df8fe8bc58fdf1cf528c81afc4d284585df7dabc8053106ac
85bd9813ff26b800b2a316f58e3f7d23c215e564a3235d959db28f7e6f3bbc72
d9e66b9a6226a8056a47f9c475f03486311be4d47793826a2a434f06e6d1a062
f6f2d3f8573af9281084967c65178c9bbc2fff28b2b3c103f48960425585810d
891ba81c96b32cb099478c0f34ce2f10c1ddc7775ba4164be61bbedd2760d480"