void-packages/srcpkgs/firefox-i18n/template

217 lines
8.0 KiB
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=32.0.3
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_languages=(
'ach "Acholi"'
'af "Afrikaans"'
'an "Aragonese"'
'ar "Arabic"'
'ast "Asturian"'
'as "Assamese"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'csb "Kashubian"'
'cs "Czech"'
'cy "Welsh"'
'da "Danish"'
'de "German"'
'el "Greek"'
'en-GB "English (British)"'
'en-US "English (US)"'
'en-ZA "English (South African)"'
'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"'
'gu-IN "Gujarati"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'kk "Kazakh"'
'km "Khmer"'
'kn "Kannada"'
'ko "Korean"'
'lij "Ligurian"'
'lt "Lithuanian"'
'lv "Latvian"'
'mai "Maithili"'
'mk "Macedonian"'
'ml "Malayalam"'
'mr "Marathi"'
'nb-NO "Norwegian (Bokmål)"'
'nl "Dutch"'
'nn-NO "Norwegian (Nynorsk)"'
'or "Oriya"'
'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"'
'sq "Albanian"'
'sr "Serbian"'
'sv-SE "Swedish"'
'ta "Tamil"'
'te "Telugu"'
'th "Thai"'
'tr "Turkish"'
'uk "Ukrainian"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
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}"
short_desc="Firefox $2 language pack"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
}
}
checksum="
6a799e37c40839ec811fb4c98b04e62c1e0dfb6ff2d9c24d726614ca21108c40
b9f61c11d8e0423a3fadc5495f8473a5c9aa91843d2243921fd39da2d3ed03a1
c6de3bfcafcd9d14f47a361cfc8cf096f00ed89fe61e77caf7b97064bfb5e81c
9d523839755d51c02e124c3cd019dce435c0627e9aef91e0f97a0032f5e140e4
0baf73ed3bbf9b286da70a5d2d51a3eb397f77efb702c6f27b3b3c89318e2579
75377422097f79e712815499656edda109f92a1e8b7fdc1a194e5186874767c8
ef1e2efeb90dce6f70c32cf8ce2bcd8822864fa2b31b953610e4376529817fe9
f7fa78a76a4a899bafbec016f45a63877be5b5ecbb2797dadaaf3c5a9aa9a63e
fe4d84d02b3a58bdec1ef51369c3f4142debd9eee1426217795985933fba2155
96b5ec704ad70ea51512b0d62f7dca5da0745ee2861aeadf444152bf3d03b6c9
c29a949880dc2580847d984b9a59d3287055805894854d308ae14a2515ffcee4
d60933364184c7120957323795e5dfa91ede4b9bd8a1c2aceee53605dbce86c6
4a89defb2d3aac88a866dccaedacf83d0a01bc221d78bbad992359c20f5389aa
dc8fa2099740c479a995aff199264355feadad80567ac0772cb7660cd4f08c05
0de57e2e2f1bb6670ffbbc518b0c7882c9e8ad812d83386d4d3e86f3c3730877
dd4f42808e784be4c091072f52b0315362c8f6ffc93819d502a78f32c0a6480d
c64d23f78ed58fc91d10c5bdcb040bcbb2c659df36f3db3cadf0084235640c3a
a51ce41651947d894eb7255e273422dff6015654f8771c9fe56036ea2051ec96
f21981b92428149c98f898575256649268ca166a035e8b8b4b02adcf2078fd2e
769bead0520c98c5a4b5ea5d00a81d3fcfccbfc1de5a7764be114df46ed3b661
2810a1aea1c5cc5b6cdb43e51255c0f392c73572f382f613d38af42029430479
c237d84266bcc9badf30ece29eba71cc622d38a9de37da3edb182b895502c92e
adce3f176c3edc6899ebbb2d39e7a74a3de09cc34708f58b5958dfa78876de82
e4fd278a55837782f63f6e0048eeda2f59748b63118886c6bcabe453ca17e6d5
681badfa9b4741a23b086aeb2479b560bc12ca1032ca158260d04a6b21a8aa32
90e0017d72777ab5c58c3f124464e6f99d1fdb3b15a0a805275309d5a493eef7
a28a495f9066de957961ea4228a05afdd4405a62175381375b1aee27b8b71437
4f30fc0218e9a0ab7b2772de3a4ae8ffe57261ede46fef27cce39b93e11af85e
1d982f0de9d8a682ab5def442e0dd7180b87091d8c19e477cefe3b1ff62b74b0
e5aacc3390adcf346bf86a2f4692b8ed6b196c2079d0b0c855aca9200d7a6a97
6d748132061a4dec880e0924ded7129d54a84521d22f127461b9416bb9d2ddfd
a9c0160129cf0e3e8d7b6129bca124c9043532c841eed262866c47d42a85b649
fe3003bceda3384ee3331b48a21087b598e7320f45757921dcc5621400d92f82
2238d2d717e0df4c41ca1d473bdb92154db9a11498579597ee05a1566edb1b5a
80033231d68571d848a2a153a1f370333196965867a0ff1973cf9275648cd46e
01c26cc356e8fc1c17633aa7c736a8ffa1c2abb7d98efbf2e39025b51d171377
a116a91ea35487b2a5becb286034737ecc5798c927dfb5e00f70bc3d3e0cfa64
724cc2e7cd568e34d98330475d4e6880cac3fb37d7211b65a333e98a41c68134
e6687282cd5f62301bb00c76d703168387cc8ab7489ad6539d4e4c946bff50df
cf5dc58fbfcf05712c6700a6224bd85097cec506c7887b5107ba35d271c5f5e6
c20ecd12f5848bc73b028b166a9fd8d6492343abee155ce9585107f483d77a22
71269f1fcc174073729d69889fdcc591c20aece7f76393492434a5ba936e5775
ea44cd38b0960fc1aa6d9748cccbcc851d663b3657581b173657cf8681923f6b
12fcad7afc4c87093e97c4da42183f13935a230bf7dac3fdd8403a23083eab0c
33e5533a156009debf0f59c9367b771c212de11f522f232549fd2038a472af99
713832222a9962cf38f113e00dcd1674234244664a6edc35b99757015dff1953
8e68fb50bf725efc5faadfbe5fb9d75e47f833c2e827c52da64cd90ca76cd2a2
60aa0386d23a6298ccf41c7d322f1fa395c6d176579c6908d30550cdb32012ea
15229a3a79afa6460884c0fd75c10e700fc9bcc9e212a70165b73e5b321541e0
b14aa0056bc9b23e1fe3a56830e5269ed7112ddb2762edbce358337a52fb85c2
d144df6da0de7fd252ad4d98c75367338d124e5a92cded0d23ea7aa0251a98f9
8e15f1283ed31abb40006e521a6b2aa8c5e37539e8076e9210f3f0dca9cad2df
405c62dbfe23bf68662273979153a83cb03930734874357149e55dfe0e9824f7
22fe21b21733bcd2489bf985c706f86215d3cf2092971f57517b95d043cd8a73
d93fc065ef71700298548c227b5b07afc5de332529e1d383f0f83c30ba968a9e
d5b24aade5b5f941a8748394d30dd7815e5dedf78adb9ebb578b5f5c075ebd65
feca35ba06f7c443b89ceb9ed19ef41d95f09fbe9fa2336f0abf92fb867a8769
bce8286d41b61c03464547fcc3ec064ef432a473cc430727131723e605336505
dce65ecd03e0479c7a74586c4d27ad8ecb6468f2ea0e3e65f128ed27ff78a2dc
c4cefbdb23bc924585a0451fdd72f2b585a4d83c49be5afa22fc897a37c8866c
3274414e2f8c7c1d46cd78021de8ba531fffce50df336593e9c22a651c83723d
487e6412ca53437ca0f47c6a28c36b2665ccffdd2833e87665b674759cc1cf4c
49d555bf8529fa0673971a0194d35e3fd3c00db94408021dbcb5d8c08f227379
f29e440395e4d381eb437cc0c053993780c987feb4884d9660cf1845fc809fe4
dd8503916a9bac9c68484e6a635a331b8a09a71f8d4915693f656ee90848a232
4f9a861e7f7984faf182032bee3601c1fd32c6303b247e1669be8eeeeb0b45fa
dec662011401eabc64142832ef4ff126e6a5c6db4bdbf2333d83090992e8c812
74ee5b86a2dd02522b674f06f4e69886806f0ebdb997d7db4c2baf461ecf5db9
bf4aa46870626819689339e6192e3baf09ed3fadbfe435d45fbe09b0ccb93cd4
4b20e84b9a5419f100d3f90d9309824ae3595eb684e8e00b6c036bfaa7a3fa4d
efdd07464ec8de35a3c0edf70f7c1c16006c81341037d760b776eaa184f8c892
b533a07f9d3b3eb89ab4f68368eb6dbc9b3d2938d85f097ffba477605a6c032a
222e17ff93666c51935458043615c74597603272497b48b42f6533840244167f
c045ee40fd098d2598670bf76b9406c82d60663543309b0ceadda366c5bd8f20
a5fc43bd5b0b4dd236cb9517df76e303a33c43bb3cb1d44f21897d53c732b58e
5cd0cf04d7c5a72d24145dc8fc3827cb4322c3d9d6c81dacce089fb143bda396
55f78b101e90ca7a43870864053ecf83f09863228adf0322366592b4be49dfc3
3b5bf0678394a1596aeb7d242b7f87ed5be8bbf894941696eb16d3f1ace1ebd3
3583596aad04f5b2d582c0e8bd3dcd3a5fbd4e5c4dd693e344f42e756cb5bacf
60bd533ab3b0cae1a1484419ac62fb8764e2aa19fe3c04e64a092a9029c46203
75c295a829b109005032f892fb2a44259dd11c2c606dde7ac5d63f553b9b20d3
6df16f0a840d9565183ae0bdbebe6318d0e81cba7787023f4c4531f6591210c4
e8db4474106740c2f843532e83c101c95cca8a6a4574c7af5c7f93f6bfa7a8be
"