void-packages/srcpkgs/firefox-i18n/template
2015-07-04 09:38:51 +02:00

215 lines
8 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=39.0
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)"'
'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"'
'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"'
'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="
c922e238ef7201cb0b0c2a9da00164c350b440a3d02c838daa45b17713bf3eab
3653816368acb76e6773826db81c6473bdd923f7d61ca5ef24e9144d38c3752e
c0bf2029255947a5c1fcb681fdb4ad0522a0b9941f5862046c45a70d04b68609
1607562dafe4274ed7eb74e8d993baa70162c91de265bb2ac1dd8a63bdc1a3b3
653ee076f738a7365dd75da4899032f31ac73451e9a2b26a1ec5e4621547f443
1fde38dbd96c86bc523d8524472c0de157d58d07e963a1a9bb6794fb6db484d4
8a2278c789a06cc5b27ccfff3731ed8c534529d67e9c5cc42a2e3b6d8613c858
24d6285a03ee495b928be4f221f49af8a1f9a07f4ce5be14beff6ebc531f7687
67d9759ac8d22b976ede194fd4c03b72411aa8bb7f733d13ea034119b0a086e5
b2cb99df9e051e3f625b99f8e929a2cddfea5252e41be0064d6ca3d782b1f592
9b85eb51785eafdd7467baba89fec2ad72596e56ca7c955f809b23076467853e
e4302b4babac9b90600ef142bf9d1060a596ac64f91481b23c4884d10f69183f
26de879be7e96d6c8020a46ba73049ed13344c1943ea0128ffdcce356cd02f95
91cb0a9d93c5214e0e42ec9fa19c318209635975f7da6849e0b3ccd3a95c5951
64748e6b957775bb3ac42bb35f227c88092afb11afce62b425b4c0747fbe285f
56bb69de98fc46442e3aa2c09f95ebd0723f3c73fd890a013450c88225f9a80f
22f7185683d08b186ca0022663f1c822b865683f913e8411ebd50408dc91bd2f
2cf069f9da826329c5e5a22aadc4ea5a08ab0e25470b43c358e4ea14edebe88a
0e89eb7cbe1fb84203d0217200dcea154a7422d1a7e6049f564796576a732762
73a7c02e116e86db894266147770124e6627a82c8a3cfe8e336526215fd50444
972ddf4c1acffd1f46b7fe3d7926994a8be0bfccc8589466c26490cc97d06a3d
1f6fefebe9901763b950de6bbe6aa85bb948673d976f47814b907507274f0766
03bd03f60a298295a975252629c8ff9362430d15b650f5bcd82ce6604d0cf514
a096fc6c58a2959bf8471830040351feddfac0555150af9409540cec10685afe
56793b19b75c7c1e9692f3b3d415e572439800e288f8e0227bcf690466a064fa
0aaa0ccc0568456adbc0401acceb97983a7045405f4972058b60606fedc19c79
7d04e5b11906f474d4096cb496514f8f370eada489739d31742128c7aaebcc91
605d95815fe0c77a4fc5df46d670d4e8e5b35924729a3a640210a0581d3330a1
30e3f30a775f38cb5663a707a1a85ee59f91007fbc229e47401a753702772d89
59d56595435d52e334cb3f388f711ced61075cf0026ba7d4e2cd04527d689ca7
59f1fc070ab7b7f65bab0c475f8fe894fa5c4e924d4f78b97cec8268d2359c41
4812b3fae6bd6083fc0520487403c95f6104d7838e7edc450f05bce495832e3c
75f737af71ef7cb19ef4bcd99fa63c6c5d5b77b2d2b96c526b46faa375c2c6db
792a7907e5eeb1486a404b9a3a8d88d7eecca87d87a2646d9a11cdaefe01a78c
fa21c7bcc4989c6c0c0c459f46f7bd716cb7d19ad37861d57389177e7b1e143a
189995f89fa441a743354e708d9e8a87d346625881ffaad7bff528de90ba1206
70984a01b309959bcbe1d693cba3d92b51a65c3e71535ec015c4b3f950a53f62
a340651af88b6437a9c04e0c7186f928b730475550a383ac8387714f7a40f1a9
48ab8729d65620b8ccb3e866a4d3eb57bb4e9d4e363491a0c61f1eea122e0c24
e1388ec88077f8a3111d8011b7e8e8773580a1e2b71d6432baff09fa08ee54a8
1ab7dbb561103d9ac32e55c273ebf738480567a9882c9957f9e29829814dc766
41ec6c7ea5015d879600675359a21e160a6fc940e1ff634949c759a076da9c06
68651c22d74e0133a82eab94e8734bfded3bc219b1de7489180835573cb81ba6
7a681ca2928e3e2154ca190cc06d015144afffd9669b938410e8d48980a1c959
e510ba604a63b8cb6caf1e24500cb5cfb6a07a90ff22f111b501e847523ff2d0
5ff684dc2245de82a8edda2d02ee20dfbef7db6165060b20e6e3d229437968ef
27d62503232240cd92508ce3d724f351d5ff8ad99a52d3cf962cf948829a9162
342165fe3c5060bb15f6a889e4be80653731012be8d694e8ef817b447230cc46
348a8c4cd0f26b244fc2bc8467a8e6a8285bb7228e6deb6288fc7b464152ebe5
1870af5218e7223a83f935bbe58415e95a278dd1191db1c7b9f2e3446ae12285
c49a0538443d77e1fbaf6660fdc15bc76181723af2f8b07af6579b408bc24370
8ac08b4ac3ae70dd7bbe090f0b0f984ebefef03c6d1d20cc4ba3527605c921be
561890d80e0162a7e2f3ba5e46ecc07f2ea681005f6f3bae6810fb8acf9408e0
e91f81eb8b68e7a2af87d5c82577bc713e4c163a0a64b9a80a99ee6b0830dc56
9fecda84807976d1b320c0070b4f87eff5813f4965aec60e27df8f64e0f08622
511dcdbdb0d0fa919acf81879544d32e066e435bdda14a991f86d0c4999aae4c
4070b2df0eec4f1f2176c382759c1be4742a12313c01c3bd77ff80bfad0f7100
a99f7645bfb669f3a1e6d70ed6401f6492d1ac426757ca8c40683ecb3166ab19
3481260f436473f8b4fa4116faece6a12472b022bd59e477bdec5d85edf211bd
0a0fdb72e6ee2481fd0f6057021a03dd8c150b428cce05029649f72c8c308cc1
4f1359b27b7131ddc944b5746adb2af2b5c319d19151447075db512359f7f084
ca291faf583e5b53d5ac607d6e0a6eec13fdedddbf1a003158edf75d475c007d
55fbd2f5e4081394fa79b51935f809b5d5ed283f3c5d08597eb8aafdf1f012b4
a41b6fc5b5791a596184b5226e3bb8d6185ad97a58bedcb8589afae849a6c40e
451394fad795daae087c5bd2d80d9afdc1b0eae52b73a66f97cb3bae61e1419d
a81a237f50f2aed3186029a1a63556d2ca6ed5c6b6b95c5b9137c94a88a1496c
5b3ccfb721175424e567da7071ad3a3fd4f7ac1aaddea5106cd57f306014e1c4
bc0f7a5bdd857cc7bccec42aeaa87ebb50f3e6be515b91c1465de602ec4ba907
749217670c0ab1bc40c5cf19380185ad77a9ab95b130a7d47bd71f5110303073
3c5807b2e4a150dcd625e227fa09414ac6e35f81c02984727681ce70158fdc35
c23ee1f72b1bdbaa2e9ead73dd8513413ed775d1f10ff3d73d17f10e0eba8267
570609619b1850037303663b9bc27e1670b1248bd054a93d9d671e32dc9e037a
0c559cc85f990b2759baf9cec96554e3e8c062ee5a0ab571e408aa888e6495b7
88fa20f03e1c9f9ec7b8db45c1fbe3fd4eb89c10f52f0352b6e922352e986fa6
b1c71f7c30456bd20cc670cc976ca419257f15b01776be7095276d42e39f78ba
245cbea46dbbe581a728262a3bff4bdad410fc447c1dfcfc5ab68825f0685d6b
1222f9eebb48c02abcac8e0f064e23bdb7b4c5288211816a51e598d2135aee90
712b98ad2a0cf4b059554fe76d798a76ec3aa10ce2e95af0796dd9d46fa120b0
5b06984dc2d539dab5d3b83ec915b02a498d41185a2d3bfb7e465ef139fd605b
a44f0486939c81e86e2aaf255cfe70d17e2ec42b8cc400ec2d699c3a1a951044
8d66c08160c6a2e3860bca6cc7d9c87b653c97c70994beb45bfc8fad9afb4f03
a7e959d6aba6f67b880b9ebcc1d1c2e253f01e079475191dc3eef978a9d9b2b5
ec30c554c57aa27835723253f4c0dfc4fc75ca591f9a64fbd65f7622d7b212dd
"