void-packages/srcpkgs/firefox-i18n/template
2015-10-16 14:20:06 +02:00

221 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=41.0.2
revision=1
homepage="http://www.mozilla.com/"
short_desc="Firefox language packs"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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)"'
'bn-IN "Bengali (India)"'
'br "Breton"'
'bs "Bosnian"'
'ca "Catalan"'
'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"'
'hsb "Upper Sorbian"'
'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"'
'ms "Malay"'
'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"'
'son "Songhai"'
'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="
3b332869d2deaf179015e59edc3f6c7ee0338018ae0c542d173f0805bfc22064
483ebf4ad220bc63b00fc5ed14cc0daa5093e8618a1f766e27ef7ea702d88404
141e88b1570061128d7538b86f8a506c9ade736532127615470ab52d2305b43b
fbe22a9b348c6a822c7578392d65f229be88da6d03908160ff1c84dc0712884f
95b7be1a421bd70d66f6564df38692230a6cbbcac8f9f49be8ec0a8fd1c11beb
ab8e967adfefe0e91290f72617a073790ef279485c06745f9541b329db8051b7
c225c0927f0855462c4157c3cdcb89660202c1dc16689a66ad8be7cef837fefd
7a8f79c1d0b2ec0a5838d2b94c0c920e7143d1be8186122663853ac9748a088d
dafbf53ff047ccd787c6996989126feb4749b4569967d47bd6fba56f51055e43
e12b7af83786242d78b28b6e398db791fe336bfda9cecde66b0275feabca0dca
f1b321fa81746f334c795555d6cc5e6196462a22bcd4e2f8092a413209ab1bb8
f0998f8e15698245757ce27b5b91bc228b3dc7e182029594f500cc7b6bb0ae03
a81e043f4cae9e5aba31e904899d57aaf55001a4f7f1967e6262aa2632b7f3e8
3dd5156b50781e20caac4c96c42631f60c0c8d06a28f7e495f17bb43dff60bc0
93a3c98479aa4be8531e4665eef9b0051605cf1d4c897147b223e1a350a3221a
5cac7e3161cc1fc01cc22ba9b9f10a58dd111c241c5305589249987643877ad0
d7d0130fe5dfadaffd2585665e53390dae2572209176070d810345145f9a86cf
36719f38269d0819ea05fe2a46c89cb4bd2859d26a740c46901e94e4bbd40175
0c0029261b1f446e33aca64a3b6d42d5da1d3399770c3ace221d37fd44a9ca83
cb7eab8536840a63409b5480170046227540d89f1973d121f713e1d59240f150
830d11b44164e2a92a9bd68fb7b85b095de7e4fc2ea92bae1fa316688868b695
2aa44595d2745809a989a533584de0ad4f3c63de2e1b5b8536645b5e05d88b28
2c70f52a537657073bc02530015a950c08d8248033426af2678e99c6680ec25c
d1cf2f9c65022cdc241ddaa168054467a53f32542744f79e85a8ee986bc4df4c
719cbe56de47866677d1102dd3f962be403339f8979eaac619c5c8c2eceaecb3
e55cd314abaa79123fec2bf8bae49afaf8771065c0698ac0ba996844bd608457
aa542ee5e33cbe402819741ded10402fa8e9f962cdb877cfbabf1d84290d982c
e489687bff01f23761a2419d406885d0d0f21c9c5837994698ac037720a85145
229d1e5c884b8efdccb591d2b7a10cb58926bfab8c1bd4a71c3eb1aa155a1050
d09fa597de20f69d7332a63abafd97edfada4b42a9f4e3cd55b2720adb644120
9e8a4e9446f614cafa6a7d712e6111f8443c255c5ed37fb2b67fc4936fa71c8c
fae768e7985278c934aefcdb00276e8c78b68ec84ef6247a83071be23f29a508
2b44c34009035ce1b2745d2ad7a8e33075816064c5211ec2d7e1a952ae4ca448
9fcc57c31db1d99c10fc97836ab1c194f24ed9766e07f164f6696b63b0fe2c76
dca6278f751731680bc8c59d021e26f19a208e9c161721d9964ef12b400cc57a
535273fc56ea8f96808e89946e4a9fe35b5aaffc8e519586a28bae82757048ad
f35c50d2ed63af609b30e6f156b41313fe94597e387ddb1383e7805eedc603a8
999eab777e50e805afe8c6e56316debe7f975f2f4767a84abeec91ba93177551
f71970e0324daed4cd7138bffe6eb1dc6188abfb3318c2ce05b64f8e49bb1c7d
ab287bef0714c86b94b470c780fd67de6be945b3bc6b7621c2ed2592892978be
2ea56c387173b14dd9a869126681306acd71c2113c8e175c80d1b98bced01b5d
decd311d7ac7627bf08826f7f4aa6950027737248aa3ce27b90e71c4e36e475b
40f60779decf80bc7700c90a82ec2a5fbc0aa1abfd42a5f0c682b32abb01773f
753cc258df6a78e53a0d8ce45b512b13a71e1abdf2e9982dd60090271ac33ad9
6e1b57592d0d7e3f8436413d74563deed7d84b61e3c70f4ec39b9fb0eccbf83f
1baa5e11d2eb38e55a71ad38a1418bdf5328cd1c264cb4dd2b9a491f796a69af
344b5893cee511bf143954a9280778888c8f8357a13ddd8985e682b62c3deae6
32ad8ce5f3d8e2fc06d2fbedf92dbbc125ffb7b70db92d75906587d5897d570e
d7d37587be6f9fc03b6a40073fcb256cbc50c4b99beda32c2478763fea786e4c
c6351d7aaebcb32763589185be4bd11a7e397feb19de97ad15033605a6e3b95d
acd6cd30ca2a6fd958090cd2479dfbb43e21d0e3985a39206d939f5c4e2a3697
f436be27b037e20e43656e12ac130f6852be20ed7023c7a538f809bf6a571579
5563a4698e9638f68a9ebf488784dc51c6fd0c3daef4720fb85be852ecf454b3
bdc3c617ee7a09f8aed475095c49e92eec9994ca2a78417596bf8ecc80ecd8eb
fdbb724710d2f1ed3e7dae9be8ef27b4cf89af14b1b9ca022798d1e148fd44aa
28630b55e19e64b1a352a0f8520c74c47c109669dd0c8808b7f821e7db23c6c2
ca41ab32a883c8ea15423b5ddfe70f84e699c110510ea5bb6aa686a7e4d849f1
8b0c214f69b0616a20e43dd2008b8a98a17cd81337ff463d3f3989d8c53720f9
e78f4cb5c455803e2d8ee288f1332dd9cfd71995e07d5abdb192c1a14554ed4f
a03636d86a7c1c889ad13b55c7f3b51acc611bc8eaf239a24096600772f5b0fb
84f8b2409d757f958ad2e8f4fd0a22a1d970972f532f18e13662b3216ce00a3d
55fb43569f6732f83381c1c98c7aaa9d910a2ca736f968d5e5be1307a6adae02
2894a6ab898304623de57ea34650e7a3aa2e5cf712f1f72c7c80156c173660a0
7703f4bc3520ed927742a1395c7d5a8783cb859406f37be521f593cc0927c588
234067974ece5ee3cdec275236d0300425b255d172983e96f8ad28d5ebf490d3
9f3cbce24801b9c123d31b5f9d5ecaffa17deca8fc48660a0361279882450a24
56f32e241341cb2ec49f8f5126172d9a300f14790303dc4bee516eb41204176c
3df17252f03697206305cd7e9b62f26eeffcba84b5e195263d4d47e0c0c0d0cb
9bc4c4e037de7073614fbf28ac9ea0168bec75c1b270289a1455674de85b60a2
1ff21845c49dea827abec9cc4641a3aee002f640539af985f88eb40be077aeb5
ac952730b5591f503cfb30efbc25dfce92f54529413e39ae88ff30010da098e2
f4ad85d1fe87aa2ef449a1f5a5de2b59b4867c1e8f854464154edf4f2f39c138
43eb2da1524e905740782567ae9dfa5a4adbeec2ec04ef93a8cb3f7d570982c5
88b3a01be297e83a99ca9bcc4643184d9bbccd19d1ac116995acacfc13a58486
fae5953665c35ffc5171830ccabeb21bd1692abb67d42633f8de4e909b12dcf2
ce99e8e6b04601855de447bbfcc7b00fe626e1e3e06c60a132e87c7cabf5d017
fb86b719756909ee167bb2ddfa399d5afaf9393100245065ec84b81fadcbf5da
7c077f044283b145ce62680981bb1f2631f918813d5e389489f0a209a0d72df0
93ed5ffa7e4533bc406bc8a86c000bdd9fc098e9a65c729ce9fca5cce8f177ba
e9144da3dcc69956e0c6b4223afcf483941858e3d9dd8dc94ead6c062a9d098b
45225ade5b3311689b6372c7e45b765a6e58d2047750c5f4a1b906bccd903d70
d94b1aafe66728445d1a886bbf2cf05bc3d56c3ab9dd892ad5f37b3f32d3763f
c296449a51d669439369f63aa943f55bf6cfaab901ac033322e137afe7bdeae6
8e145e9ccfde00cf0ab3da91ea4686893e274f3fb5e4da460b44ce201c714f70
8c49c52b80937a00da8953ecb1bdd1c6505efb62ac89beb879c400846b7f8c85
a1b3661c004ead49b5b1adac7515de402319ae82b06121313deb51b1ec7fcb20
"