230 lines
8.9 KiB
Bash
230 lines
8.9 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=70.0
|
|
revision=1
|
|
build_style=meta
|
|
short_desc="Firefox language packs"
|
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
|
license="MPL-2.0"
|
|
homepage="https://www.mozilla.org/firefox/"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'ast "Asturian"'
|
|
'az "Azerbaijani"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn "Bengali"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'cak "Kaqchikel"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'dsb "Lower Sorbian"'
|
|
'el "Greek"'
|
|
'en-CA "English (Canada)"'
|
|
'en-GB "English (British)"'
|
|
'en-US "English (US)"'
|
|
'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"'
|
|
'gn "Guarani"'
|
|
'gu-IN "Gujarati (India)"'
|
|
'he "Hebrew"'
|
|
'hi-IN "Hindi (India)"'
|
|
'hr "Croatian"'
|
|
'hsb "Upper Sorbian"'
|
|
'hu "Hungarian"'
|
|
'hy-AM "Armenian"'
|
|
'ia "Interlingua"'
|
|
'id "Indonesian"'
|
|
'is "Icelandic"'
|
|
'it "Italian"'
|
|
'ja "Japanese"'
|
|
'ka "Georgian"'
|
|
'kab "Kabyle"'
|
|
'kk "Kazakh"'
|
|
'km "Khmer"'
|
|
'kn "Kannada"'
|
|
'ko "Korean"'
|
|
'lij "Ligurian"'
|
|
'lt "Lithuanian"'
|
|
'lv "Latvian"'
|
|
'mk "Macedonian"'
|
|
'mr "Marathi"'
|
|
'ms "Malay"'
|
|
'my "Burmese"'
|
|
'nb-NO "Norwegian (Bokmål)"'
|
|
'ne-NP "Nepali"'
|
|
'nl "Dutch"'
|
|
'nn-NO "Norwegian (Nynorsk)"'
|
|
'oc "Occitan"'
|
|
'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"'
|
|
'ur "Urdu"'
|
|
'uz "Uzbek"'
|
|
'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}"
|
|
conflicts="firefox-esr-i18n-${_lang}>=0"
|
|
short_desc="Firefox $2 language pack"
|
|
pkg_install() {
|
|
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/${_lang}.xpi 644 \
|
|
usr/lib/firefox/browser/extensions langpack-${_lang}@firefox.mozilla.org.xpi
|
|
}
|
|
}
|
|
|
|
checksum="64b48bf93daeeca554fcf602e36a163e169a38532b69dd02636689a5c2a647f1
|
|
455082ed8bf07b0ec0c7edf62c6d78d0cebb11fc0c7a6b3c7e6b63b934c1bb8e
|
|
7823562cc05f0312b5fd61a29b80b068649a820ad20525cf4cc142262b3643e7
|
|
691b74c7c21877743e9089a3f9affb2d9926df08105b454d9ebefb00b50fb5d9
|
|
656341b0107c9fa6c638a372a9259e47c0131f8e440e24ffd1c4a82acdd97e77
|
|
dbde666681f49ced07f95ee9b4b77cac943d77c6d35142b57b5c71813b192917
|
|
b0a90757b960e4351d76d947042797eab803c7639de04dee2e86aaccf8ad6ff8
|
|
32b823857fcd390c90d220a1078c342bc23b56205bd6419726472a42969a6dd9
|
|
c23a3e13bdb71f0b0faf1106c77db610a1ed7c9debbb47d1aecb84554aae1420
|
|
9a80f08c9e85edebd9f6528df7629ebd105c11579be90ee52c9dd40b9f670c54
|
|
ba44d089cf30d3c9c6ad7a9301a0c441c29ba237589544ada921f3410b0b8534
|
|
cdae152593e692e9e4ef7c7243c7ff398965ef85adcb6b7a1c31d8f958f0af78
|
|
d9026e6557f26532291df346218e5b4e364ba6388590cebf860b99d574f310d2
|
|
7fada4fb70b048fac1ad38670f6a20a8866704903cc08156a5791170b9d0a7da
|
|
8b0ce99bf15a4623e53bcd38f009603242439a4f029cb74f64630b4adfb210d5
|
|
860710e49efb75e17725d19b647e02ddb47c2ae828daf7c8042e71571721fa63
|
|
17b86818a0b4ac9eb7ba9a30c79239040ecacaee032d6e805ef26da0c1bfa226
|
|
7b5ee3db8a8b157c0a6209f2f86450e2eb12b319fe4e1b539635330beff1eb08
|
|
36f5de9484f194e5bae60a1442601e7eac440fdf514c3ad43b50f34095ccb821
|
|
3b1c5e7a4a180d0dde02168c857d7bb836efdfdc47f5acb7f8923270def4d79c
|
|
492c459919debd1bad90df630f215873201f8e798ab850adbfd81a986fa473b0
|
|
fa8cd6796b5ee4d294394f86b9331695c706631e1e4c475807c16cdaee6499bb
|
|
5586500082fc4731351da55c784a71eada91a8287937db0f8b4e1355025d5896
|
|
c01b87904b798c28748d9ce49bc3259e3a8f33dec2eda85b23caf98bb3dbad25
|
|
07d473524a8695071940fbb6c231e60d6b6e5d785bd3fedcf665cab9ecd1597a
|
|
995e03110e0e7b9c1b89127d141a07a30b663935bc051ddeed20e8ffdde8f59e
|
|
71524b16379a029309e8a5dcf17304063e181651fbab05b1987d2d050a1306ae
|
|
372269e1a7ebe86f901451aab0d40447aa4c2e99b6d2a5625ea83109383a059d
|
|
a949c60bd021861b0cbeaf515e85559795668e146edf1f8cf8e61a61fdc00c77
|
|
bacaf5c9e3f168a33e057408d40807ffff0c51665663c38c5c1a281e25f910db
|
|
a6d0e754ee752a5491896ddc95b29f3262d432d5ad25a544dc8c5a5a5a840e3e
|
|
f3507eaa6c1168a71cba7479e0026e357c351e577a9979fc697ef33134e5ced8
|
|
a572bab97687df9ec0e27a35e37437b5f32e233906935893677df7fdbdb9cc4a
|
|
5c5200acd9b82404a5f9d0bf0164717f92f7e0fc4a4ad23b6349e7a53db550ae
|
|
a57ca0802d350dfcc5ae37b45d0afaa967fa7e01167d749e5c40735efcb39537
|
|
aff65533ba9b6bfbb3d1134f3884fef561d03701a67a1aa6dad84797967dce06
|
|
ca025f3901f4b5c998d33b24729be8c6226c7740c8240520807d00ffd78337af
|
|
1353459dcc1528ac1a1b884647c9eb14d0ad82646a58ff5a79cb0940497394c5
|
|
be780a6f3ac88239e95b34aa05b6ac5d4f12971e4b46c1bec67b0718d086f020
|
|
d06e16174f596541beb122e1812b92a1fb225223a43d45c555e8745eef4923f0
|
|
64416ce0dcddc89c27ce091520ae063ad406d1246b79890a7160e5dfd36a17fc
|
|
55f4cbdcf74ebaff38a0e1b2e71162dab398b1f8d473f92266956bb2489cdb01
|
|
d796c19cde097a29bc89bb846f1c944e84976769a01d217e53457293404a50d8
|
|
1ddc4115d24a38dc400cd8d64f2a799a2c158c8ca3b775ad4356e9864b005d27
|
|
f879411069d4f893e6b54998213fc0f9bc22c380636f0271df497651ad1286cb
|
|
8d586c3dd45467468332ef347a001117123841437e32be7ed4f6336a8a22f63b
|
|
f9cd6cdd7da32bbda176576856d47227f274e00678c892d46c53ca6f17a44e6b
|
|
4aaef87870e503523ef3e1d6f61f2f9b810e88d4f28e56a3d35476384cadb981
|
|
aef744e8ccb85f03037cd8cfa1ef78cf9041d61fa5573f406420564e6c5b32bf
|
|
f85a86043791c83ed84751d5c68dd5cfabddc0fed5c411cec752404b0764675b
|
|
e90e86b63bab329bf78e723eec8525aaf6d257dbef2023ddb71b08a082c25fa0
|
|
54bfa2815b766d8cbc740c26fb6d17a799d71e9b0aa6977589061f4099875696
|
|
5232ea038a3ed9988a43a95b40f5c44306eb42839acd0bbfe9d6619b6bde08f0
|
|
f3064b0ea11aae7d1d6b6e0b1e07d7975ba96f5ca69b1b6557dd9eef41f9ac3a
|
|
9e04c87811a6ae0d0c5a2b5910fd9c794a237bb15c5118c2127415b3e6ce48e4
|
|
83690e25efd8fe39fec6ff0451e4a4bb748120caa5d9c14e3aca264633c3565c
|
|
614d93d5e8c678966e04539ce267adbd64517b5e77ec13c6243716d9ec96f24f
|
|
02b2ba8230ed4cf7e8cca7502c57ade9a42c5e86868d2b4c72c5a4274b633d75
|
|
f8d8d58e8947e4ada9e25df89ae741953847b8d45d2fedb61ae40bd213a41248
|
|
755ec7dac241f6063c64bc9cc03e58972340d5db94c87e8950ec99ce5151a9ac
|
|
995d7b0bd68e278f97cace0cda63c7463999161a7eaae2ee142cb0d14cebb2a4
|
|
4315030949e73b6deb4ef3bda668b29909b3d8533182806b585858db7f387038
|
|
950ac4f701fab2c4cf1ea770042dc30b62514c7bd51c57bde04b29a94981b845
|
|
750d41c749827aea69e41bf1d408a2a766d506f270d185bcbb29a2fad94a197a
|
|
cc4b2e2a177335e0ec0b463cb8dc2637246128b43821d9640ca90aa552f60f06
|
|
dec43c89a6460384089473b1dfd2cfa1602b1b948b529575ee2811f001109b4a
|
|
cdfb26a6cdf2615702d3c442900a64378e0d2f23b44b6eb50b1cf90aac8ec90a
|
|
af872cff76b7d2ccb5826eb1d24adce573a633fe42a0817e8dd17ac1f613fc16
|
|
20b8e56baccd5ba93153639eda7cb78e77ef3fb2a1d5d01df035e9c4fd934bbd
|
|
1a27bd023b8cc825172f939886d9d28bdd0569f20082daaa680bbead3619f204
|
|
aa20638ec6263add39c33fbd82169e4316bca397b9d9b2237c5571f117548454
|
|
5d819d12e6b6a38ad4e075a6de4467f774866b1ec5c3853b3473bc74f854216c
|
|
7a8852adeb483a89c8987dcc6f7368248e7b55d22ff4001da07249568adb2b52
|
|
5dc1492aecca0c27417755c65e78c18293b855653adfe479cf585c9b57a592eb
|
|
4c17f0de6170f0ae7a069465a8ece910408933608ca0d2bf750619a8d4e7cf0f
|
|
b2e43bd30de9acaac1e3469655788fcc2c468d7131c06fce0f2825a1c1acb1c9
|
|
85a183d46bd2b41f2598da3063ce581931f0a5491dbc070337f88d7273c767fe
|
|
8d82292c602c0939675bd2f01db9545ba01e7b15e23a912f10fd4084661b07ba
|
|
f8a7eb6131f9fbd414f4fd79c519331549431635f6d9823409ae71ca5a00a538
|
|
7f59f7c5cb5e26739047615266b6139d824e4a82b265e8a123af8fb0175c4b22
|
|
f6622559cd933104b689563ace3de9a7b8a2638a4f7f0227f036dc9661d91598
|
|
14711cb93802391877aabf4f8864b32f1d8ced05fc6cea00995d3f41b38669ef
|
|
00d64f5ae72cc150e43dc43952c19a36937d27618a3b6bb94727179a1586fa07
|
|
07efde1ea3a7b04f5d568a27b0441b1a446db46e0f6fe5a5c4ec6f4a41559840
|
|
18a8cb04e7c2d5c8df1e8f31a965db747d4f21f9d7d51fe8f30a5a4d88b5661b
|
|
b19799107152bc24fafbcba2339ebac19e79edd30151caef9e5443cb424c78b9
|
|
8ed70655ec4298cfc427c080eb0eda4a762c02e80784232e98691b6d67e03855
|
|
efad4b79d8be7a685cf81fadece49e954fd2306708f49897076a62e4667168e3
|
|
8a0a4afe2a192d92a41a03e9935b5c666019d0c54a40a14265431b1fa65063e3
|
|
34e703e1d4045384b861cc6f80493d36597cec714f225e796a40e69926fb4032
|
|
71443fa9ad014144f42645ff55ffc9e32eed6e32f1c49e2135824ac172b9ac05
|
|
4b8179f47e2a809784568a3258bd02d51f41d9eebcecdb402d130bfe2f555355
|
|
f0eeccfcad41cbfbbbf9c66c174813b494a85f802f838e43c62c052d22400fa1"
|