void-packages/srcpkgs/firefox-i18n/template
2015-09-24 11:54:54 +02:00

221 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=41.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)"'
'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="
86755444fc1b53893f4fe3c181adbccc4bd4d6e24035aeb1ce4d0e90586bbc4c
9a81d311727c1b393eb5a1d420c77a26cc01327b3c326a935b8b31b426977ab0
2e9df1c9f67ef5cafd5fd9e4d4d2ddaa642aa29b81a96e02fb47a658e53a1146
bb9ee3d703c10f9bc3e12e9f62ea95511955239a20fae81918f0c0529685baf8
2bb52d1a41ca3955a460f0f2d48efe3e2c99ab579d72f1c183faed70403bb869
2be891b76d75d39310f35c290a7d93aab8b6d4cde87e65f0820760fd230c7985
3611cb1cecd6fd6ddfcc57ef936a351704299a54362d000c16779aab7f7399ec
45842f478fbac439a828950fd8a708352e6f249c967d71def55eeae0ec49c78f
de27686738705b1291118126d87f9f6f60075a35abc3651ebbe8c62d3624f8ba
bc94787dc80a9afd100c0b784374aae1bdb03e03e496ce6f6cd5b7e3d254056b
98db3d58490a3bd71ef114a8d066fa8515450b6d85c8474316f46cf7e4c0a3be
20bb1ecb9f4aa63163c6121e74a25b5d6b55c33b2dbe13531962df1dc52dad10
4921859dd265dad50f39187b7036e9154a73d4d32d5153f2c55cf529fee38e57
5fc00e06ade7de4ab82d93fb87f698c990f3764fbe56ea2780ce06af0b752413
25c0e0d472878821b3c45867f910ba90414ee419894f7f01dd9484ff9ff7e973
96d7193c09620bfe570ae37deaaf356d182399057ecd70341c2777188496e64e
5a28c5751581e669d0979c62217cbf7b9ac61995dcc35a53ab675e241e374c7f
f1437c41e2450d5101c3fe2b5e128157d33f5b93336483db36314f3a5e3c9f96
a419880aa591291868e86d15dd0af1fe20f55cf18e62cfe272e71bf09b2e6b7b
1650d4abba5fc7c9a37e79034fad2206bf6f365d6ee40c99da4626f70412cdef
5dc4e9357ad6f826572f96305ca8d1c5fa74a4c9c82fcbb78b3a7f34d9ecb242
15ec1dcf88b51b671e2369346e87a0503b2b1ff8c32b9e91389816a4eadbc8e9
535f578884c390698c97db2717dd91f3d948fb135b8ba4f1b5ec09d796092ce5
b65d4c72e66642d5188bf12686f2541d2b5178be83ee2fb727d82877aa1aaa3a
ca7968f53f99bcf8e5369926b0e8b23ca7272e54bd15447fa42d8588fdbcdbd6
a6384d393b6c82d29834089db412c98de0ce58ef7293c59166b6675f236ba0ef
71db72097253d9eb7964e220ac7d559d34dbf0e1214715814349ab5fbcbd2046
47cc5e46baad2e03a17cdfeb054d0d3f102094b4e9dcb1c8a49d104324f6115d
d3c1491021de3477709b2f77a2ed95e4a4b37fdadf37dce2892edf689cbc015b
59efd5d132c0026a6c31be1674fc398450b8bb2ec75c0786bf3c817627a5532e
0c919f496c2a0e1503a8f37ded5938100680e810f6025cea0e84ae27f70b06ee
df5faa391722a201d6f6ecf08de01d393ce96dd122f378434f11440f825e5b10
8aea345024bd99ceb013899e839170b61e6ae6e1bbb5b9c65cbf92f2f610f35a
ccb6e56af07c093f77db2224abefa80a77690f955d6d54f77a6d857fb672429d
12ec59d2dd84dbd1e9efbb6accbda523d93845b1198ed54ed4a1712bd50268ff
db9f28f2202dc2cbe96729d1afe9cf41ab94ada69e5f1305c4c15d2d0cc6416d
53463a96319f19c4966cbef96f2a6fdbabe6e7e8f77473e74541e26724516a92
21d0550c2c7a3f017f4e1f83859387929c41f7f1df06db3b073852ac436fc435
b15756e16e5998219c2505e06d5a05aa291cfbb73bf31556d55ce57284c535f6
b7fda3f4bc5a7d6476f8ea5cd4e7f9d9445133dfc21f9257a802e75792543e21
599261f6ddd9511872addf55a54ac27f8a2c629600e437a83986bec7325ffa49
ac254be8aae3d7feeb7e871f76d315a0d498bfc18ea706c5d51fad200554d86c
86019023a1bba2985fd44dc18fe6eca18faccee769d2702ed4f5be6ee68cd0d2
64ba7710b02a8454892dbb2de437e11a1e0ce660a6c072c54f3f2788aaf9ab0d
ea2916c2eec477ea0baac33c5b506f2cbcee0e4023cf4d96d3a927470c40be5c
81c0df60bd9a20f1f3bf6861b085a5172b398fc0dcdfc603e34ce306f80f37e0
32386da85ad191fc2c445759649d929fd7eab3940daea328dd3e1a56533a7c37
98e27a0caa00137e3a7908a18220af0b5447371875be40a20caf22678adba9d2
0391cceb932ff1d7099605e51b8abf9e5cbb311e4fc6d5a0b3f58388428332ca
87c7e4b1b00499929fa89cff96ee7b2040bc3b2fa39da43d913b460730e9837a
bfd714e03b16a6e4e440bd1907186a9856780be70cd0af9daca3374a7a2006ce
ae514d960dca72cf7c057af190624947c56307db25d00b580ee8cbfc94be535c
46d2bcc9842f74d1a78e41ce470d2197fc8e5243886c0b4b62535ed930c2a01f
9f01b6c0c4647981f595c2827453e1209587c34ca947a5879f6b8fe9707c707f
f3ececf56f634f8dcf3950d4bf9a7a21508021a45b99dff045135c1c037266c7
1b8e4d2d5cfd8c8768b42b6d394b9132dc806672cab3d3f0acdd475e73d6abd3
602b9759448353e33b8800fb392bc2e3785058d1ec2331528abc91a1021bbabc
dbea36f8a4869cf15db2ae9a324d43297295d63c1a3dd8e45dfc4997e5d6676d
59f5f143b9ed9cc12a2cf9cdc2e5d1af25bde7c78aec55a5232e680b737fdf9d
b70ff1288f2ebd217c67f0b4fa1c48dcd6800d98ebca03d880d01592eb1f9fe8
82998109c104b4277a54a9c6aad3caca8d40e89290ca33f18e876e85158ad428
6f39bbb77c7c07bcc5612b1715262f94d4d962b5148384ab2ec052e1a4b64eeb
c4fd3a8b1fbc8b79612b3d24b556419acce11a7836e21e7196dbe4e9eb0b4799
5ccc34672873d883693412696e0538dc16b96a712e0decad211fee4de5a2485f
757411d39b98fbfb71a7e502e44c27f64f01f8a3936bbb84b08f2a33ccf0c2b8
65ae606a712e05cfffcd2f48a352c6b1b5abf17af7bac53c33a4877957566149
550605379e3224bc792a9d0c892dfa78253f075fb127779500d36ca17c6f393e
55d2765289fb4c58c9563136f2fcf56f15e955c42a3bf13252aefb3f6545cb28
4bad82622089310900ce2bb8c51aa9706ead23e5db1f143f2f672ad203777d9f
ecc0253088e310b0c696a6d371f4ba8418c35b9a37af89e6ba6594b458ec289b
635a596421c06dd5d5b00906fefc46462ffc8124b5dda2bd409bdcf188921e70
c3936ccbc02c6ce91d2f8ad339489ddca1840e7f3d8b17bd22a7dc41a4e11992
38cba1c04cf4f67d1dd5ff906cea46d85f7de0267f16abe6c3d4c907beccd2f9
24ad972e0cf7101962340eca64fdc56851699f207c629d5ed33dfe425b6d14a7
ca0bd383ad3c871e52e0006ec7489ef590edf72f4894ebea75edb6b52b567953
59be1f67f0de0daa1800f806ec5760e6df852b46a65c4d99ead16dab6d35bab7
949e99a51e305e35e310b3bb6ce77f57ea9e67adc9609704b240dadeaffc4351
38b8529a311078571bb3d876576c788b9b299f5d167e2a6820919238c23de979
658c162206d3545f59f2b1847e4635a80211cb76bdb9d040e53bcaf52a6fed48
3d6344bf7c129acd3f5527ffdad07c9388e5351966c7eeec919b23e9653bbb64
65e7b4601f9dc50dea179b0eaf3e6a41a4634d43c667e2d84eb0b85dd11e5302
b53435b077205b2c7455b139f4555251da3df4dbe072e9ce779b72a8d8c19d47
ea794e879c90d30185f61f744490fd29b706334b4d9068b7e65002ca5a51909c
8bc89179c1e2e298104dd50f383c93e30ae330978abdeaa1869fd2160aea58dd
47fe8497bf214ab2275e5be325edba33c96c28a015f8d450f1be9b57710c8ab8
c0163e959663dfcdb977f5fc87af13d4129b61a4b8d73889cd830f8f9d16ca29
"