217 lines
8.1 KiB
Text
217 lines
8.1 KiB
Text
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=27.0.1
|
|
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
|
|
create_srcdir=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
do_install() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'ast "Asturian"'
|
|
'as "Assamese"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'csb "Kashubian"'
|
|
'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"'
|
|
'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="
|
|
7fd51b61fa65c8b97c3fb023df17f3eff86856fb12b5a81a8f384c3adc8a008c
|
|
3c24a0b84731383c0adbaa1740cc70a9e303e3f9d4ebcdf30746715cb46d4251
|
|
3028370e34522ca713b27e3386513e24b25c4a2fd19e8576b0b6a61bcedfc816
|
|
e5b01b8bdc044f5e82b1838b7020943ddb0f2073d4012223a5885524c3418b59
|
|
db854e118d2496742c40cdf0e79f5960755a4b17f217fbdabd68b4457ac515fe
|
|
57c1f1d5be4656eba68364ee932db93dc38c97bc34662381c64a3bf970ba0e08
|
|
014744016427daf5108b5cf8718e0bfe5dbdddfd1cdbcbb5eaff15e00b4b909c
|
|
90790e53f3376ba63de99ee328152e1716a5213f4b6d8808f854522c68e00752
|
|
f9599dcdc3a93ca3723f12dbda26aeae0cb8101f9afee7bf64e59d22483ecda0
|
|
0381b7351d5ee608e57f34533c7bac47a34bf9e8d3fbb06e3e72227ae601ab00
|
|
bd7196a9a26540bdad362a8d0231c28eb5aa40b11ce8651f07b62443d10b34d7
|
|
fffe916f3425bec9abf9b140a2764f41904b1262da3e2aff73b45b72f7ce519d
|
|
7f731c41b280dc32467dc47eac7f9e56710152cbbdb54b41208809f0dba2e26f
|
|
80cfc2967b82d75f0f35fae680b1d8e1b040efa370b194cc69fc175cfc6ebbff
|
|
ed58e9e4357dbd8c227853f5479657e507a55c66ee8d49fe2235e05ca4531954
|
|
8631a1bab826eb59ad80e9bd36c7b6e74ba020ca3a30e66db37b23cb9287fa59
|
|
76e69f0ca67743fbf353b6140882d61bb453c665c7c94fb1ef588850e4a823fe
|
|
33c44d716de9a0cd094683194d42b48abd0284e56a5fdf09ab727041be60015d
|
|
bcdbf20656d7c651aa4c01c0ba8955e97e1611ad55c9f09d462c35e8f3e86de1
|
|
cb0b5e9881ffab4391868f36caff46a9c83d6f730c66e8945f5f801201e6d71e
|
|
20580717ce76995a13d7e49fca1816d3a90b596d6fbd8b577442b001ec07293b
|
|
5c205cf950441f8e92a183ead11c1c4fdf7b476aacff36333ededaa2409721d5
|
|
a49b9883cdec950297b5b17657a401c3f99cba6fb2dd7c8ed930c977313f419e
|
|
d9512918c64dc2fadc8b456d636bc843b991d8dda0165f6ff2348b1aaff1cc0b
|
|
a4de8098a9eb283e18e961ed620cd5161c4d53197fc94eed5bc363ab87c5397c
|
|
0b41fdd43acd650f4168d1636ddb11ddbfc93c812e22ce377c0a8863ada5a455
|
|
2c058329513bea6292eba9ff6e9a327b0bfad1f18591bcb81d63c9bab3ffd03d
|
|
a63e66601ef3407058c016e4f3bfc7e3ceba1dc376524b2f93217e34643ed77c
|
|
1490eed610bee140a263ca8416d0d1214441112b0e51e359c24e0dc0a201268f
|
|
ee1404e5c8d2ca6a550bf5c8fd9718fbc808ee0b8532532681c1390b8e4c6cb2
|
|
259e791b24a91aef78c99255b771f157b1efc3739d405f41e9c326878835e950
|
|
7d03eb003395feb4fac862b1d0f3737410cd5392041379fa9792a9ed3127b5c7
|
|
35845cda7de27125e1f55b755fbe047ecc4eb43323c35fa6fed0fe6babc92510
|
|
001d37b52e9d2652ee76ce471ec48bc77e6707dc4ad4b9b6598072cc70c2b553
|
|
6972479be553870844a3899c940f8b20f5141da4d379080828ec88640ca2a1ca
|
|
fc5b481debae6b1e6cd78bbfb6663b008097f41926e07f0409f4d20481735898
|
|
c26284cccbd092f5b088e4e918982cfe226b67e5bbb678ee313fca71c3368937
|
|
b859423e664179e13a848d8005a8661833110463c8e4d4ab8d90b924aef32e73
|
|
924785657676ffe4cb579ff600af27dcf0a83bd578bde615e30bb9ac1aa3b353
|
|
12d4b7d7ddb57f75b4e803c837dde4e5c1e0f89e90ad47f9e0513221480e55d2
|
|
c7658a709f2300368a4e41641dcf39563e38488a29d8728bc00c44d0a3f991e5
|
|
3e546cbb23b0cbbc26c0a1e6a755415a1f830860e5f8d0be6021057dbd77ce4f
|
|
ab18c9facfe79f61be21a5a50353e9aabfc45a8ce3d142f33bfab054f5bcd8af
|
|
5c5bcd4e320d77825c773d09db994c4ea4bbb06878102fef196d4ab69c54a122
|
|
9e1a74a199ec59a1ee34683bb372915041cf02b40dc3254b201aa60e7b98e037
|
|
33611e4a44b09aa5722469c1435308d7c8deaccb4a85b68ac2d403e982ca3d44
|
|
a13e62eac0e4f7b49b5c3ac3086bea943c592aff36af23b51f5dfdb7f1ddb9cb
|
|
53bac94b5edb3eb08dd0b798dc9e1fe2de3765682465d5ebb9c91da68fd3c7d0
|
|
3f04c7152b4369fd8b053af4a0917a494b8b41a6e8c18ed5c8879b3bbf20ad58
|
|
09c49b9f8d2f08113aa6a05650f6cb2540b879cff0918ff099c213a17c7ec60c
|
|
4025e99a1f58e81bca6fb018fabf86e0eb4b47aef47ba428bdad9d06d0e17f5e
|
|
5d9a50591c42dd54bfa594720d0ba00c0e042a1317c3b2de6aa60c3e834afb88
|
|
5bc36a930ae8f79845b1cfd7351bb7a5a67e886b2557f187e4441132c53ebe6a
|
|
62293afe68096c14e60cae956a6f48dbef31bdbfc3ff70c70f356a67e7d4223b
|
|
2a7c5aa6c723cae0770ef64d94e72175a4d53e7be003f1ea7691e0bd86a15022
|
|
a6fa9c3256b2c2dba54b3bc6bf64320bf0ef3aab1f0f0957b2a928916d05924e
|
|
bfb1bfd5ac0a4b5a95651b6eb25aaf2afbaf923b95ec23adde0081ba36f720d0
|
|
a8936b347d671483ae24bcdc055406f47447af4a4c74632b51861e8128d9d550
|
|
8f2871a4947e1b64a8d7f8a4e3da0ff923573012f5e764e3400a94347a4990e4
|
|
2810dcd7bc5cd13a7fe7a62ac8aa4a5e5f9fd7cc381f0fb7c01dabc91c588c4a
|
|
76f6cbe08a243d6d12d68b9346c32a98c24bcf5f2eee60f69ba6ec855cea256b
|
|
37b5a1211e8f687c83ed1417bb493a55ef204457937a9c4a6aafdc18470367a0
|
|
c0aead3d3a3f13f777dbd8bea6fb4e231515d21c0e1a594aece28ba1ded80417
|
|
154e7a7e8e41b3a44db436bf09a37c82eb414e91f51a2f1460cc826f6c0d8d2e
|
|
cee65b6763cdf4b619cf61aca2ec8507c078f9fd2933a961971e51f0e28c3810
|
|
fdc1ac828180a1458e852964db1714abe1e9e52bedc0a8856ed06498673febf0
|
|
edf65a7120dd2290a210baeac4a7ccec9cf38b06ae427948577495afcdcdde2d
|
|
eb9b80f7772e1f3eb32e3ce637cdf6bb7c48029e9dc9f374e7177ec87b5a95cf
|
|
57281c4b0a56473ac156b67ec18c1f6e0a990b478ba098c81169afbec2859843
|
|
aad9269f18e788c121575e947f4e32664221459f3ee0196427c37ce48d48eb50
|
|
abe8710b398cd669ddfaef007870d091ca0d25f4ad9f167dd1dd76d3ff604659
|
|
afcc8af1060913157016d3c4ce2f61099ec11bab9ce8e6428383abfe01f781ee
|
|
41932136881f0cf6a3d34510a1bc70a0e77cc7b34ff75fd976c6030737388070
|
|
01d6541ab4911c707f03364f884e69313c618f1bbc48092162e1a8fbcee13f92
|
|
08182f6733358296930a9cbcf91c3f49629520a08fa6d97b158b6c146dd09375
|
|
167f3bb93df3e7a71396dd811f69338a5fa7fdc9fc35c8c583b08a9ea5dfa0b9
|
|
3f34b2ffb2c7cbedd0cfe209846f7e1312cfbf0806168a274003dcac0792e5b7
|
|
ad2af4a27c81dcc663719afb6ec90cd239221e9d476bbc2afde4b593da2693c4
|
|
47cd2cd67c7a81bb9739d2a228b7577387ff4c4f8d64584f3deafcb588c2ef9c
|
|
706b7387ac51d07c323a0c56940b4db1fcb291b2e52919299391a687fa24376e
|
|
6c13394dc0b7172e391b4b1d4430e96f5033a405c92fd39e2e78508c46d0cd92
|
|
ff705b97b0173186116ad31470f0e336805ab572176ee5826b263775dc962063
|
|
0e0dbcc76c2408e02b90f6a6c9a6bb0daa253c7330bf0d17aaed7fa1768f7e87
|
|
"
|