void-packages/srcpkgs/firefox-i18n/template

231 lines
8.9 KiB
Bash

# Template file for 'firefox-i18n'
pkgname=firefox-i18n
version=69.0
revision=1
build_style=meta
homepage="https://www.mozilla.org/firefox/"
short_desc="Firefox language packs"
maintainer="Johannes <johannes.brechtmann@gmail.com>"
license="MPL-2.0"
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>=${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}"
conflicts="firefox-esr-i18n-${_lang}>=0"
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="5e42ecd7ce4c9957ce1929af0d48aa0514a7c1ff7b148db70d98fcdda0f74ce1
d5848ddbea6e279b968185499dc6348427d60d3933babf0f408c26c5b83673d2
5eac4b11d176120dd36c4801908d5e6beed36ec290dd999b676b221bb86f26a1
0e99f264d5273a9b43ee3f969d45b114a8ffb3e4deebb3f50e24ce5ff1b5dac0
999e62fa235ef9e12ec1cdee33b0128ec2af48a7ee8f89993157474654974cd5
ed57bbcaf5166871fd1d0badae0d5037397222ee526ef4117195591eba098d2a
31dc1fd586bc0c85791fe77fa7659ff14935093c0d59d8cef180c8fd08b1fdf0
e39404ee28ff6e4aa9ed92590c8ac83570299213e8d2b416110c846bb3dea484
d62088cc7f7288b6b2fdb59adda9877d18d5d202695d7b4fc2ae9cd2288c77f4
b82edd3c11eb441c1d99dc01c12ee6445b5f5f29cabe9bf1795b45f27120ec07
0fa9c4c839b964a2a5b4382afdd42f34e3ca157b2ebabf6ed6aa182af0b20bda
00639b7cab74848b9e9bdf62c0407f70d4370493db13fe07c2f2e24f348828fe
69613a3cf8a014cb21402f536e18ddb47360a9908535e55643ee58d8cacaca8d
8706f0989aa61ea06b5e27d091c742ddcce346881dbb808dac043513e05b7ded
5df50e4c5b12322221df395aa08ae90aedf9167b29947b8aa0236545b4d1e7b4
88795e9ec79030c421bf2f1b04924edcf195cc9accdf98d002e7a06c132d520e
913188bfd64e0e998174b48ec827f310bbd4a67f717faabfaa826d5a9bdb7394
1ce8d3336240ddf9f4eb9691682c0f64d710620170386976a738e8109883e0fe
8ca380037bb4b0381b5b6c39af0359016afc44f1314bd0a75ae4b37582563e06
e251e22b458f12db1cef93fa791558f19258085c40cc23c5cd90709564283d7d
bb74ec685d9f08b8f4c60cf0fffadf5e5aba394f74cbae932d1fd3f9396032cc
4641aabf3b60a63b3216d72ecf1d8c4fde86d0fdc3754cec51c441c1926d4ce5
a60b7d79b15f9d9fb6b0e32c15ebb5e0bbdf063df3a5294ef8f35aad85b5bfb8
8f076193552091f0298a788594aae4bb79d560e9608037bbe7d8dd051c25b601
bbc4155b78d62afd2f686b89fb91c7ca711e319499585195f3e2622fb65d204c
28992439656ff1564cc614e41accbb486790323348c81759179fc46ff0633274
1cf295023814421022a80d01093f5f12a839129d022b173d4605b156875f35e2
4f162c66d1e97972b5493032acfc361b24f798983cb64fa5454b8bb99de17778
c97c86b2d357f8e428055ac0cb8f4e06900b92bff3a9438696822f06f46ccdbd
347469ddd727eb84f9774d02ef3c12150678ff4b603c51a8486e807b5df7f9ae
c2d0b2907b40ce9ae37fa5a053b64b805cde5ce36b15421aa2727888e35ce173
1973c2c2a215e4e6e9f718067477567d51d8daad37956b3452b349ae1a68dd6d
c8244fd5110bef567b3d1437ad2b4e31445cbe37b8683785d3986f6452f26348
622c085d0732f6ece8add2bed0cbd9957e297f4c37d9d7a2c9863978d5aedc59
4e5c87ff36487efde39a16c97354cc673b27469d657cebf1e5d87b8a70fb4049
3c5a2e25dc3bb46cab900b9897a423a04449a41c5c31e0c491fef1972725602f
a93822af8c863d877d33205aa1833f3188d9ad5db870c7c787c9afd54272fb85
f3834774f08c2fdf4f115f14258f307330b549ebdbc0a8086f2d04d783d1f2e6
ca3678b47fb77301782801b349252e08284734afecbd2f6fc080137e045ac825
030f64ef2b080321d126e7f4c3e14fa8c84211b23c9aab0758e20d604910931e
94985bfc4e27d69575da8e02da7e7aac667563dcf84afe9f0b6e317624dbd46b
e25ecb52bae99d678c3838372c20b5059afb45283158e2b80dbadd6408d4b79a
613c0cf03df11d284401da2ac30d1e9bde175e004a2f3f2d179afa98c398383d
2d9505b8a1a3a18c7f1d49e659b66d89ce9b97e76edcde2ff26ba2b3ff1f19bf
f1420a633c29f55598436d9376fa2da078458070e5c86d1833c91a7b51fd3013
15b3390c7e69fd8f9b00c8ad9559e8e3b309099a439a59df3c8e743926c291ff
013d57ab2e92f35c4c4992ebf7ca444bca8228b77977a13def20087ecb2a782b
9c4030ecf32be868e6a688f6e4cf9aebb78755c43abd92fa48614156e94e6c73
57052be8d638cc2ee053265ca4f91b1c4b81431d5c0713948cb9becab7b22cfd
3765a2680093139382c960dbe7c31839edbf27c5a37058c086b173877d6b55df
4a98026be8b88fb32207ebf8f3b8a0c6721deaf5766980da61e8f49e7203dbf1
3e1b1b4967e3513cf30ce98a46677f999dbe5886df2394772b19c6b0ce5aeec1
fcaedd156369a081d881030ed4fa15d0218bf5a39a419ca44a5fca8c8f0dd75f
85ea13e4a9cdadfbe456ff659c82054dfd2ba0d6a1512435ed9ec85e1c89db30
d994a5d451e75c661ce87d8a17a93498ec6a5ea73c138712cbfa6a920bf64499
7d7b48d584faa12c8e78ea2665171f3d44d201e2622e5df859f66c66ec0b98da
9b341847be7b04c5081af8a6ba320cee6cdb7a3511a71e3f76125e19f6076900
1f13641211c81a82780832b46d4a812b429845ceabbd1ec545d68fb13acd4902
efaa69086fd0b741036cbd3214f37644cb610a2ffdc1b3d6bd998c1c73c8baa7
ccae4514872344f7897c8fa0884f525fec445dc5a9e59c1ce0093b82bf52d7e2
e001d3d20435baa5e7fdff885232a594220874fc743f99f77f9c38017bc7d672
d0421dc8e7f2645179a42bc40b21a77af3492fe4966de168a08f5b15e78b5558
ba7a6b7e8c150a341077d845ee6f6fbf7388f5ffa1eb9187d17f1b6d00890571
c5b5691be8f22d612f1ff40dbae5790c1a5beef5ffedd8b7a092cf0e42b65cd1
220524575b507a0f8135f8c9921f6bec367f5ef18cea52d516d6b276cffc59dc
cc0d9d4642c2a968c27a1caa3122fdaf8fcf16473c91148dbd3a4e84cfdac4bf
0365846af33e349e4b8984a5914a9aa5d94cbdf08a62ad04260d94d9dfd97d5b
7c5af807f23dbfbae9dd9d2cce1a30caf939989d35aa9981890f5c5a9c48daef
2ac5b6fb05fcedb814da033d4a7a579bdc8e19bbc3dd3edbe08e709b5b6e311b
86176fd8917153a67b4d5ae19a061fdcb18479fd0cbd1ffdf7f726450851f0ce
d86b03d4cfa9712fa593a63c00827552b4747530c426134d36bdf0f4ed587cdd
83d33e85bab0271f86f4d37a95948832e2d00848976907b6b0dd9f075d188a0f
27aac8e38302d92cef43b194fc155f903ef5ecdacac04dfbe18fd6f7fb544c84
b71f4fed7c00fc252424eaec5e1559ad957b808eba745e66e70a7f75fa7ca747
43543c941e2976d3dd66eef023de7735f55deb7b2265c5c8a4bad43e2ea14af8
09c9c634997a203286140231a873be5c25cd9c928970497b70c6b1f352fe1233
bf84a75b854f9bde124580a1de538b80a3e70ac5f1deacbe52a946d45d8b76fd
674027a04ab4514a53dbd75e9d101b79e8c4fbcf8fc510ca915f043222126a65
2f68ed32a10cb8a573343c5fda4833cc2832f58494de4c6abf724e2491c5e223
0f4a049f8948ffc98acdad2540b86037d7e097d388254f39411290bed7386584
bca60f844f4c2290de67ca951186892eae2cb3afd1eee4a767b300123b8ae3e8
693b875ed60ada718f6d232f1e419782a95be667ff6f5b6fd6f3e46ded7e536a
0c38cb8b264c7a7fa529d9803b150ffec1038c031db1dda63fd327ec0e4452d3
a6f74c6e2eabab97f049f0df75219e62dcfe29561ce5b3e36a10f3b9235ecf82
7113f3531359dc59549ea0d6dbf1b092d9bc0e98bd744622549b633b60988a5b
72b6391e5102612ece89c2656a178542ce60ce98734ee0aba40bc5ef649ceebe
8a8660aa9162ff0e7651fa11ce003f2ffa1b11e57a26163a5955f96118d69c5b
ac5ad05ec8e2fefdb21e0690a90e8bb8307215762cf52457757e8bad5d546662
52e8a8f03317c6642f3f2108bd8a81abcad641b9da599af16159e3619f228f5b
0ad05b3a76b50bb7bfd1a111f04c1354af424aa83345a3ea308ddb969c812f8b
4fab9b94d6b99369507970ddef43c2945e8058e8c950b6ffd8b1f3546aac680f
9ee89b73c4f6812d426caa7cbad86d2e5c11328ce1b9b775405c81f156798382
775a6b293da08b501cf754994c7708dd423a2d3848a22572e0e854ee34fcd178"