void-packages/srcpkgs/firefox-esr-i18n/template

230 lines
8.8 KiB
Bash
Raw Normal View History

2017-11-21 16:01:04 +01:00
# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
2018-04-09 20:27:55 +02:00
version=52.7.3
2017-11-21 16:01:04 +01:00
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR 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"'
'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"'
'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-esr>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=firefox-esr-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${MOZILLA_SITE}/firefox/releases/${version}esr/linux-i686/xpi/${_locale}.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="firefox-esr>=${version}"
conflicts="firefox-i18n-${_lang}>=0"
short_desc="Firefox ESR $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="
2018-04-09 20:27:55 +02:00
03e52e597f0e04425d0ffa44681ca824742f4967e2043042f5dc904e785df2b0
34b66db16e269c1837a0cad13980163c16e86a408c8c02197c68dc98986fa1fe
9baa44ccd7f080afdbeb3cc82176dda0188d404a63da4a7c29eae1a4d2b3c9bc
c27ef252c49c33ef4231e32d6093605f7b206b4282609e4e789d7e3a79a0fc69
f1770f3f31f68159ca2d350de34f15c2e8aa7940b32ca77fd137c56035144866
cdc997192d4a0bb24a182d24405e59191e262fdff4edbe9f0b74b065bab6c87c
28cabf15e445e3bc169a07748622ec2560c24729158c25ed8a492423888b29dc
e241a5caf34682d9a5d5f1d8965f6050139a946ca724f2ad899f0d77a8e71ade
065578e6433c2a178f70f392a63d02c08e9589bcb5cb0c5220af1d15a810ab88
a44e8e0c256c0a2b252ccd950d3757f1deaf57f1ebfa3d03484bff5ffd7329a2
28bc0a4aadf4392c6bc93030c3c596fc0f7089bd4cf27b8b1accfa5b91fba857
1d0405c2bdadb3afb21bc876df8a0964fcad517b5e52733324dbb9bbb11de5bc
621f013798a94a78c1c91916fd1bae306f9822c71df291838d8ca249c6c6671f
a23203ee1c4f7c3a2416333f32cac3b0e0bde76a9311461f6c0162e10c812620
7b8dea5cc6dd99af8b263ae44d4f9456036200f665d76f8f2f263f2e51aa0c8b
48f5e6ff034d712614b763d7da1a884a8ebaaf9c3ccc4b8e82b61ce316823ada
5433fdae88096b18912201a0808f1e3138359a0f3c07478e0746167bcdc8d955
6ba2abe14a8b2506967f0ef44290ef37929ec964c821f9b4b35b4bf9ef944d17
f91c51dc01faad2eba3b9da13a139309961d5b32c93f2e018864caf70a606acc
51e1644dd51bb05f289096a476d9b1f67d5bbec937ae6555bcc8d3c47cb8b270
8cb4fce391249e1716f721def592776e6cccc47eaaeb254342b263683ff9b8a6
533768d0438df810a0da9688ea1ad665f5e19ee9ea903c9f71e2451535d74e70
3d09b0c0d2a3194f6485ef6e6f678f8950a7882ae8074b196777ba85154ba8fc
5a806a6a8031ede966ef3f6c500a8ad2d03b7188d6add425beb50336ba62bd57
e8cd8732d9aaacc4aa1aa3f85f4941fca3ffcb4a9ca008007f8700b3867ad8b6
866d7fc1ce0966345904039a6e48687bca327328fb0a136cabbf203287bc6984
515ba6d10a0b6f4cf569cf62d981f54f332b10fc493ae27d4f5d74921ab2a835
a99a1f6acc048ea851b536ebd8798e6010af13c12cb29b8f4b8fabe4ba05e005
ae36e5eaccc28a51b359db234e6480359ae4d26c704427d27d7254b2ea00a93f
5a575446586f0d652d201f9bf97b80cb9441fdd3f7be0f25fa7f6ff6798ebe65
b844fc2056fac3b25d45fc15d6b170a173e498a5a07b2cdb59d897819e40a699
28ea0a58a799d5009c2e52f21ac819b34f624fe3db75666d42c8216bd49288ff
490738101d4040c8afd214a3736e94a49936b0c184e9c65cdfd6599d1fdc38bb
1b90567da9b863378f791d01777373df8aa7bb51118f9557b6bc2f9aca33de4c
1349c445ca630a4e816198203b985dc0add0d8d9be7e8041e4aa7c70c2eb7a4e
f7a0e1fb273ad4a9c924bafb4ffe23ad4346d7399cd9060488478523df952747
b852712ea859a6f919c6e562739347c2cca4f561efed755d7281509b09d73a60
9769f32bc6a043cc578d941f3feb29ebc190510715b32b7a960e7b53f1956235
b1b9776b82c1074ab2c5993321727cd665d8577ba7efd166cb7231d96848f7c3
61d306921db5f89c86566fd75efa375fcb872fbca52cd4dd97715278018939be
0dd8a3e7785ddf2c9a983281b8305213b16962ce89ab1d5f26bf07ac5a854347
8fd435ee44ff29e97f91e5cad9e558453c94618b43651c0c1bf60940fad388c8
be72a711fc4c6621499ae00e16e9c9110857c47f81fa44f8ef1ba33673ec02cd
03c092ebff9ca36eab846da53bc9eba8ecf0e6c56a32c4f45e4cd8d82221bd5e
8535bf49b85c322237d1008c432e025b325364e022236ec6741b9ed6494611ed
fc8b5afa2690624e72a3c8c9d8331f563d9bb16c3cad83fa9ae3636dacd20a8e
424d91d3f4d2baced287c39680f8a3520691dd845bfecae9676273ce45ec8a3a
739da889c80ef06f83ef2783002adeb719e44a41855d9c81c45ec6d35ecd6254
9f322295725078d153f660c6d1a28cf869a12c79f9a80f9b53f66ac59b53e7fa
80e832c64933cc0f0cc0d3ac00ebb3bfc395a2837d3d98b190e007990a0f4179
c077b0c70a6f6e9b6dabdb8a4defa00e8be4ad36d14b4827cbf5fe899f1b3036
3352fab9d84f34a20cefdb2cdb58e1aa281c102546f9cb92fe46ff571e27aa9b
7d4c0a1eabe19b3e0beb6b3a7e0bddf079767b0bb0eeb26f2ea82efc31a50e8b
433db2b6c69a45dd487c11757c34e3149cd3b353946c896d034956313e8fde3d
dd829fdaa689a9a4805aa5e1ef457bb08ebc765ff5396ff21cbe91b3fdeb19cf
b319fc11354f35ba42d1bb8c96e9fa706238c05f520ee44159f7ebdfaf67bf2a
9426ded8fec255e3177a44a88e85d3aa4a635db013298600b3b3468823ece77a
1763a916bb9ad644ca9541a04a858e913a807428113f4ca7190eec31b16b1826
f7f2a89c10c8e2d751aac3a80fe8834b6fc3036a9e86d3cbea6b678dc13208c3
6d7a068ad510e96b034e6ceb4448ced6e7480d823d6f29454075c58a038df447
4a341ccb1e270e844907b531cebbeefef7fe62bc3b5456d69b9481af0b76e561
fdf98a10ad5eafc52a6b71167dffdcc1af2fe89a1d966786d477f48d62a0cacf
1c292fe497913c34a188a5c8a3be1ed509b74f948a00450ac990cd8c160bb4b1
07e75a85757f215c97167e7f0a0c64681a57c0a930753c58c1ae57ed0ab7ce1c
140726232fa50aa2aaa43f0937b76e2c12b07e222285a613560cfbc579859396
282cc71b5516b0a90e34c4a741ee16292afea4d65b538f161c1fde00b77977e0
33286c214ca1ac03236b41e6ff67c58b2500dafd25ec2ca82ec35df0f3cdeacc
f4d528d0c9dfb3846ea2b24b9404dc23f3b4e1e174ff9796325da7b2b334d9e3
ac31b10bcfa8d11d70fd0fb6fe159c39eef2f6c9c56fec54634e028184747749
169e70aae7b89c50747d4a13a96802b1597ec3e0199d886025e528fd88e2b86b
4fd2e1f7a0d81c62f0cf6ea0adcc4a73af536002efdf8632d106c7257014792e
4c40bb78681f7a5e859508b4dcc7419df29bd645b355d954916b109d68d15ce5
455964c20957ffc4cabc43226c7216362163f716cc8e3d2632f832fc0c770da2
1e8764c7c48c50a0adb58c894b654204e0b95041164f659f82ef5b36def60ca1
99216563bb5b6f6d8c7bd069481c2f69d5537d22538f9ed909667e632a780ad9
31eb9f0a2e1deb871d87d2d90cb6e809e2067b4a07dff1108088e4cb77a44943
a2e07054aee2805a553dcb9f0ab225839875df021f054a5d120fec7490a8551e
a76e954b212330d2af494ed61da7f97779db9d3ea1753e82ee5eb04eea9c74d6
ab69572df3e393f21fcbbb320db1866b180ef0db7e44cf777de19ff32ad5071c
d0f665797352d92b431921fe45ae3dcf1cbf7f7e5d3253853b6aa673507e4218
75ccf2fad4fd0400ce77fb178307069e54ed28f078c596ffbb3fc11b1dade405
33c79fcf432a8be5b5f77bb07313cdb07514270bad90b6de31e4d21c4891ae81
22dccd4f47a072cfe349ace26423bf7b95492ef731fa50a11f989d2c537aac3e
04c4c39bce8ac4798e9af14794dced620eca16dc448310f6ec860124243af1f6
c732f15acd0fa3bce4ae0d8b34012d5b482616f37247c867ac9fbac24303b43a
26cb6be326e4768a6c12fb647cf3b7ca50a6e553249dc8c36d847e1ad3734cad
58869f0c6951bc01a02c66f9d1caf939e0577f21de1e13d978c708026ec68c45
e8cbc524b0bcf503eb64286345658aa89a3162398b9b9f24c8fd12c2d11df772
14ea9434595808c5ddf135fc56719e1e37e030836bd320067a8726d020afcc43
3b8d3c645bbf11b61bbec17142de7cd6c36f8ac72858cce30f1b1189cabe449c
f63d65c74ec1b39731dbb0d7d7afe6d957fc347b11417953a5d850d52d75ffea
40a520df44255079539d94302ed607b952b192cdc742fa5d3611b3bf81f39360"