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

231 lines
8.9 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=78.5.0
revision=1
build_style=meta
short_desc="Firefox ESR language packs"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
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-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="3e765784fc8084ead4c87076c4434b4f3fd2228aa20400e90b65b0f5c72fc16a
722beb61c7e4b33a1888c9fc04faad817a2733e7943d5877250820dc4aa6b133
e0e39929f8a074124ae0bcafb1bbe591eef81867e9cdfd50b252063ee6285753
c4c893e8149df07d309b8d4e688824379136b0927388775114d5ec7f0d2881f2
cd53cc4e139c8daa401de1056a17378bdc595a48ec64038a8bdf55a8e38806d9
37e32148b5a2cf11550e210014f82c293775820757eefc31cf8d7ca8c322eb5f
3b8bdf0436da0a9b5f8fa494daee140481af9d00c97698d88b6f7233553e0d86
1cc1529d7b5544d5915891411964b85edaa0d01a5fef8fd76a1aacc2dab64886
bc0ef34d66bea69ffb19aaedf56bdbc3aa6d138e7edd417d2113c8bb2c1ba7df
adf30ffbd7f3d6f8e4eac8de7a6ab70c00d13af7485c9f98097e6bef4f49bde7
3dbff0fc4c9ceb838a219a237954fddf8af088c02a36c5098996d15c8069fef1
eef339b091f610072c7f1e597628ab619b4c6981d215b3d7337869f369bbd622
051b95edf7bfc82a308de5158ab15f2e8a318d46249ef1c46da8f250dc7e20be
115cf94154f517c05550726f5aae7b7d7dbf65b5a7b946e555bf82c6044e71e3
b0c0fe7bab8e1d253ca0d83542a54a643ac12bce515529c4eb3b0a714a2610e2
1886dd3ed337db1cd8593847dca08f95ddb115aa030245c587609e2959def202
8bcb2ca27adb0b78c3720ec7d65bfb487250e7f740463c890fc2f6d7d64d3925
277128757f24bd2b2e6415fb1adb4309e32a984560f0ece8cb25d993c32fff38
8f5203b606d121cf4009ed542123e34fe00ac562a930883c8f45e207e97a6498
9c85ed6662c88a90623847ab8abf817643a6dc73f789d3ef65b8615136f7e467
fb838d0c87caaf73aff71b25bb42342aa569d687b4ff564dd112cbd3b29b6570
ff61e11eb0910790b3fd2f8bfd2dcee1ba1390ed23ab0140394fa82e24ea264f
49f46ce71560c91aba249ffe1915dc0be22ed8f0f1e0e2f1bc7c774df899a04d
248438b0d96bfa03678a930c94a2395accaa95e253a5f301a4c0135f7419abf3
5300e0a08a7d5fb37f6ee6bfaa9620c302c8fc1a9e095e776ed0f3ea9de6f5f1
87f7315f1d12c5a2789923efeb6297e431a924ab06a85aac1a322ccd4b861a3e
39822068262b3d66083f26f798f7a97210867957c701221ae095a7572a3fb58e
2856a7f9d1e7f547d8a5f0a0899097f1ec565a29b4dc2e5e1b5581d6cb3652d3
e4e15837b0aead656ce12de49f28abe7bc9dc5ff450473ff2e7df1e11f3a8af2
8e8ac6aafcc5306713bb98ab565418d3b8d29234948f9c93daf322e23d76f536
74eda8fa22aeebcec1c7af14e9f28b3a32c1a57c4d5c39369f673fa55ba6b541
8cc27f53ad5f81eb22b458f5be79a33f13e92a4a4f6c28eb2f3ea680a154cc3c
3543017e018844eea2abfef36d6f810883a9dcb69f46b97f77596adfd2bdb71d
434d2067c6d0e0bf901d1a8c21c0ea47a5086b280a7577a84fd77e8869a5f580
0e35f8c922f715b9931bfc3e408cea286bfdb31dbd87da77849b981ba9b77abe
ed24f1b9c79416d5d9a419816c1cb1bfa2851d9c5a73d7f84f9b04cb25625f85
882e14a22aad277243dbe532c86a92d9769018317875c2225be3a300f912e0a1
2bebf7c4e67c424a81608d1b04b4a3c3511bb7e386a2fafc1bcfcf2d462ed61c
f4fcf28b5b590a76330c8613ace283fc4402a0eb490d5c15696eeb28685fd527
f2294b255cb450291189b29b9dfa01a51d222dfe01b577f2c9e6778cbf8c3168
952d4527344eddb7fcc14d0be994d7a1bfa4e6601423671ef2b5d6d0725ba4fa
2a20f17ba270ca3b353ad482b25dfb0b2401ee4e559d6cb33e64834a25b8ac43
cfdb355364da75f1189c0cbfd1be83841a0f9152c9f9e4c862c80c78d2926fcc
ea2a93e791e1d557a56e01ae4ce79b013d956525f2f765e9aed71c6bd565e1aa
cab203c3fd5451dc1814d9302d877838a1a6dfcd00c80d1241bd283cd4b361d5
5fae24cce7839b92244fcbacabb8d661aa1ecc331ca28f728dcd6a77b38ef03c
0fff8b552d0e3525dda21df472402df4b052dae0034923462699818b20cec21b
ff67f20810497666bd2c95653392e28c18ff3d02a03a6c8c8bf7314c8a2939b1
5cbc945199534f383b41f4ea628f653e6b59ac0924f1b3c11eba0604b0f85fba
df8ef9970b15a71967a926eab22f4d9df390cc70ea9201a77125fcead4e1f883
d1a6555a9e014684ce7cc802e93a6a790676ce3eb9faf08d99bc6778fd2a8167
819667512b60772224546348ef23440f1dc09e7f536e91a3f88fd196128fb1bf
0708cf76da24ac029f007638014952e096b04ca471632097353fbc14a4e54fc1
f08dbb11731ca38a04bc6287c330e0ccbd07544370cffc581f166910d2f7685e
f6e36467ca2fcfc4fda188742feba2183b59cde6b3e1a942d25350278187feb2
f4926b13c72fe39c152cd7ccb4fea43cfe5f5f69cf3cc018bbfc11454d8d866d
2191627482202620035902e5a6cd299e9c83a24998988fe37a3a20025a96f060
9b6cdf917533dd30cd9ce4e5ba689be7b96a948b1c22c4a12298f26ed2c8591d
65d90959a8d8f5c29655a8f237036b46e10707f994c202f8d84b9bd1e74fd305
bdd67486c528f3287a98f99f437fe2bd3fbb6910430e8f9c7c4350797cbccd28
236ed00a117afa627df251450e79bd5f69b8c02775c8db4815252a6989da5d18
bb46a0e25a7a16528133f1f96a8f6487c5d6c30ea7b1c8bcf01b46c9211bfcca
0a3006e1d07b86c59dbbd1ff7347c8bde2a3553ee85decb938fbd115d9d39918
6e6c1526ef977d792b88f0b498e8b54a9366fbeae9ee630c0de7d17998e37d9a
6f497ba5654ac179de620f03b2443a7dd19e49e552c2d0086582d45dc3749038
49fad0cd125b69d8b033529c886f87757cc40ed2b4a738247676677363789ae5
b0097fb4a64f506274eadf17ee88086a80173fad5baddc30ddaf00f4beafa62a
23885552239b77bb7c629efebfe30ef7e7f928994ed9e2defcb6ed0926a2ce1e
5a380cf5a606718fb00c93d3d2e344d09e2d38932ade99ffbe2ab3284ffd687c
59f5c3d2098a7ab662cc2ae710b8c8fae11a8ba42b270c61231ab7a1f3cbbec0
062bc8985f60218a81f6cb4a46f7d883eb03e0f56936bb058d9865b5c872fb9e
76e63a1e4698caddbbe1676242bca61cf1f5a6a6087b702ffa4136e63ed545f5
0d94fb4da63fd669cd41410c20f9457e005299666ecebfc0a59356b877d19e89
cc24b2ec45bdbccf7dfe619361bbe19bc8dbbce402eb61ea2ed34c3dcaaeb92b
4f5ac0ee579c829c1c03a8f1030f90d7df39a18bae39154ec111c4bbf2d2eb35
2461bc391c5761510c5b03c69c65f65141fbe7ae8adef34316b709bdf1695943
86fb2c376b6e5e0190aadb847506c7990590ec84ecf96f8a56e32bc8d3998da6
924557434419734c8c19405dd5145d5631c8c4ae773f80824feeef1df090e9ae
21838e1b599b8ada23b1a98658e1e4d7b9e0ecefb541688cb5f2f832493c1d7a
d550b629fbd366cae4ab0db38da1c799a399185b20f1f020d6328b95432d8da2
024ba50bcd7f90fc1ec700592dc91878165ad99be529f905e134e5449401fdd8
0cb8989266cbd7c8e32d8f1cde6d6c7135b4db3ba3fcff13d4ecf7951d5edfd3
73b2d6acf4d0835d53c565e3ffc63302d64706e2b9382b87c83723f4732d1034
163fb77483c7566a7a1696246fc526417c875c4d45d88a962b320694f1edbeda
dd725ded1fefce54d356a32999929f273eca6905aa195d24b8dcb59202557b4f
e9d2d447bec561f240d10f3ffdfbdc26e40568a8c78843e8ce4d2894ced2c427
7a2acef6b2eca04c6d0749b6fa649214616a448eb1577b5105a4e53f9d1510ae
db6a7dcc302ac685087b4a89e85b7608fbf994cc01aac6d09be0617dd4c0d263
116081cf65d071e0182febabeab94dbfbf42d116a6914e6903c58376593af9f0
aede783487a9786425ade0c8d4eaa4fcf6ef2aa149a49d96b2212639296a6e4e
c3bee746ab045d315e7cae158d920e69e5163bf6ef6569172444a1cb767bff90
a6b4e99f21bb4bebd4566ac45b3addb0593b370e959fc643d0f9d9628183a621
c0c6dd2ee7901a69f575f003cf6daa9781bc1c3f7081cf63b07d5121e46f2849"