216 lines
8.0 KiB
Plaintext
216 lines
8.0 KiB
Plaintext
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=34.0
|
|
revision=1
|
|
homepage="http://www.mozilla.com/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
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"'
|
|
'csb "Kashubian"'
|
|
'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"'
|
|
'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="
|
|
149ac1533dd26edf027d571c099ea64ccba53b9ac34aa8530bfb23daf8d5addf
|
|
42fa2f1cca92b6e12ad3849188fe64d4d1423e26e5bd15ecb9ecd22dc5908f1a
|
|
df36cd3da0b375649953f9dc53c585a2c38b0cc27a0644cc9667b100e22525b2
|
|
22081dae56cb337ba59d1170ce2918720d21a5b792fce33eedee4d4f522c4c2c
|
|
c9d19b3c4dd37ea16a47c84d72466f14ccfdc0e13ea7872a52ffa89d6f188b27
|
|
c2a7f10a88e44f0172205bb4d3ea5c43d46d582940234f335539ddde09322169
|
|
6e83903f3ad4de5ca01b7823179e410b07b668ffb9611b96300597f2815bed74
|
|
3c74f343bcc99692441408f3edba7452db45515d7f31e0f35fbc4cddb611843b
|
|
749a555fddc2d0c405b33c59d16edeea099d463f953421c40d5c175dc6102ca4
|
|
2707a81cf6bb5c9799acc942809c71e179fbc5f0ba7e6f2e157ab1ea6f6957b9
|
|
5781f8e88ed850a19f08c887693768f3482d1cda96f85b50e0a62d5f6ccd70ce
|
|
d15f274986a0b30aeebe5476fb25be10f903c0ea62d477f43b24aa57381c19ee
|
|
be64a60a57845f46890a376af1c83e2549e8429e8d48290f2b00e078a82bae01
|
|
1aaa9671cd060eea6e3eff38731c47f412f05b3ddd841f31d522c3498e30fa12
|
|
14edbabf6bcf9569358c30155bfc966c008cc40c361b5086af1d678acf57bb69
|
|
d69adc511e712441527db7bce798cd31fd3bdde989e6cd5f718d72fddbca94bf
|
|
f29ec57ba606e0d8907224ab718559e124bf6c6862f329a8e3239a13247033c7
|
|
9a27c48f6b26a5c27d3bc21deb2fdf2baf9dda7b0528cc7713a9d339e0917b6f
|
|
424a274e46bb26763740d6919254e5d8858cb18866b86339ef961ee85ac52389
|
|
e22cbd210967d6edcae8257d1c0f10693c00ffa22d16439172be8586c436317e
|
|
cb38810c8bc5c6ee2b81143d02b7666b4deadd9c30e89e933f5627b3d1b6e1a9
|
|
56f7c978c52b2c9cc59344c874a63414c4f46e6c4d1e1b389d3784bd1a640d53
|
|
7855183c9aa543cfa219554c862f69739751781f2e096258ab70c0fcf7898f24
|
|
b503dcb0f8afd326bbfae29aec5534e8acce9cb900570e2e3096cdf5b90e11b4
|
|
dc843133efc201507507c058f65cd9512c6f5f743b78e1ea2755d4b8afe833df
|
|
6f595e8d066d196aa704f8cd49d485c81d9cc006e14a22d25a7c54cc8ea66b97
|
|
c2f77fca1634468dd4c95afb774f7c82b4ccf0f70c93b89ce31dc6adf76e64cd
|
|
86bb36a33caf385eb4194d1a818edfa47e308742208e6dc1e9965c7e33df938a
|
|
e0226061d34daf64365d566e53355678110391e22c2e70a2e500281d740eb627
|
|
0a2368ace005c4f4c57c120925912a15fcbf7f86755109c3fe9cd9f8473d4af8
|
|
ac1abbfa79902556aebda2641527dd837b8b12e440c0deccd1496bb5b119db2c
|
|
9bfc063ec6c6a8f1f2c5172e3603736d12b2420d7a8ac53cfc0b1ccd74c7ceb9
|
|
ea57dd2558569df9e20c2dc0dbe5c89514d21f3e048bc4a0d96ead99bfe9a5bb
|
|
6258851ce824ed27af35dc17c104a424c57078ecccbc45eaf0fd3c31efb5d37d
|
|
c704baa29da43bc8ae3628c8a7184d0f99ffdf63bf38649d5ec6fbe0ed0cbf54
|
|
72ff0cbb8019ce4c8622b4ef12df16f201503877e4d1cb3cb3d839c29d264d00
|
|
8bbbe41022ab53eb937b64535f0979ca21e1ac148d35c3a9817bd0e304916ebf
|
|
4fda9d2b27207aab430733a37f8c4e5fbda1d2ac6903fa177d04999f82050922
|
|
edfbc8325dceafc196cf011f4b0549ee0274bf19cbdfb2e7918c38d6609c9be6
|
|
56afdc0beb07e6ae77d0de9c30749c0339a9f00b2f88f89118c4b1c6853178da
|
|
caa4a36240ab2b3c62d739cc11a2bf72301991da66158f359a22a051ef19d428
|
|
df4603f11040774b7536b09fb3242986da8ace701818ada6a68ffed3c928bf14
|
|
12d54fe9a86c6b712f424da91bd02e2650b0d6107602381898ee7ab03437665a
|
|
ee10020e984ba0cce4a3ff28307d7ba81307865b3bc32acaaed567d4d0c9079e
|
|
bab52e13e1f2bb42213bfe17da8f14fcfedd7a18deff6e1808c2e50fdca92f6a
|
|
7eb2622aa62c38d0e1931ffee38487043bce07d6c335b19e66f4e8f84dfa651b
|
|
570ab2baeae1e2b7c662a9da8e7cb5c0f69f64b7994a1843a93d672955ae1110
|
|
97ba9461ab72fc0264997445d07015eb2d147cc7edd3480aca1f8d27085756e6
|
|
d70cfd6c76fcc47985f7ab0d6fe4bd7accd60c8d74f1b786c2ef62a5312147f9
|
|
816200ee7e9dff6267d85fec64b8d3e7917f05c5d119603c160810197ad418b7
|
|
1444de0225fa3615dd7c3139e011e8726b7fd87bf161b5e1ad9e0a38c83da643
|
|
0a88da7b74003c0f6170a5384367f33eb33f4754c84f5ea5b029b109c3f55e8a
|
|
87b6e3707554b8418866c50fb4e3ace31c744dc3cea94efceb78c4574ba6f26f
|
|
e5586610e4cda388a09af7dbc97dc2e9e42580643d753d13e1f613ac9344896c
|
|
ee231f43e96dc7ec3bb3612db90263fa1328bf640ddec7867c26752fd09a28a9
|
|
7ccb6fe80fc71ebeda2b0ad6050b1964ca5e3aee8ee9dd38f14bf5da45688b17
|
|
d26c0c7de030c06cea0ce36d5295d956ddb6e85bc92a9925045ac17ef87e3344
|
|
4b2a32588e953aaf616f602461ffde475eccfbee468066a068304a4c429ef5bc
|
|
7404178eefd2fc17ecf0ef0a126f106f61dd142b930ffb8dacf523bb3a5c23a4
|
|
b3e129cb088846cc56f6743fb4cb3b36b550bc9495cf9dda7e1a6c9ac3477b7e
|
|
77b92ffbe393a097df48a4cbca93cf795aa2bb33e654848855a76e264df810d1
|
|
7236bcc95b1483c7b296a2ced73bb02faf70386a9c59630e4a1d25652deaa86a
|
|
69549b918710e2015a17c39eb950066df00dd36293fba831929bbcc14df1e2de
|
|
a3b7a826e614a4392a22d72c89b46c51a0be9f2ceaa23a76ca5952a21a7965ae
|
|
ce72a83f6f707f3d25177c57e5c36bad9b09b4c0c4b945f19f68c2ed8acd13d4
|
|
3db716348f649cb3fa94419f9079e2ccc80eb9927903eead6f73d2a279d1ff12
|
|
a5450a020d97c9b543733e6ae332f6a2c34b8208f1008cb50b6a7a4fba2b3c0b
|
|
1ba9a5b98afab094b2afabd226eaa3e50c70d38a78adffbc04d5559da5d622d5
|
|
2ecf6c6ca22007c7ce7c2c9ebd972e1522a0cc513b25924f2cb7ae74abebddbc
|
|
61656e068c8038cd2e5a8353744af36d5db97ba3c69496eaf44f3e60fb53cdbd
|
|
2638d0a6b5e59482e97783530369447bed44eaca037a4bfbab39c5f19e45d80c
|
|
1e24ea64b1047f0ff6848e8947eb67245e94b5127a5302f7fd8d14f76311f6a2
|
|
b319085786ced479305121cd12b837e8b37dd99fe7b06b1ccdf3e7f45e111800
|
|
461e8ff6d4c1e3fb75462c33bf521a19e092a69cdf57c54ecb9d64d314875a82
|
|
d7b512fd20e2d0d7eaa2d627588cfb3d0938af4719e802413376a961fc2e786c
|
|
f73d1b11daf60741943efbdbf06026daeabedec96e4d696e4fe396a2b55a2072
|
|
2d4c7b5637268cf63da948f56d76fc17802c9ed7b6abb2b7561b098198e6a1b3
|
|
b1006ab9f36c2e6f66ae3c94bcc0cd84a737f43a03d963a2b320e4aa4d99312a
|
|
840ae611a193a81d1a3d041ba37398e84a657ea45cb4ed16abb46bd933017df9
|
|
3edd3eb6770640701f99d7d95f19375e83fea8bdce6c11126ed00a54e6b95e3b
|
|
ba3d7d9ffba0917b4d2f1f535fa9ebd2e15c5498a36b2bcc78a545e720878296
|
|
48483e5e1f3631f281ee11ca0ae03c5d4bda49f521dcfe3da164c9ec0b007e6e
|
|
bcafef9127e3edbd3224868eff0c278cf0bb2b5bc36d67b51181211c874577bf
|
|
"
|