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

233 lines
9.0 KiB
Bash

# Template file for 'firefox-esr-i18n'
pkgname=firefox-esr-i18n
version=60.6.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox ESR language packs"
maintainer="Juan RP <xtraeme@voidlinux.org>"
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-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="9b465075aae0cec00c3d0257295bed9b75faef46f6a43a20802da916be1060f4
9e65579f9691c66e5ac03b7621dda7ed69f81617c5463a7bdd520be140b29a85
7a1ebb53ba9e63da9b78afe9eca0adf890ee1c8fd71402e6fb40e3098d22afc1
12e044189e971d37589a2877cee17848e2f1a37a21957daadc5f6b6a3b6867b4
7f49f88b01570bdd1edefda3043c2d4e5a3f10ef313fd81f053aa71449f20593
f4be63f2630cc662e586c04303611d3b52e6b55616adfc8e6ca6e4e6ec889ecd
5470f7eef4796dc47e8d1655d1990ed1ed975f4af9a838923651cb164aeba856
9490d82981a2577462e025162b76f271e5987bcc9a9edb73b6f59968fdae02cf
9c79156c2137f6e0be56e313de6f87001bda9dd65248087c53e2a56f98218566
c239cc8dd964ceb81b4aec1f63dfb67ebaee340a6adbab7fe0935d262826b44a
6ef24d435fe3f132b0efb81f00e948046ae6fe4a9d8cafbbe051c549e6e43d04
ccdd676b230b7c68e94d877630914da6886595a89b9bb5699480000015df5f61
dab923c1da054db049d0daec35c54f3c242d60df32054667d1e65cf83d1cd037
ae229130be61d34116e15a8cb02ba361ca6cf76307290551f5f119a7d118cdb4
e408e081139aea7ac15f2d8b380b80506e6fe6138913fdf91a984b3257c3b80f
54e28c22777ae20ce2362d65dae25d0acaef5d4091cd1c9e3c990ab80610c863
2c8c9b8a88d3e7e498ad9452258f8b16f32de789b56904bc3b0ae4a364779b90
c131022661f6b0f3dcfe6a84968a2b3ac5b1970f532eb129b9166d937c2285e8
5fad407ae3730a68a0326b4a0b211dd61af347c0d95617a5638f1e0de2edd6ff
41681afe6ab1454c766c383ade98f77905d34fc3d80a67d80a67c30d7a707978
9583b017d595ca263e0bf2f8139a6a2918e18e7758ccb1e27c26cff3d04dcef1
dd408ea820e1b98fed77b161459889fa1dc3aa54e9224383c799b167c8b48ae8
75a28dcba527e08a29d10830f5e66bd24c5bec48afc9b02b84b2c12c489e0a9f
31547e356f6a94c66750c4a96d393b5cee5a4fef5edaa059c66994059ecba8f1
4db4443061409925ccea51b7b8ed2e3561deb8ebeb448394c81da3daaf74b2e9
22093474b4a9a3ea47dc5fb859c41722b48fde16eb26480b36effa4d89bd7400
1036a33c94456690bc63ef178b63ca160fc6bb23c93091424a91c9bb16409056
0543479efab28c80c6760336fa2d68ea24e6a71bd06798d0467e0aa51d6ba968
0e64f55df566448fcd8ee6fc42c79f21fca4659cda7d8b93613d8ef54d200bcf
a10a3aa045b312bd74fc090980747d72cda9c532ceb9f291b94109339d95189c
393538e54ef23ac7c78cc84c9a7e616eda9e3ac02c34eb02e7896f615263d9eb
c3e780ee77443b0bc29460a2b8e97c877bc4929a30d77ff66bb7df999efb2785
5e786632c9c4d2be79cf8d009e24d13544209dceef2a6dd47abc0156220bbf58
6749010fe9244c7212610627ea7fb39d1be3334c4b02fde0fb03ddaf14b4ea11
9193d8abe92cd3e1ea590963d5940b9d7a50909e22dd8718b7be517af6d80edd
60bf44a1d9bf83003614e6dd4e9289de0a7dc4da625de066c7ef97ebfaead2e1
7158c0659fdec9dd589307089534d2bd95c52fde8dd79a8b7350865f2e1cdc1f
d03d3527176b37519acf2b5ff8bca33b02ab9759ea36ff372dda38f51c5eeaae
e32e6434aa35bcd3355875da1fd2078dee87ff8723fbf3d3a3e4662918f23d7f
4f34febdf9d33154308e46925d89a97f9c1a46447e506c6e4439077b4d74e7a9
89aa705e2625bc109c463e7775ea3566efb2a373e673de9e1aa699949cc18859
db6100464cf6691e4249bc1a42828532f24e9d0d5d26609fba944ea0d067e6a2
7fc78cbcc17d2357415bca0a89ca9fefdf14dee64ccb85f09838e4000ef4c673
c90e524ec7abe43b019b5409929632e63cff69de0d84977c3f4b5a0401a228c3
64d09b456620d9b26f5d6c4a3ecd7a0ada62adc8f43f61cfb4277ccb62231b2b
cb5cf28cb663cd1c4450550a639a8d2d4df598587ede4d766adf49942ec209a6
69ab809ed3c5ad209e836651358f77909784aee034370d144a8d27659f1fe76b
152e7c492b0512ebf0f5ab50f66910321fb618130fd7474c5f8d68f5a0fde7b3
8b4ce5423d8e6d975f9b65c648fba962d1f0bd18a21b62564fb194034d51b6d4
666629175857e0512805513045d3f27cc3ebbe48b3943536fd2291f3b9554665
f160245e55707c1c709aa2c3ea464761de9bfc155e919819b8fcc9f5e44a69bc
5899871d47e50047f7db7cd7e4bdcd421385e19c9d4b0dd75f4670479e3d818e
335f165df62bbe65e7e07517c669925b5d15016ca6728cf1847942e4015de1ef
cda6e9a3ef51d9d2a1ea24ad32a10f6bdf726e87804cc4e0bba3a91a85c63db6
4af3ec96f5d4552b0d73bebcafe5ac7e47c678a0475d50428842c3d1c930f818
f29ff87167f8c2ba3c83cf28771d85f92daceaf728a3c713de416442fb8c03c6
aa716d9d336f16b7e1e43f4aa6900b397869b76c0bb8a576a6f24122765e00f1
98bd3c67833e85f968949b8a10165b1c077c052468065f7ef39a2217284f52fe
f92b6da0593836c3ba3035f322420de177a5faaf56640e166391432f46d41f3c
df9edb3f1b901bf58051bbaeaea38f30b09b84e7e0095cd848742f1d69eae47d
55d00c4526527aada2bcec227c570a48954e9aead0ebb402513b4518a712c46f
0442e1237b32d42d8cab18581158ec2ea54ee45a506355b0848b46f24bd3f5c8
506434dc41bba9f4a039400ba43545688637d95be287bbffe53df0f71da3f4cb
68a2be87b1321071aec8d813b1899a1c522ba5b2357ff79bb4bba2f449f476ad
ff92ec0bed2164124cc56a149b2a81a170d55c5d5884d12c146e3f07fd71241f
d2ccdcc1c1fb9fd85f2f356728fe8937f0554fa094d466a997af7fa5fff03812
de0dcaaa77fcf43353cfbe3098a049e3157b1c117a1bfe21d8808d2dd8887cbe
24f8149abc1d39759786192c087fa756817b78f7a50e21536e89d791e7cff478
b1e375c24dcb1a40e1553325013c791b6672a521bd8ff494ca9b1a0bb3a4b32c
39adb9fbf5c3ab631f3fffcf8ca14e12cdc5d8e2d7cc094e930d5e0305925a0f
967f59845995177ea0302a9d24c44cd78a130bfc7c09c7169c982eaa5e83a3c3
94b5eeb7f2ea39bf9492451b9244d48b5e7bff1323b5c9481bc5324565d38b83
c2ec37744ee45b42f93ddb03bbdd7a50f4cef77f921a921de1035521fe0eb071
061421adbf966241fe435c723cbbc72cb7e95d10c113dad2e2478b33fd65b994
7f19b3f4756044994646aa4434657475c7afd0862d030e5a40bb98b4015715e1
fd12fe4450b5905a7aee5092cfc279a60def53d82a6038b8f0cbbfda03a6e801
69c828a9e5c07d3dfcd979179ebf5f98201d4ebeecac6c70e3e27da4d6b0b348
b5169040642a17116d07352ae540be7230609ba7d8fb3bfbfc79ff48af0baa60
058c3304b00df6e1dfc03dbc6422bc8992f79be6bfd650663348f74ceaa16ccf
7184a401ac1f5ca9e41c52c54b832841b4347f2a4ef51383b267f0bfa3d63d8a
700c765ee275646ec8659058cf1fb7a7b2c2b5b5de2048e6866295a3a352a682
2bf88434e369f04f4a32b401489588847e4a48ebb682113d806f917617af9b78
61a3a2dc52645ce592516068dcde168f47d21962dc5132b92fcd7d4a6090f8f3
a1532cfb7e2d6657e3c34119569ff56556b582eb926fc9a45451b21dbcd13e9f
d26bc4c81256329b5789dfca00fed65acff3fabb1c434d6399860b375cb67ca6
02eb2395f5c4bb8769bd15ab28e4acddf118d3b1a8f04a9de893cad793614a0b
b05549622c6f4d7b9a2fa78157db6ce66aa0f827418736aa9a710fa6c099d900
c326284ba136e4eac16680ab9c04e198a4c874bd7730394f19ad6a8265ab6a92
1b7ff9f676a5dddb1fbf63b407233332cb098394c95323e481c4dd9de4145192
c58c92fe97e3153f04e53996d472f414be03f7a61fdf9f72bb4534786f7eb3f6
5b7887ff86749506dec2b0a3c1fde0710487df82eaa3aeaffa2adeadf274303d
7602169f663633aff020d64cf2ee22ac8e30bba2b3f9ec86cf237e98b534c12c
f45e75cfa7c22476669f33b33a60f79fae4b81bc734ac50e83bd90c582dbad15
10a4a533c5c6581bd8b5aad238a76c2654291e4511a944f500d52a17d705155b"