void-packages/srcpkgs/firefox-i18n/template

222 lines
8.3 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=40.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="
2bf042624223f6601d33efd204fe079d799da23a99a6959b83bd0c3480b9f58b
c27a5a0d45b0abba56e0667262e569696937fdaf989c8cf807ce1b6b51639301
333a74bd651ae20291c876afe3ae59a38e2d61bc48a4224f2afe752ed6d7f0e0
ba44f546fb3d5b2b0fb0eb01554159ef632d72b039a9d270b16dd653a521cbd5
2ea68119aacfd4a0674e48035e8e585fcb44c02e301c48c29e930c54735af6c1
672ef80f41620eaf332e9d3b2c7ca926a7bd941319eefe54bdb61b44c233f5fc
8bd68176495f5a8d066cc4ae98ef4d7867b264edb3532ee9abdba74111a59dfb
382675745ac4d24906c07733ec1312ebe175e67346d2a8d7d765a52e3a6bc647
8b18b725def0e1a65ea09cf7d55a903b667f987c90a47e19f6ca59da465c8b0a
72afc3f41be9e6675f24a0e42dcd772456ea19d1b90ca1eb3bee175706f1c951
36d591d7d2a8296dc0943e6ab842aad7ea62d95fe6d7031fc0951ec335cc6476
acda313d009338de3e08e7f1912c775bac2e1cec55bc6597d6c444a28e044376
9ecd859dffcb095b2fbebe6e1436ed2b1b98bd9c4f1aec5f66e5dbbb52d435b2
0375af25dc5d014ffb3f341446256eee23a229bfd7c0647f3014f9f2bbdb4cae
f945a059c67415984f5b04f11fc90d9a562a97ad526d4c597517f5e753a45a49
f844ebafac2b5b4a98a937dd63010580f24085b8fc69d7d4f495f5c6a2f0dc12
739dabc8128fb415c4a765c899ea81cee410e13f0f44a4772cb3b2aacff33d6a
978e8f2e063c5d18652b4f6522d5744959e8b066068445f88fcbf37edcc834de
f62357802b6e0dfaf1600403626b959ce804e6d0bc052f7631e77c1f89a822cf
ab77395ffb742d295fc215bc89cae678999d5ffea9dc3be1bc5e9cc940371d35
0219cafc0088418b36aa33768c5fa87a993435b447c7bf3fdfbd8ec5d153483d
bd04335f4a918cf14c7054f635a4480d541167849c3298d1e673101db9312e91
d8a8bc112ef243c9872d7c9bf40e5e8030a409fe50c5df6574adea3423fe92f9
816d4842493528c38e57c9f8c767589cb21dcb0344013275bf3247f2f6ae3372
717cf73519c7cfa2c303e93c3803ab1ad6a96c8d39eec8565d533c1269c0f4d8
f17029b78dfb27fdf412db37b3ef9d8c78a5fd021544b8b307628b1dd07fe891
034aa0d37f4c5b00928a2309a3b637d40879dcc7e182344e9ac3f7afe4a2d366
4f6e2a48dc7add822614ca8c385613e1da8ffc24dd464778aa7a68e5121fbfbf
95c4619937f5174c2489a61837ad16fd16160e4ea936d78ec78e005177472890
a200a189e314851b69d545cefe67efa05a13ecee1bdd99998237daa4bea9508c
bc0a3f797ccd205ba1422712520c15b00b20608e2384eefbc2c3cf580349fd41
237f98ffebdc7d90c302e18c9525a410aebbcd24194a78b40ba3507d63565103
d9ecdb508f1c61433887ecfaaf4b40fbee6094c08210026b33b2c55e02f77cef
3fa87d2e902112011fa1c7f8fbbd22b01df06ab5912037deac443c21dd98874a
6f959a6e5af7dbb0ea7b64e26cc326287bb1212daa9b708490a9e98bb84791d5
cc98f3063acea1e518c6c86381ae78ba74a2ad8ede540aa24edfd1885c0062fd
af114286df0ef1f474813a2d31054a91b43f10b9e59cdc2043d58d8d5202a88c
dcbfa3a6f39eac1b5260b8ce53ff02e96a778cab6aa31c1d914da1e9717bc82e
7ae6231fcab57d136cfa3a17003614deb5389d57727fc11663d06cd5cd2d9a53
7a1eab4ddc51f31961e10e353dda619060859098a48904c58251ec9821b8de9f
7be09bb95314306fd2028e19d977ee7c723ffe9a42eee28022201aac02546bbb
fb408dd317efb91a8367a732664cd743bb5a1ea3cc0b2b68b7783778cc0782fd
1579b5aab3e6d60bd8a43365f7326bb1bc6ab3686062a806d53687b6abec78ca
1c7f54e7d2be75a1a57a3e2ed210d4ddeee9961b2338d103d771a3d6bd967573
26bfb9fb276843348e5c29631d770ee54660dcbc362b1e4d76f2a0067e086e58
eab9aa1ba9a8e26de0077d06d535682e5bf97ff1a5e8c7a183a891ea77732900
158c3baf7ad9f9df08d296d1def5783cf42e205305698d4f397220368dcd8f8a
65253d32585603b09c67b6e0a9e46edab188c6f8180198d51dbff9b2bbb04705
a225fdb98ff240008133206507f77e2bdb015c094c7bc244cc93ca13f904b5fc
c98f4c40aa1d8e5f98bde125753dde3fcbb23e1a4b602a79b8bb0105ef002c48
40425cac771da823aedc74dcb244900ee393e96f4009185b5b25c34439392f38
17126d02bc2930cf84fd49743a807ad533d7051c64184fdba42bf5a5f68974cc
8139f4cd32c7f52480c79f3e0730583ebd74414004a47e2692eb3b4da9b1297e
c2bacc0cedfca1aae2e942d14a94f90bbb23af0255b42c5d5551810a06d30c59
cb4e2d688a5c8e29bb9b004acfed4e341823fa19d4d3fac85ee8981a5aa04d79
9f95e4b0a7cc9f0a113b59c7e7e75b52a89bd8716a486f51bda78a5826e4ec9b
a7adf482949a1512eefaeae8f581336017ab8f358fd740c8bf3f9703087e0124
7e9c0a474f92b077f982fce6946741610c20c2434fbbe7c7679356d73856a641
4b839044e4315b99cb7d5784b115bfde8646b73f1dd3e8d0577b623a4ddd1b6f
40bff0aa3c56eb6d8e4c1ad24c23951bb11d19da6947dc7dfac133be1783193b
693f9696ef9e2cde3c4559ac897c6d016f625bdbdc439f3361d9802de5564568
76933624db55b39fc578df5d0fe0dfd814d87ccb598f2e85aea735eaa410a360
5a0bfc9e8d989f1ba9eaed080ec1a834c466fbfe151a7ba45e99403305c7cd2b
69e2146747169a8684d18808f782b66af3fb1c8a4918561eec016ba7e9e70899
3bf1351beb53e8c9c88a31c07ed11bc04d73f2142e3682433151cd719f3fa9e8
38250030703f5038f86d232b9a1aa02fbcbfbbed3b409638677dd5d4b958d79f
3cc4c8332abe819022c9d91806562f62f2250703bed9d5b0e6dd779b1adabded
12eda441f393186eece90b8eeb430bce14911d3424e4eaf02bdff38847be2b68
cbb2508ca087ae4b6d632a4ba67f3514d8c63816383d87199d11197c3d84987c
f5f56eeb69048fbfcc15b5183ad8790199e59d88794087a62f76d2edd79c04bc
79d872094eb7418df723fdd788437606ee1a8bf9fa45b228018b39810d5ee9bd
d4a4c60f096c34eca0b7a050875d17ab4f41bf2d0252a9942c83fe3414e75e5d
156b8bc241e157a73f560283d88d19cd70cd44357709367c2f220a72c87d5d37
9333118588b3632c31f7a8a5d15b07e7c0c2a4dcab17e9e0d1dfee15beed9294
fbac305b71afee848b893ff41d569b3929f76c402aac3408663436d4692073fc
2e2bac15e6e15237359735dda135be6182279ee9ffc3c17878772d508c02a8c1
81a62b5e56da28964d08a96c6dcb5724065d8c0a5f151f5d0729a8301f4db346
329937e8885e477b29facf46555b538a93975dd3e38bf08bf381712945e76fe4
668bdad5e8953de2ffb0275ec8b3589cbb332547ee9cf8d1c7aa5b743add2e11
72fc7ada784d4da115509eabfa808cdbee49b2a0b349ae408bd0ca5b42d6bf0d
13ea592bab7b12735a7a6f1d9b97b9b44c019c9a331f74b50cc79a626f737971
e9edb4f6fe22dfe219139339eae20217d750e15b87e09d48f0ad01394977795b
69abfe7f457220bcfb5c9a93d9060e514727e81a24c92c5e5c0e305dc82fa037
ec3ec41053181a909e009d1b003e8ac488c310d1e9e8aa097b153f80aa9585ff
9fb5e27cea841f5ff90c4ce5a7c382af0eacc9346d0d603bd801485eaf186afa
d17a026f9275593f7f151a1ef2b90be281e483720647efa802384958d4c1b505
"