void-packages/srcpkgs/firefox-i18n/template

217 lines
8.0 KiB
Plaintext

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=32.0.1
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"'
'as "Assamese"'
'ast "Asturian"'
'be "Belarusian"'
'bg "Bulgarian"'
'bn-BD "Bengali (Bangladesh)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'cs "Czech"'
'csb "Kashubian"'
'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="
50e61194022546eba2db9a1f8631679faf044374507f1aa0121c4e2d1e2b4662
3c94531329f8ced9795f9f65b97e0529286d228281b11dd0639fc16e10f316c0
61a13dc6b3d878ff70251edfbc592acef5679603e4739af1bcc3af6577f15b06
63f8572f9726e0c787337c33b95ef18324a62ab7ee2e4aef4e7edd8ec3c28f6d
eef0a7e8092931cad94ef8a2a357e65fd7452ebe80b8e8f596e531f6df698cb6
7d91782f0cee91d7435e168094b56fd507620c7f217d2885675f8b84b7dd0723
087cf2f64a30bf39b93470f437bf90dd79593d9fc6c1f6279c9902bb926e026d
3bccde1426d4a324a005fc6f2dc7135b633c447104f4646ac29cac91cddde277
7a0595abbacbef636ef709dd013bcbf12793c4c7ad682d0b2b4d328e637a63bd
b464e83fc43f72f204d8d1f39c86197d247125593590d22f631bd81b5b12c229
e038636245eb84f1ab67ac94f3f31d2f167fdb0b473aab479b6a0a25264380bd
bf937fdc664bf76a0b62f5b6d6667b3bccc362135856ce6dd2db4125fc950462
776bee4d97be6e407193678fd2dea26f1b9c2206eee386a79d04b7605d80dc5f
2370bf2d196bbec94e7bdf5fd9b849fe698bb457f6255e208a8b66584759ef16
56812445960c0ae613dc99a875effce82374cf6cde620951f9183b1396a38372
6ca2f3a717d6e65b4f522a1c1220cdcaeaa7f1a7cee8eb7ddbc4704a9be57865
88e9cc6d2ceaf7c93f751a19d1a4ed485017e2e76a07d7bde0373b16459bf986
b13eeb11897c34f82cfe091de915a6fd63afa355cbce6362977f55f169844332
a3edc4d5f7d2d9feb57ae49c5235cfa958f494a241b6600d35375f62f748c899
e72ca824ac4c7ab7ec78f6d232e42d8e982cc3913084d82f6ed4073c31b33fa7
667fd4193950aae96701ce655e0b1d93c9a63f752f8413e302c713a973acc445
a46a3f00c57f16a6824c62c1c4d59d80782e88931c5096cbb22d3850c32545fd
bdc7062987150c038c29e75679cc7f2ad5b093e744a6d66fdd058d9d4d76218e
54897a358fa0192a0ca064864e223da11e9010f71c4e7c4140cb8c8b86661ecb
bab78116611424f99235140367ed82c75f3f68bea7caf08d62625985561da1b1
ea12c3f2ed4b0dd878d4a072f6635d1d34ca78c76766da763718f7003b6982e1
b503964853b52cec8d87c845bb0231df5026530a0a81d5d7e1295dcf62ef32e9
fab90ce8c0d6d857daefeeb95000b7afd00217b68c3f71b3dca4a38b87292e93
9201227a8eb67d9e2638db0d1f59dcd2462bb9698d2dadb607a9c22de045fd0b
f933f6238970c68804527981f8aca5969b434e7fb5d723539fa73911a527e7c1
bad567c5f969ea334b22a70df6aab0ee227234766e8884d4c3a6852c183664b4
bd705cd47e970366a5b0dfa5414acb9bb1a550be96ea8ec3a003b7ddb343bc0a
0a5d1bcc121e31d2fdde277d3baa22ee88e6cd7b7e82c1a004efebe60ddcc3a2
99bc3a4c2148b9e43c0d0daeb96ebcc093d10884dfbfd6246cc427d0023b1f3a
4ac9390bd64952567cec08e506535c05808db6a4625c07b8681c3e924a49f81d
b22b9655a8a58bc32a1f0155f9b6d88e481c0254d5d2ed8be5e55033b0e1692e
e3c800026b1e313681dc0b2b442f1ffe86722301767f7541fe880343fc781212
29aaa355b38cef9745604346a02d0c620231b1706298471558371fc80f01b01a
237dc75443158f9b44d2b520d1ceab2684884a958a939cf01e0eaec09793373e
371477a074b51a4e9398664ea54b397ef346d5c575f5332d07becee7d7e6d0ad
f08eb3d546ffb9f5aff44c09be2e8c1934bfab8c461362c7b845a38977d4620c
74831bb20b4530d346a18c6a1cc5e6bafb9c546dbc37f560f817d5cf0faa5c12
edd8d8195475cbfb711dd54db732367f6a885f0cd56bdfe1fa8af4810695c312
3dbd1e1a2fbaeafde37fb62708559524c7926dc381f174ad8da8b1f834ffcaf5
8a9b1705f7a6d4d193b49f76fd246efd7003badd68fe465b3acddbecb8302ffb
3eb703e6a8bab7895a566ba70f64f3f15ed3ca01c46b9740efd85036742c0c44
38ddcc7a792a18c99f322abe124e32eb42c1290d09e3653e6a2b2fd27044c43a
c22b65283f4761d459986748ded41d13741df9968638cb7394715d9ae60c32e4
01ed8c7c74e081e96e2d38cee67eca94b49d19d5ea666342877e475e0417b363
baf0b8d292ebf3a193a24d1c8d59269205a80a310f1add6a418a6b738ab2554d
588c9f03930a05811ffe7a3e1f5096d95c70ab1fe235d66d6585c8e97536aa3c
1d9bbdc3f38f124606818e40de748be7c516c35e1ba0fc91c22dddd38456068f
a1e28147075ec5b908b82f34a9244955a86b0e995796e2c1910245b775c7d782
4949ffc2c664aea67d364d168f8463f1e96d3283ca6a503e26d5605f074d70be
81eff7256e86240689902cdf388ee0decbeb3b6e43fc776f431516e52fd195ef
cb630bb4abf4d7a0a8a87429567664ef5ded481fe2a5171fc70f8ad1f9b18629
c7c22d8f259c9e8b05295598677040b6d0d075ddf19630d4704839f6c76aadf6
434c50140c05c0959eac82963bece8d263511b1fda72a6e8eea3246697ffc3a4
04e0637066cf229d9e3836b4d3d40ef86c59feffa6a02b1fbce6d8a4e4a8429b
e9ed0f55e8d0b8f9905c5a15c133aa1e2921ad010b27c3fb399840a0e35727d3
901c74773c9b3aa839991260bd6639a56a4065086e95ec9340b8b523a55ea209
ff4a0a6043ea2ff2783d6290e6f0f57dabfa46de48f0ee82e4b18fd7bb577664
703d8e3d90cbff1578626acb06a718bb38bdd1a24774a684c1b016c4c7fc776b
df46523a2042ea200ab3b82c2397a4256255f62cd7343b51f1d30dd5c8967a98
0fcfb9eff98643c1666fc2b5bbd8978b9742321ca19bc0f314cd73d7a3071d2a
1b7c3f994750cc263b6a26f441a9f6becab3ec951f1aea555d7d1370b6bfa8c4
9822e66bfeed3ba4a7d73029c5b5f1a0b43db3e0b1fe78dc9c21638643662584
9d5128831c2cbfe11526a36142b84c667acc3ce84d934f654f8b10c0326ab2e7
85a04be61b3b04f4a3e28422d465d00ea45861d1f6aa4159dcdc8c4f0349840b
c08b044a1b1e142e885303790f06e9e60e72098ff8b4f0314d79899fb541dea0
7bac844996c49ee69d34a7024ef1e327b840f8718d4b6e7c74c02e8fadcbbd68
e91e8819b2f1adb0ebefcf01653e73e47c189790623a5098a182957ed9da9ed0
03ded81cb4629419c7f78ae32cbfe88db46b8590a8364b74b82f07b5bbd1a6ce
376cb7c86069135823b69078e66a3b412094412273dadf510e08ef4e55557786
f54ad0654a285e63468647dfd1b5e7f8f5e665168af9a61e2acd3b8bfec1b618
3ce0f3e2651c8e96c881653098f57e875df0c0fdfada48ae1133949464ad1250
dc59f30315aadc4ab18d4a7dbe521dee6f04c9106e383c43a4eff6d1c264393e
d90e63fcd71714b603c21c4c93dfd35497c31a942e42bf0eab5a8361f7a36952
e70191207cc63f021b5298bb9e04c1eabd8c42646235fc946d67154bfba9c509
d95af4d5b23da60ce4a77f180eda6ef7e8298c6676597311856e69ecd5c69d10
51667b97e19c448bd15a35ca835be0dadaa45ead34998be5dcd821e67df3b69c
a37ff70e8c7090027fe66a7fc35c77c22094462eb51039a5c1013cd1678d657b
7ff2be433fa15073517108cc550ca52906c91e737c20885eb9691ff5f06a9dcc
"