void-packages/srcpkgs/firefox-i18n/template
2016-05-04 07:08:37 +02:00

217 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=46.0.1
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="
f0d47951dfdeaa97752afa5f860ec90d775b6124fc393a7c8ff04e507afc61d3
94a037ca774b48f44db941c0074b118c9c2a226f8d7448e17a8e35b93626441d
5f352fd2d500c224c10e6762b73940f8cfd11aac84c01635ff3af3677dfa85e6
8e22844d0e461b908fe4f5213a22ca1722afaac4106938eb5e88e18565b46cd8
fedd32a271d0980d2cf6a42560b240e744d87be38c7fdc9c9b9e802cea11312d
dee65a28152aa0b09bfe59f83b7678bf29bebb2e41eabd07684777c782e9d920
37451d28220bf33640a58dfa2dc3040b4b0bbe49b176660b3cfbf6850982f7a1
e99d5bb1f5f3f60e3a7ed89b5ec66f2409249bf80e6c7904aa7672083b2327ca
14608b1a98e48fecbc54908f748569184aa8372927e8e60301734d8da4da763a
afbe7cdaaeb11d95485b539e40d9624c5ae232ff5deab4fcc1ccb13a89f43d15
82a7326e73735cdaf21b2867cfc5e2f64a7111d03fe0d5996b2dea19e29ce43d
a1404fefd9f65c9bae4fb6728ace056fa72d6263c394b7a0915e5df7566d212a
a9642a3d72a83cdf8083262381cf68f43118784da20dbaa105314f8661c747b5
70b2fec4f524afcc34b2cbfc43fc9f317d7191d4811945be4e6ce069fd65169f
32110478415c096040c843042375bfd8270e98ddc5c395c74f63ed5a97fe1809
f0daf30e06e84ba45379c856900117c0971ff092310ca04b88251222752cd400
e60717631e6400fe3129b6419d3a33294ab18fe1c509f80598f799d16ec11508
0423a99f8eb2c3b4fdaea26e073169537e67943831579242e3b9ca95617eae75
f85ab43812f9e36529abd7d0563f0ba6047eb0520c6ff96b845e19abace29a5a
597698ec9b83015ab984d2f52012ab0d8cd0ba01cde6105b6182b69136f6ff18
a259e1e77c5d008044843789c16479979b194630e54a36d52289a5bce1bd9a8c
fd4b4be0a5ee625f11496b4e0ac80b516f0f8862458bb815878c10cfb911e349
578b12e91a596cad9c78f602863cc3473dd711ee83ee651a147157b17a78eada
27f880560d846a81ca19de6926e2dc2c70e3975f96986330e960d8d7ad24ce75
94f6c156574add6ad334b6ada0645a56d67c7de67dd7d385381622b9a8d4381d
f2a064adeac314b67dd7896284dfb75ce4942850f8dbea57db7caecff59c927e
7ed3b29ae516d11267cd5e0637dacfa188894233291bf8f30c3b9094c27e1c34
ea7c9b8ecce4f42dbd1c71f922bf50d50c66b63bcba8ef9f4d52f7c7e5236b2b
f7183cbc12774a41e7d5f7b701afa5d0f7a4ff7b3104c9ba9fd36099019b6423
b5d4e0961d1691dbb907fc8ad544dd479432713871b0fdcc80ec5349bfe24a92
e2c5608bd13f0749221e05be448e9e626e24966f9f7cce1870308ccaaac9cc8a
5707d498995be7a8576040d2308502f4c310c6406250a8e4ff92fee6c47adc2c
a4ed390004026a5b4757c944f016ec006e0779acb6471f18f3c7b44eeb11f7bf
67cac34d026365980b2e68e4c87dd9089005a776f25e477130b301e9856ecc36
d3737b985d8912cab025a7c24490da1a59cf4e4bc29f9986aa42b6803e5896be
42233cc32d13dd8c5a3f518db6056edab6219c44f8313436744eb5d35b04faf2
d0a47f85673f9ae38a29bb522c39f09761632e2d143b2da8cf44b2c658cb9355
9be91c79406f5c3cfbbf7ce9dbca81e8b63473253811e13883b27f4528bef5b8
a83e219fa35bc40c464a3ac6d3868b4c40f8b9d3b9a5e1f98e1e7d152c96ba2b
ae3596469b937e216f6fea4f29313ea1935231b979c6bd23fcde877369c7790e
856745c8ccd328545f9e5e1e3cd5ae56b22bbc53f90a34dba3c7d76af4cf7af8
5e4e98334f6938dd9eee38869283091f54b848cd75ad69a85deef91887518d8b
5d58d351167c5f062c8c74713dbe3ec86226ea13babba5e26b46c891a84fa392
afd2c57e56dd7e42249fda83442c7e4fbb04518665707a6b02fa0684dd14bb7b
813f7da71ee99418d8a8256da843b5c798ace592d0d4a6ca8d6a0ddcd7dfe7f3
1fe6cea75803b9be36167558cca32afbece3b01c158c754b5a185cf7dcadae30
32d7aaf26a0cdb92d884361931483a69312cf94b8e62758f5b8033c3d2b6d2bf
4ac9051a94a9587cf606c0c6ffe0275c6fa038c7420e410d2768b78ef0e2b917
abfab1c0e4276b87b97f6fb41823805853d43b7ae213f3ffaa4ef529f164075a
5e0265bdf3d5101539e88d711052a0ff467dd06489fd3a691c40e7260c448568
98e1b9cddf40a6cb71243d951202aca0b7c7f9e470d53b118085b30a11e669de
83cab4238a3baf60f253d954a2e7b564efb45aa4ba4789d87ef30df1b2956cbe
b683dabe8edae09e9c46b864516a8f8162e0902b6d5238e2b1194db546f40e3e
d1f35372a9d76fd979d7893da186abdf19644613315d2916efe1216caf738932
f267d4cb4d8265b458cef3d0dc5b3f4d4908cd5b68bf95d1cce4945f868f54ac
2667a8c68472a8cb43f6bf33615c5fbcb27f7b55b3da71ca1f6d214c45706401
ae7f8bb4eecbfd6f633f7f5e9acfabf76bb0e98a685706da531c2a64d16dedd8
083b99cf39f6ff85486f21ce04c9a8362de18b8911f9e3ce11bfb4abb5271b0c
a9bd85db2eabced2bbc133b412d4a75875bd0eae8125ef5e72c748493e41d4cf
71ca049757dd6e55d48a49a42f668386f78870da14733307106d4e7187fa04b4
6eb39f4716b497a14abfdb366bccb5c8cd35fa1bd50fc563c3bc904c69c7965e
12b23858b7b33767823bdb7e1960a78391c80c6874cdc0bf61d3328556842743
861f4c661888e3abd2cac861870922914f096c910b8aea2385bd0ede4c0c909b
6b6968aaa0dd15313176677b62de5dbe9dc5ae8952f6575b0e67830f23c36d24
fa8e15e9842382da18a47e7b7974af94194a595916c93c0831ef16e4f97a4d47
f4c13bce735a1554a560c499152a11189d8443d79d2ed18d659d6cbe4218d31e
b0110cb8a24ba7908a1151195725dca3bf7e448e18e4f5b87273a3d19efc7163
52e28fdac9edbae28260ba50a770080e5c4a4beaf17f383ddec93a759c2ecc57
5bdd9bb5a56e536223f0f36f7551efc01e56d847b2f73e84a76bc010d5491f6d
24001217f6b2f222037fff74d4de42ae55b301f668eb6a3635d5d090c5c0ac10
dda3c6680a62d27d1465c2c018521b214b1c0a6d9de53290a3bcb1e31e6cbdd1
6150daff402bacc8e4c0dfaa2df9d87589c24bbf4f565ef7b39d394164861b4c
0bb6045168dc2c64d3c936bb09178b493924c04ad769a27ea118e2ad35aeba5b
0d2a94aad4bafa4e626d51a3e39a57220728872893a6a45d2b9682121e430ac0
9fb1822eeea4ebce7cbf3e037ad89239125a1d012b972a892bb50d365f19b7b2
edfb6133babd29e6d3b6083266d4bcbb87d51212668c5f27be2f0d66a08dca58
27d6287973462dae2b6d6e4874ecbd9cc8890c2408eedfd599e62efcfeb146ee
354e5657999a12d3a2d4dc564fe81fa4c0cb74b9452d893bebc0da092ee022d4
1e86f0ed15a928c5f9d097ad7e977d4d5c20ed7809c9d2b8963d43585541e673
0f473c1686c97c96788176a4df2a799bbba180c36fc071215eb1f5e84c2fcb3b
94050219121fa0a4102e636e8a72be638dc180ae9d21ef62e41820aa355b9871
1c131d8ed6b259587fd24629fdf17f5a1b502b605e59ea87190c28e49ae0d595
33ae4068d12b9f30b4ce6da59e5c9ba10bdcab0fa8436033187416f586076ece
29a5c75fec307430136ef6a46c17ce77c7cecce31da01e912d92ea5578ec8590
bccb8ecc0ab6262f055e40fc9af998fce2dcf50890963f3d463acb8ae3fb18b2
1f8e3aefb8eacb5ea0fa9fb631ec0eb17000408cb15a6d39e08c09ff2f2cdde6
"