218 lines
8.3 KiB
Bash
218 lines
8.3 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=48.0.2
|
|
revision=1
|
|
build_style=meta
|
|
homepage="http://www.mozilla.com/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MPL-2.1"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_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"
|
|
pkg_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
|
|
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
|
|
}
|
|
}
|
|
|
|
checksum="
|
|
0a81d407122bdf88ea470a149ee913074123e6c0a5385f52cc8004bd3a51d272
|
|
06372c7fc4bb920e25803daa0aac2c63d7cb2cb6e92998a7b07413c2ef289b07
|
|
ca0177d6f5f5e89914bc78e4511d796441ec332bbdb19651ac034e709162c434
|
|
a470847e5203a643e6b5e91a13c3d887a89338b4955d38b3fab7d2376881c4bf
|
|
c8edfdb0e7a6a9a424952e2203927a3ca122af3d36586df6ee9ac6962313a159
|
|
48b13f4970185f8d21c02045f12b998b236dd694dd790d977e2eec0adc32ed1a
|
|
d0a49a82d0d73e0bd692aa0119df7ceac728a5c6f76207de6c5d5637e61c5994
|
|
5eb8f90131c310fb2db9d01886394c40654d19c5cbc4d9cb3add425e75aa636a
|
|
070ceadc002d1deba576a0b2e9cb970717123d902084a8b3ffd0815d0eef61e7
|
|
c13e7af6f1c6e1983dfe539f218a83be979b7844b52bdbb37cb21c4e6faa209a
|
|
5d113fc36a2717aee160d7bd8fd0dc5cdeea61007ccab68b839263c4d3b07b9b
|
|
dfbbf54fb3eb2270527c87575538ce00b63aaade14b507f31bbd90714e2cdbd7
|
|
cf46d8e0e9fb483140543d821a0088f7bfba6f8572e65948a864e673dcc8f654
|
|
8b50e4a8d826d84b659cedfe45bf8b00e310ea7a06a5f7e1b1fc42baafe5deb5
|
|
835be8f95e097aca2c56ed7a00e3ab71ae24cde708e6792ab6d93e2c1964bd57
|
|
af693991987959c64a525ac23c8d2e1e80c7fb04def9b3789e884bc30649d3a1
|
|
b7eca127edae2e6ec82ccd9c39877007043190ab73ebe7e7a909acded36c1a16
|
|
5b4f7835d9e0deb3558a7bf8ad288ce787ad6901dfb91d9bbab09cd50a7adea1
|
|
2ce51416e6e85a2d6f33f4ccc1b4ffacc52e9eab2155036456ada4b0b3803f50
|
|
cc903e2c7b2386957325eec52100905330478e4b98fc2993f3f4c3f3fbf86ee5
|
|
e526178c8bfe68edc1a5a77700dddc8e9f368b3afc96c08b5690a544ca337950
|
|
5dce94c48cac0c4030cae0cfae0f1c4daa8f57a2abaaa65c80c0147c48697d07
|
|
4277a165abb6a8bad09ebc96a5aa7b63bd9e31b396b893b0a7dfecdbd36a23fe
|
|
5a65d77fa4e927bbd7ffb9571690c34d6e81d56cbe2b96ce0c397674b41070c2
|
|
8fab8f0fe3db3e7677ccaa9c5e62a82b2b0cd88902939ac6b2a8dd798d816265
|
|
8f01b60bab36f7baaea5cc42045960a4b41bed08a24dd4602527846200e5e489
|
|
4b6230b9c4c9458255ffe2d45197d272de8d0c5c3114bb8b53890a3487d4ec6b
|
|
0bbfd9d4fc50bc029ec9996223cd5bbeefee22a8f6efb9d94089468690fbf367
|
|
b57362febe70dd30b9d88d6b5bbb860a99fb422b8924ac695622acb21adcd221
|
|
9cf9c8173f93d63581df76a0ccd23f62ac97bb1a7de17ebe528d231955361347
|
|
6a28e5104fc6aaf6cd41f20e0c33b995e4b9e960a8279373f182a8264083952e
|
|
3aebc5c24a8117348f4047170d53fd97ff2d8b7bd7025eae2f848dcb4983ea5a
|
|
1a155bf97589568c6db050ecf352b3f1e8f5ae2956099b7a999ede773e137730
|
|
712b38527368c736653fe36e5a81fba1f4ba42f0de9a6dd021788329e42ee40d
|
|
4772f50ad9c7a0df3f6c072ffc1e04dbd73754b2e7948bba3ccc01a4671bd3e7
|
|
42a61199b2569d02af750fac87aab1ea64c8a070375bbe601e3b8c79ce614a08
|
|
a8b0be3eb6b903d1f69773a79266da2b35ef79291b6118921b0cc134eacb740a
|
|
2dd7f928d5c05f27313bab453c9b225e44e4c5ec28bd36900366648a6ebc7e1d
|
|
2e549f151028543659fb173026ca6640f735c8f4d44ecc7736cae17cf5169132
|
|
5e01d5b6d4e11bd2b135958f23e1cc9dbe9d2e125af6a8658ba6ef37d8506f1f
|
|
3f8b72f8126cafb0d23588d3dd233782dc753d31d572a704e0dcad1e7192c9b3
|
|
cfbf14ac91adc757d83be0a1aa99e5fbbda76486a849371e22cb028af7038076
|
|
aab08347a399f98de2a30e125f64e8e24894ee8903689e4706c6744cba188ad3
|
|
69cf3425519ca9da518eac89d7c38b29378515fcd1b85c67d057e96b67a7d411
|
|
e222e055bdf6e2d14d0eac61a51a47799023e2d22097cb39e3984dea6b5917df
|
|
b3866a67dae6791eda993ba0a28a3527dfe1c38309a0f62a43b2bc992b568a18
|
|
c470e2b1bee6a0b35aa849b328a44296808c3ad68473a9f607b3e630a2d0a3bf
|
|
e540fdfdcc99075f33b198511ac04f641ad041efd48cc33b6c9c33451c5df740
|
|
7200962425248c682ff379d710b1cd96b67d62d539fc5179fdbcc23b1fd4e306
|
|
8da68279fc8bae9fa0f692d42b4cd4c1f066acb697f1780007ef3f47f5363f53
|
|
529a949a58ea9358143be0d0a08a3639174366ef5682366d444162e2f3f7484c
|
|
2effce4e72dd2c8de4ae15d58f8d312bf8ac17e7434bb07731499b42ee38a6bf
|
|
566d0c68e593afc6bfe96527c62aa4621001b2a2f6ed212f2c5612ed61e6dae6
|
|
c0dd4e22f5ccabc147c2ab70bf290cc4ec23aec8f43f7a36ecf8686f6661521d
|
|
ecbd3c023d3d6a9447e5e52111a61bd28cc137e7bfcabdcd4b9bf721470e35bb
|
|
67caf3ddc1df19f35f98519146a8595f874091d6162420788bce6f0281ea0eb7
|
|
82a9878c167f808ba38d80bd72c68e191f242544bcfb3cd1c1a860ec2639bc3e
|
|
333d26b5c03dd973c72cb1a645f2cb5da689d19340aca2881171224c78de97cd
|
|
a18d9b2ea2fe91bcfd18e1a08b28e88297072e06789f657ca849e51f89af73a8
|
|
85c6f3526ce04781384615d26e0c0e9c6cea1f1696ff9d4a45c6d50ec4d8b2be
|
|
49f8fda00f78e7b919124b86032edf027c39fc7149e3e55a5eeb41619e9b9abc
|
|
858ef1344f1f417f26fceba52b7d1214504ccdbf4146392d4ef93833d02f054f
|
|
e17db78d0a730bb3ac7474163f8ed2ec0ea390123f56905f9966b11545d5720d
|
|
9b8b8151fdfd0ced47d6ce726f5c19781b12597a4882463803b929e016900402
|
|
43d31349647ed3c416499805c17797bee065878a7c2b4153fb6aa5f9080893af
|
|
b97a6866a42aebec43b23cad604c047825c4b8a9554a4539d2c6506be7e3011c
|
|
a1fe233311c5bdffd72aad2320d31d3a733f2ea43899ad4cdfad30328bd7eca3
|
|
1341015b8bc7cddd69efa3014a1733e70c0c399cfb50ada912c6b529aaa2b10e
|
|
68a191b3d4f156cc2955a639ac6a29f57f49017574071ee19ba164a474c2f5b9
|
|
92bb4bc1417c6caefe3afcbf38c31b056c8cfd16ad6dde548dc87d51525f1c38
|
|
a9ddc15d1dafd82ab3d5053847842a9711122184bf0a0e2bfd28a9e12332e0c8
|
|
d65dbf9cfb6b1847533ff6f05a5cb41902dbf18ef1d852f2649140883e2aa75d
|
|
dac652827031fb226bff8f049af77335455d3576704ca28ae97a38c4d35854e0
|
|
ca7a5ee88e153693fd3146ddc6d15762003c4d09f00353da86b3e0df33852818
|
|
7bd372c2ca87b51d63ad770f126e25625978e7fd0ad1a2c0dab0d62f8579efed
|
|
16c2d35c11ae4867a3c7ea894101ed06138436fdcafff4cf0d98a452100ac946
|
|
c65c3443d6fff90c9df152d5fe731405a5303c608b88df0f4974b722c93db21b
|
|
d147378ebe79ab475124b25f92b36da3fe58c68927390c2d27db151bcf91c457
|
|
6e2f1531a9f7e14eac4dfcced160a12c33b765753860cf5163e6a54e31c9f377
|
|
f82f259b86696aaa25097e87de061462c2576bb88c6f1fbd42ef5c26753e08ac
|
|
34077404b63498db919305a7d55f4052f85b7b258d5016c47f4cd1a0bc131ff8
|
|
3623de5d28bf95b713aa254f08962e20ac7f76421e7caa47ecdada1b0c8dacce
|
|
2d3031fab6871ce11c276bae49b1b6f32d1b8dab90f380f89cff58377193d946
|
|
384b6daf7e1d60b004d3690fb7be400b325e2275902b46e12910e088a58e035c
|
|
7e30d096952cc1fcfdaa225ceff2506b7b9ea0948303f034a3d8416a4ad84b2b
|
|
9df60f0377e177587c4f102656e8e5fbee93e1fcabda5dd3dabd58d45c9ef3e4
|
|
"
|