void-packages/srcpkgs/icecat-i18n/template

230 lines
9.0 KiB
Bash

# Template file for 'icecat-i18n'
pkgname=icecat-i18n
version=38.3.0
revision=1
homepage="https://directory.fsf.org/wiki/IceCat"
short_desc="IceCat language packs"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="MPL-2.1"
noarch=yes
create_wrksrc=yes
do_extract() {
:
}
do_install() {
:
}
_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"'
'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"'
'gu-IN "Gujarati"'
'he "Hebrew"'
'hi-IN "Hindi (India)"'
'hr "Croatian"'
'hsb "Upper Sorbian"'
'hu "Hungarian"'
'hy-AM "Armenian"'
'id "Indonesian"'
'is "Icelandic"'
'it "Italian"'
'ja "Japanese"'
'ja-JP-mac "Japanese (Mac)"'
'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="icecat>=${version}"
for _lang in "${_languages[@]}"; do
_locale=${_lang%% *}
_pkgname=icecat-i18n-${_locale}
depends+=" ${_pkgname}>=${version}"
distfiles+=" ${GNU_SITE}/gnuzilla/${version}/langpacks/icecat-${version}.${_locale}.langpack.xpi"
eval "${_pkgname}_package() {
_pkgtmpl $_lang
}"
done
_pkgtmpl() {
_lang="$1"
depends="icecat>=${version}"
short_desc="IceCat $2 language pack"
noarch=yes
pkg_install() {
vinstall ${XBPS_SRCDISTDIR}/${sourcepkg}-${version}/icecat-${version}.${_lang}.langpack.xpi 644 \
usr/lib/icecat/browser/extensions icecat.${_lang}.langpack.xpi
}
}
checksum="
b18f096f2cb8f20e990e4733e4941576cc5dc660ea9e03d36780b9a909938edd
92b4b244fc831040597d53928816075ae7b8a611fbfc7419c7c87e0646065d14
b33cc894305b51e41cc8c8b25158a5a595cc2df49041a1254cc35246645831c1
a7e4f48596c57ef23ab8303d0895328e04b8cb14892ec91b4e822ee0fc9daf88
dba85ce979af243c9b1a09a016e061081395ca5514514efad6a5d583c35575b5
bd2252ac05d7895c9ff2e5dbb5116df2b651a73cf010870a3150fd55875e837b
a284f956d41764fc4d7fed20ffdb154ad3dff216140ae4b59580803b3d3dbdd5
704d5823e6b4697dbf1f6555eeb8d9f31138e5d054c3a0e2db46f529a431c861
7c75a5d4fd9a3d908f5daea544673a1ac23ff3e1615c6d734a946e659965bc67
cc8df226de9bb7e8b6c1306301b4e78079e65964b1f294f97d7ba92d4a809f92
c0f065ca858fd294bf2686f37bba063a1cc32c09991d87a53c1b38fc67414c26
58656339abfdf3c52973652bf541d9e00f96fb0359ab259eee7a721fb7230e9d
da34b7e2fe135e6d38dcf06f1ba2649cfba2def5fbb8cbe44d2731ea46cab5e2
e9308a972baf3e14aa918c03047a8ab9bdaf505bdf3a09cb55c698a66e320d4f
68da2702f68a7487d2cf6e39eb31e2626d07a8d98327dd1b1c4d586f59675023
0e7ffb2e4f185c1287cded66580ac2aa624c506d773b924330144482f311ee51
4918f8a4229f1258a74c3fc3ea3cdd3b12219608ef547b6b7c2d267205759263
c87f1f004257ec6a3a6ef2597bf5fa78fb8d772df605996b254b329f2bddf040
2f796ffaf2bd99db868d90a14e5dcfa6a001a7a07e14da861cb0e7c37ba72213
1f113008f48851eeb16fe137e11b4433e50027fba11eddc4aabf9f3024758edb
c756835552ffb545d7bbd6d26418bdf7afda071f340a85b98de0f283f0e08ad8
e27c942ad1d46d106a077cf8308ff0f1ba35c97762226a8d759fadcef4d6d40f
ba6f17aa3d651c24c58faf443623d924837f67ff51fa1f1992be230a5b376371
456217a2ed543b3ded20195c9f076c538c0d3ca4b37837d74929182b9c2a06f5
f8d324b619ad3c781c79dc848496cedac200f589bb3083fbd4afc1da2f46348f
cd370b23c270da3c5d40f315bfc3932ce6ce0f8d8a9dc5fdc6acfa9f2488448d
bb52480f2639025bbe511d157285657361a91b67a66247bdf15161e9730a2727
3d6bd040ab98be124fb4a92dc5f29455a9c4afa92ca2136a490a5d35f91a5131
5f8dd6477095068e26b0f3a02ce728cbfc5f47c0a284470e4659a233af18503f
891cd885e4671346b0850a03d89999ee76db459420b827986cc46141e9e2cbc5
8502666d8bc99aa68ab90d208050b074f1e3edcd3ec84b890db435c5e9a618cf
71148b8d64884cde28e744c174034b4f475bc20f7e08d08e3c6f31e68e847798
6ddeb4ffa19b5659d9b7bb53d1b4530c4f76fbf8a8d20e4717c0d2b51bfab20b
ccf0fd08b91134fd1ea32ae2defce578bd2ab67967125d3b502b3da050981ee2
fd3adc784adf96fd5fb94b9d99ea3699e28b381273163569ce05de11591ada6c
787c534f7cdeaf4aef713d55493ee5a28855280767c5463242c16de5193ae1cd
5ed3c9400ed96796a5afd065a25ceca12ff33d0db1beb8141f6276beed7b8d74
4719dd22945a5896707ec21dfa231799def4a8a419547749e6646fd881e8df0a
082f0bf2667cc4871aae3bdd24f7d744ea5ba9d6105c2d1fb2bf8262ea39246b
43befbc59afac43f5a5adbecd07bf32765d0f2741591256de18e7bc7df652502
caf24de80a44566e1bc23325be4c31a146cdf3b7f56e70226bd24e315be39312
522a7fbd77b5ce1e6262226a13abe4de6fdb20f8100c95d64684a7ede0cb0ff4
356fec528434c12b890d123f9672ec5ccfa0f0aac78a1bfa89106922ac8a46d0
f9d9c5d375ddfe8c75cba7f24376b18ddcea6022a3e199a1ed11004c65dab2d7
f3bff645e009f43042d604e25a81c80ace6d70d8cad011141242399aca0a96c2
177432739488a49b1c3945a7fb960fcce0d96afa39e8343eb70e86ef998857c6
0118fa37e77e56d29eb03d32f8b34d41f16466258339fab8a97e76a770396bcf
ffbf073d7f9c3331219a58a404ad787bdc599aeb2e48b16e4e902eb7cca63eca
659deabd04fb3fb3174f1214a13bf9c0ae3a13d0c133de471eb0d05a52789ac5
a16c700822cc2e6b8e4175bd5efbd6978c94c63ffefa015350ffc10fc65852b0
32083d4170c1bae9dc1c187db4641a15e459923d2dd7b7eb2fa81ebfa36d3565
6c2b88999fb09ee1e2632df46add729921d903ead70f40fe1d2fcf852c4ff006
163db8d90e1a55785db4559729708af4440ca3100b43438f1dba41d8204f16f2
6b64fbad0018bfadc1dd268fda5aa41d624205237ca4705d076a95431bad086e
34c602ffc0c05a84119fdb1eefdd5d8d5b2ceed25bb28829c4dc41473ce159f6
66d7b7d8941cf29e2e538699f14fad435498d69e8dc2a1899195f9238ed5517c
cc702e8e73636daccb478caab94ef408223a1f2fc8321e2213480a0d48c518a6
2b9bf505976019434b11a41357694d3b07e6e7fea7d7469b80aacd256c3cba57
ac0fa04ac4edb376537b7aac2f651ecbab94f5aa00ee5b69123a64660d8436be
ae05f0b8a7e9ca5f6ad5bd78964aeb5fac7a58e699c951d121c2a56447582a0f
f1da3096b3abecbfdc032ddbe91bc15b6f4c8e934cbbfe342f6c96324290131c
d0eae0f45042e77515e052595f6073fafc1f156f6b2e76e6485214bb3f434800
991221f43bb20985ac53100efbda37a86c0f51049a96d9c34b2e77db65b16d67
25427822555218bd4dc4267a94c362cb762d93b8a51aa3ac175bc0df61e5225f
e664575cc9a85b4ba842d1d26413fcac77f87d9443cbf78d5653e96c48ee984e
1f847bc553d5fdf2b70882a74386c109c46a91e614f5c4275f637552cf23259c
857197398fa5c6663540f8008f36f6a5e76df81f771e785ad98824c4b5d0bb52
0006c12f6c57665db4e2d155531af6d48d921be5fa7fc55b79a26dd69669ec43
ab1d339b57b8daee08c8498022944ac7ee6445497d992a5ad08f503334931883
da9924f2824a82fdee17611fa2ff99fa5649afc0b858eef5e2d7e23586e7371b
3d8d3652fb3a22be6b45a69e40104784ce3cc8d85923995853b0e28d064dd3e1
a73a90bc33e9844450d3475fed8f0d4b47124f3fdf9ef599d77133a7d64c85e8
94e7930efb2e24bfc56359f220441e8f37fafc3a5748e9f3488a597c68565525
e2e4bb87b9a7da4bf3efaec819d2789e0d7770700579cb7401dfa6591648982c
68957b9cb3dbe54c27b6457a4fbe6a582d0ed6d43bd606afdbdf3bdde7866bbc
dd7affd99aa9e3e71b3a1e9c97e175a62c4d421b8ea70c96c03ac193a0e49f16
5d1d7ec9027ecc4ce601a08ffcea09566bc0c85e8d5b5c8f69694201f7bdb375
cc93b93da84646dd3c35ba10e3ed3a2132a3b250013254b356f4736706aabfad
7bd76881890162f812b926c2b5792cdb33ab28fb2f1b10252f055455b6128202
f5e13cd63798511f9b9b1ce8edc31c16cd7bdec487cc61142c104e0a25b23b16
1db0fc74847a665c7d53e6098c52fd9d82026b60056307614e7f64b5681190a0
df5452e489d9392b53e362a6f66f8bc7826406c0fcdc435a66d5590e070b3a62
2e0468d6f6849bbd7eaa065b47cd24a8b4d30a4cd97b99fac44712d5e7824d2d
37fdf8a87887fdab1d2459e05f47d94227d55240271293d8e50f1ef3ed3cc86e
cce67254fef4e18736ae8e062d886522b97d11c84c54827d0efc61195c3138fc
e97cf50f0da7e6a8b8e0c6b5b86f6101c16f68fca43281effe13d914e6471908
d6e845be452930b30580c3db0771464962396f30320fd8eaee0383a5a0266aa2
c7ec6daf3abf5a352b25628cd52b38edf95052f31e1dbf0862c86a5afcf15b2e
7d145443c1d9b136afac3432f373ad1d500bf137969d6dbe7787102359119f0c
e608f6a82d81dc680c2e90b021a2ba1e62ec40d46362972487406e5d66b3cff0
"