233 lines
9.0 KiB
Bash
233 lines
9.0 KiB
Bash
# Template file for 'firefox-i18n'
|
|
pkgname=firefox-i18n
|
|
version=56.0.1
|
|
revision=1
|
|
build_style=meta
|
|
homepage="https://www.mozilla.org/firefox/"
|
|
short_desc="Firefox language packs"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="MPL-2.0"
|
|
|
|
create_wrksrc=yes
|
|
|
|
do_extract() {
|
|
:
|
|
}
|
|
|
|
_languages=(
|
|
'ach "Acholi"'
|
|
'af "Afrikaans"'
|
|
'an "Aragonese"'
|
|
'ar "Arabic"'
|
|
'as "Assamese"'
|
|
'ast "Asturian"'
|
|
'az "Azerbaijani"'
|
|
'be "Belarusian"'
|
|
'bg "Bulgarian"'
|
|
'bn-BD "Bengali (Bangladesh)"'
|
|
'bn-IN "Bengali (India)"'
|
|
'br "Breton"'
|
|
'bs "Bosnian"'
|
|
'ca "Catalan"'
|
|
'cak "Kaqchikel"'
|
|
'cs "Czech"'
|
|
'cy "Welsh"'
|
|
'da "Danish"'
|
|
'de "German"'
|
|
'dsb "Lower Sorbian"'
|
|
'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"'
|
|
'gn "Guarani"'
|
|
'gu-IN "Gujarati (India)"'
|
|
'he "Hebrew"'
|
|
'hi-IN "Hindi (India)"'
|
|
'hr "Croatian"'
|
|
'hsb "Upper Sorbian"'
|
|
'hu "Hungarian"'
|
|
'hy-AM "Armenian"'
|
|
'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"'
|
|
'mai "Maithili"'
|
|
'mk "Macedonian"'
|
|
'ml "Malayalam"'
|
|
'mr "Marathi"'
|
|
'ms "Malay"'
|
|
'my "Burmese"'
|
|
'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"'
|
|
'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}"
|
|
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="
|
|
5a0769818c14878be1fc46c040fdd8c856914df481886270cd416389921e9862
|
|
55ed0d5eeeb5038bc7cdbfaf64e38a5151b21331b6396b1b1bd67039290a1cd5
|
|
6d802d8c8fef1e3900443eee558dd54e2dbf9b5d548e4aaf6aa70efe53216971
|
|
eb07898a24acdbaa317bd7457abb6520e59b9fecd8fe7e66755e3f36b25d6c98
|
|
3f0087df47d8f6faa492b580d7a3f3cec17ecaa74720c94e68a258171c94fe39
|
|
d5f77499d40153bfbc74713c61f3c6fecdf117a6e5240981a2bf822f974519e6
|
|
3cf8984a42788b2627146fe64cd2bfca7597640ee1bf9f1ad268cbdce0b2b54c
|
|
011d719bf75c77bf2c5cf56f246aaf58067b175151deee9ef9dee9e90b96bc17
|
|
01070a5c87a1c39b8f39f2f5b7bd143b662526642d90098542f5b6eb17b69c69
|
|
ac18f71b01726dab12bbe200ba20282d98a5523f9d1dbea35869e3be43b12178
|
|
106d600b21c6877a11d028a7b2025c3ed8efa0eb4cf887621d579442138c273a
|
|
bc0a7456a118a2e01f408c0968ef8b9ae1c3992f50e5d190677b254881ccf127
|
|
dfce1edaa95d5d537f50b2ec71b41c2258699990ca7ff51f180d3fc7f3b4239d
|
|
d8056cbb6888fb408644fc19829c82b78f9bce429d2bc2d6a43124cb03b7d888
|
|
dd5f141283676803730ddc2810f7bb645960b345bfe3afa6d38aea2cc6754cdd
|
|
4c024e4244f2ba82e99435fcb368fa07a4426a49346599cecbfc5e83ba056bb6
|
|
57e43f3c40c54127f1485710a72d6dab400389c0736e1b02d5314108f782e10f
|
|
59e1abb36fdb7d47e74fd10d6033b86b9fa68acbfdc05d3da9e67378b7eb3b26
|
|
f955f85aca61ffffebfbce54940b20177f272e7ff9c8096e274aef3154bf24ab
|
|
1d3cb3448d68aa2fbd97d0d7771da47e141008595b78399c87f16615bbc8ef79
|
|
fa77a8345f7a67a4ed480e6f702d32180fdbc1afc11ad0bad21ec9d6f52db168
|
|
84c43b02c0ac41c4e4b8878ac1c29d620d9924c8fc8d0355591351edf9935349
|
|
fe1763e1c86d954c6ada561a884df22d10e88cf9c6339281b3750155cc05f425
|
|
6c0ecb3ff1e954d947dbabd80e9cc74969e5b19fec4a970006934f44bc28e619
|
|
74ea18f4ac0adf3b4b246a6fbace1a863fa8d4a9c608a21cae7eedb6ea7f8060
|
|
e1575e775c52c6d74148167dcaebd9805201f975871d8073e60854d919f3db9d
|
|
8ecbb09d40c99823ff971f319a9012cae609207408e39f207b85e563c35d3c84
|
|
b5d4691b663c223ac7e4d62b530fb9a94d1fab67d5c9ecfb6b8982451ab236fb
|
|
aec75604d1071ef585f1462ca33b9bf2b6c9299d6d49b2ffc01096462c3794c4
|
|
a7c7fdf6cdfd44e5f8786d587360d2aa022cde980fc17e67a4caa136197150df
|
|
ed48e6df6381b74b6bb9525fc2401a39ccdb99eaf705ee41811eee81db4b13ac
|
|
61d78db454d888a95c9dc731ffcbb6a6981c9de164a539b6d6d05dd5b52b4fcd
|
|
c50d38ccc0b57b68ab98fefa8537f34f8b594c67139335826e4f17ee0e6773fd
|
|
278f60e6f3e4b2c52365a172509a4e372aa062409b46c7706002fe69693b51aa
|
|
303dc412abde1e69f44bf8f24fe7f8951ce42cc27be76c9d17eb44a4b1832bb4
|
|
7a420f2f0c65f8fef734c7f5731f4cdb0e2900ea7559e99bb382ab33c5e713f6
|
|
a2934ac63c494a0b3e0d22f622a2e4b53b96df4bffa8d053517da8299c7173e8
|
|
b6a97f15d16b7ac69d3b1073d9c11ac6b20436188f3f0978a9115bc04b6ee2df
|
|
54a990f5b50e065e4c3e13eda4fb2f25107693db14860e8ea0aa2236ef1e0cbe
|
|
edae7658377dc3431149baaafb716bb411deeeb61d935254fc192188fa226f6e
|
|
b175317b939d97ead4166bf61f8eb8381948fba4a006d4463e80d19028c0cedc
|
|
69c49d9f467d426e41d32626ebca768e56c7861e6352c24519d9a0b4ca8c24cf
|
|
fd75cea0e56a1bb346f71a902d487c2509f8904899492ee1f958af4e7df2c249
|
|
04c0a9baa1ec3e19c14bc17d3d17a47ea53c993f3a81c4b3347e6a96492141bb
|
|
77dfa6996b9a0b821066d80508d3fbf68d2335190f5600f5699d012fffd2fbdf
|
|
32c183296a65eb0b10ace20c8b35d0a37d10278fabd4b9826ed16bebba4e8936
|
|
44e685f7353997fe77176e9f60e90725603f3453857fc18906ba99a7f3241b58
|
|
67635d7c4cd289813783cb692c56ee4e4ffee71adbb3d9de9f87338203fb8e80
|
|
c6087dad575452d8a4000a6e1e3d7fe4152b86fa84add96288b4fa4e50f8d85f
|
|
1a78b44d14d7f8d42c16b62539026c6ff1016dd8b249abf6bfd5a7691d840ac1
|
|
72b665fb904a8c9b6a0d52ad8d00d6e6bab4cc5e4b80ec0fc8aeb4c6eec0767b
|
|
7db1c1c2a96ea24f5cb431061bc8e35edf4614841b4aba4d94ff772d12956cd7
|
|
7fcdfd89576f4bddd306fa086be78829f2d51ea8b8b711c08b38e3eee1ffc61b
|
|
cf68f9ccead4f294b34b65d834fca8958bc2a37c87f99caf3b2b505b9983391d
|
|
5ea6da095c7e6b2926be1344f9b0a5940d9e3c4afc7f069d090554e7ee505a2c
|
|
d13f5fab53fe4c4a7c542f764d95312e77e82334b3f23503057acbd404a93403
|
|
0325f0fc9944836effe4e8eddc4c5c7ed42e43e09dd7256dfc07c07dbd6391e2
|
|
1fc0e47bb89335b6c53439e3b6d4fc0194822865acf7a4056ed779d4a77b0c3b
|
|
fc688802b4746dba520dee4c671d6f326e540aea0608e18c38f0f2eaefacb4e4
|
|
fba7bdde1975652c41b3bcab2dc469d11be9ef232c2873034de371b1fc76f543
|
|
150368f961ab2bf857ed6595515fd3b92620f7d9c15aca7b3e675ce0ea740253
|
|
8e430484eb3630f48cf00dd594b4b3cac2e1982fa30edb905137f35b8ab6c961
|
|
eb87db03918f7ff2eab63cdb9228af635c756add32a182d58ad531489d60405a
|
|
a4d4a5d410b421991b6935624651638679395fc7f82865649d0d2669244ad8cd
|
|
d5d17bef7724b6f4fb0f9a96b779e8840491de65a865d126edfeb66d49198100
|
|
580979d39ef1bd11960e9a9619b59dddff15b3636071ca9dfea7a215ca744078
|
|
b9a5d83079adb7f4b4bbdad55d88055ca6981849a76db0d027e0dff562118089
|
|
165667535c09f079820d14a46fd72191e5fb1def75963c3a47bc80b8dab89fc7
|
|
ed42b684815c2bce7271afe55f7a06cde02cd399a278c0e54a3dbe840eb0a372
|
|
306d2554a6f6143d09e37be0714ea7bb170569e09514b2dcb6de3ec44fdd84cd
|
|
029a92c54db643481dcfdbab08016a569622e3d80ff12961dacad3a68faafbbb
|
|
051ca15a827eb86a49fc899b08d90e447d5f6e3909642835c9c7163cd6aa8688
|
|
bf68302a604749211cdc2255073d1d755727afdbefa054118c322292c6d369fe
|
|
156edd762bbeaf980211f91516ac3e7967bdaaab2cfdccf61238fdcf726ef5b2
|
|
2f2399082c4e7cff27f1d77fd7bd76acda1e3b61d4f14b87efc7dd2abb317586
|
|
afa7826fa3d68464960d3129eb64e17df73e8a41b4e8a6f6688e76111d2a941a
|
|
62201c8e4c4ac140cb5e82fd699059de719f90ba77a41ba396971d65c0ba9e35
|
|
385612528745dcc87df53770a8d52a573d69e71ea5275a40afd5be0108754bae
|
|
4d1a6cf70a5415a947f630ee41060ebbfea85271ce1dac9f3329fcf8c376115a
|
|
4c5b93d99e038e86e8461ebfb1bcc4bfb7e52430d385bcb27354826fd7f1af09
|
|
f203ef6d205f6b69c706399a1013e94a4fb4017ffed9cff1c47ccd60eec02f0f
|
|
d029c776769e327356304886e17846ec79568a9aeac47f779bd2e0a24229ce4f
|
|
fef5561cb30d850319544df750d717bf6a63f95ba2b981e0d8dd0857a20e0e2d
|
|
a8819d2e17a9388bc2bf9f33219a85350470eb4c12fc3c752f90514198c68033
|
|
ba97a17431b9626e5f63fce46d7daf50944a95eb36ecd82d1baffacf71981381
|
|
06a0ef7059b2d272f2cd4817d4b821e12baf0667bcf9226f95154e0f2f1ad4c0
|
|
57a0036f4d34487642e25011208f7bc2f7dec57e2e53003d30eae8eee54fd24b
|
|
1b4f6c67df638d197a4a335e4804c2ace7f4418143fb315f8b1869d0f58427d5
|
|
e9d58bb00b3c5ab1fd3e733dad500fc5b16f8687a5c734be3005d3224fce6b2b
|
|
d1825e387c642e7138769e4ce93bb87f37c11af485d4f2304946c87cd3d5b561
|
|
4cf4623f5444494c004e0e68bb1fa6b7fa19c4312b64ca5853b18f21fbc881c3
|
|
d1180cc0ed1e5d06ebd13e3349374d72d43d609047f61f1e69b1cc9306aec8be
|
|
b50a88457241bd88e7e18dcd909d216fa37f52017f5d33f4721ec774ec57c845
|
|
b812f005d3a87a80b228e9e01ff2daecb43fa781793cf73a4178cde54172b368"
|