void-packages/srcpkgs/icecat-i18n/template

222 lines
8.3 KiB
Bash
Raw Normal View History

# Template file for 'icecat-i18n'
pkgname=icecat-i18n
version=31.8.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"'
'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"'
'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"'
'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"'
'vi "Vietnamese"'
'xh "Xhosa"'
'zh-CN "Chinese (Simplified)"'
'zh-TW "Chinese (Traditional)"'
)
depends="icecat>=${version}"
for _lang in "${_languages[@]}"; do
local _locale=${_lang%% *}
local _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="
75ad3b6f73afc0186046b042fdbea35962e0da5d621f308783b7cc4b6bab4797
3a142028e90b4d10ce2458753a3a1d22aaf540edc4dc3fec1fa8eb3daf8214c7
954346d995584eaed081f758ff310480662ea6baaa3a913867f2a2c3dcb82271
fae24a79b1a76379e651f14825ebf40a91c19712a8d267f5bd474650162877de
aeb33ce69aeeeb8b2d0058899bd074177bedbf765156c4d751185edad306b5a5
848078bd647911b7deda9bfad979a11cfc367fd1925e01851769afabb8c017ca
2b0401a81f61f1fd900536a38c30d9d7f2ee0a6709f58e9281e12e48b8bb20b3
6e926d054be858e15c313eb812dbe74c5a75aa3257ca693f255a0ee624bf6a01
e29fe7286beeeadced4bb644b748c638ad32f3f791d223aebaf83d0ac2a4abe2
825e577f63ee3423de172b4efd2b4d24c11398e2f4eaf20dc175a0b90eda22d6
2e7d5ce6e316eaa82506e221e27ba2b785772233011ba1dcc25ff5b693bde9dd
f44e2efa9e8314affd24e29f7f639368fe43e91458be0433dd1121b1dfbc27b1
45fab039d058256acd9b3c82fe6d506bd71919c17b3f7094e112b2d73d0faa93
72aea1b22dd86d09db2647a334c0619efb77774a17bed51f862b60a753ac2e65
52092eee647f47e2ccd7bdaf17fb0fdedce141e4419a45a09601e57a3bc1f4cf
027bfa25fbda15af04e5c2965b229ec42d4cb30e203108113aff3895cfcd2d60
214d9fbd76ce5e4bf247938761e52219ba6370ef23504467d35ee72ab27118d7
554386360ed78f128b8f9e5d781decdc22c43f0b2da2eca51a12017a9575e8c3
dd18c01825441d708a149456ceac5c2f86c9062cf210af1933e08147efd33b31
0d3e524694c23a723418e0b7befab737ed7549880d9c0582e0d68a5f650a0ce4
60f5d85b1b6036654b5e141c019e23073e49d95e117cd3e48a83c35a45e0bea5
6ec862fd24b66d0e1adb3afac2304f6fa3bb2d2ccf7ce98ed96908f7125cabd1
087d7c85e46825e459569d161646cce867e58accbbfe097cc3296084c29d7a69
60b86ff5c57c57aa941347278c7a52307241d50bac72f862f68a7b118b47d524
70d67287ac89a539af34e7e88e9fcae80b678e4a919d9dbc772d7711712de313
c405258d7fe875ebf8c9486cc7144863d2bc42f382b91a900e9be0a500f7092d
0358cabd6c25674981e0f1f564bbe7491bd8b47834703b1afdc9e52be8bf7c44
6f6d83d62c7e9b5135b0dd85e33fb0657a638009281e9932c88f1780dc67a24b
e9e781536b446ac6c801dfb00139d682be3f05f9c14280107fbbdffb4ccd942e
232b45bf6d9e6992e09a63f063249d9757705b9b3c51fe45606193856430f1f8
1d2fb1b81338ac6fc7a552ff809f587a8c5268c74b1c495e06e65be86045393d
8a564feec6669fe79d6cec92bb2f07b3e92ea0d718e58b5e40237e20c117057d
2aee274220f409b3210d42d955a9c00811a93513f2e1d9707d82f7a04472024c
4f3ef5b6250c579cf74ce7b441fb2cdbd1fc7c7946c87d0b07eaf453db48a693
bb5d3e3381e0339141f0c0bf57cd18d7b59da905412cc44d730a546ff6388928
bc8d1837532c4b5ca62d251113bffbb166cb3a6a8b9218bf168a9efe2234a760
31eb7b0305c50788a2a744d936d5644277d9dcb2c4bd7c4a25bbacf4165f73c3
b0274ad9951e13908b811c09048b48e96f1a0486044b8b6bc7f344d41a9d1112
bc79c39a5398fbfe82f530fc6542953787a457a442c3d3f1cd78657546d1911c
a6307333f1918be9c1985a25a768d533c2d9417088729d967842141afb83d08b
e1ffad47c5d8847c79443b2a5d8f5c373196c510ac8dcf76dd684c9816065c32
493fbd187a209090dda8b5cc64f91b34d97acd8588b3379e8c894f2584608f2d
f4b5a3099f7d507ef70f0537450ba4f0d1f383c9c7a99675606b914387e22c93
e310c7a68283a3160b705bac8c64f59257e3cf552d0755e1ebb2694d551912f8
0c141afaa0ede60336f97bcf1742e6419378d9f7b2cb8fee129c76e63da0556b
404626f0cf706db523426ea65e7cc2e101d25c859ba31b4faf23a5d191817156
1e0bcc373642b1d46c5003715d8f60d8984120eac276d9dffd25ba6720003c81
0b343af40d361ea6209a4399e6ead0b250126aec42bd3befad0e5dadf4d55ea9
e88473d92936c4b4c86988af32ea8ac2f6132ab1e9335920a6cc11b03bf728c1
460fe08777455232e020b699f0da51511e9b62575082cd2ddcf5b934fcd99c2e
6554814cdbb03287ec45b536eade128635f3c49fd0f7da60e5c5aa95e37ed391
ddd71a5a90525242eaec80ed426a4d2c7c1577cd7db2eb3edac07acb85b0a89c
7e9039fa356260ab2e2fbb5ae73f6503cb102f46ccd70c1922cca1ce495b0b94
45443c64b216b476d7fb9bd0a03aa4069718e93b093dd6cf0e3090b600704249
3da5559ec7f5ffaf7b9e8e1e62f234fc63916a6be35ca8d5efa7857332c2ab8f
79b54cb235fbf75380e2e8ca88ed2ac722974d111c543a55a7dfc74164c05866
97c1e100777099c38daae913d87c567554bac1494c588d478ec1fd03d37adde5
d7fbd96680a31480a70fc1fcfb7f84836dad45fa57ede24d2ad93df2e26e9bad
a9fc5ed350a417c38ecda39623502f2901a095377c3f8995a28dfe55ce21ab52
fdf75ce2838af444dc737508e5262fd8575579d5d73b0467408d1e0dfebdbf41
e2f03f67cde25c89d25ca5fa5c565a91f5ebbbe912642adc4edb955b1acc7849
81c4603836f13b294d309594e75eb1a017b3f4b39c7b683543a9056c47ef7ecf
78b47e87fb8d4f81f6d77b379d3cf6da5408123d37ad450653caf483320209e9
1d5797102d9610ec4faf05d6cfb7f05106286f172a44436cdbfcc4c4c7d90759
3a7caa3a58af708135c996603fa35a46b3f7d12a397bdda971963b8ee37f14af
1319e8db747e517af71c63f7e80b4ee55137c362f38477c30fb9bb3734a1e2c1
872f7d63725d21873d47364bfc8eea434182a886b63689edae8af575edb6b756
aa990edb911c633f09a73e797cff60d2a5bd3b227292cd6acb6b36f80e67721d
868a8497cfe0e4a1bee49a9cc02a2854b4f79c956d2aebf08265bd929a479045
e34ea94c89892b41493d3806cf9e689aa302dde4d0a8041041a14fd8137c0904
a152e417463079522db77332b3e54cede90cb737955e1ce3d507e2e6e36f0e6e
cc64e9b89996a1ef37d52d395601cc9d3320d5b121c3e839e98a2064b790802b
6b13d79a8b3e1b6b875359aa968bded50c2f6fb68eb6dbfb895900f8071ea732
0b8f105e853159e035dfd5eadceb822bdc33db403b57ea1bdc20f9705bf904ca
b417b141277402d55f32bc48b27911d08a381b7c68381dcd9de3ab3e80a10369
03dd96683701674675aa8f04d405607ed119ecfe5913f061b745961b1fcf4554
2ff0c924745f3f5298be7132c11b1d9c7507a4593e2e3d54610c9681a58728ef
a5b0fd320a65b7c58080d92e184c8ce33e3e706001f68045d09ff6051fd51f7f
695700e5485182d1dc56287245bf9815dafab8e8024b1c3147319ee8c42530a9
c2cd37e5669674ea3c2fed59a3d01f95f3fda7949e9edb680ee306383468e333
aa04cd1bc0adf08e35f6cb9f868f13f607bb9a0d4ce3300c40a5e5bfbfc87435
dedc2d4bd1ac97bbd4070024c1a4a061e914fae755fac8069881669cc46095e9
9f4b7a3f25849a5025fc36e351b75236304e08a45e33ba8eeee7cbe78fdaa7dc
0c6e1c92a4a5c9af8d97a5d99acb55b8ab4694f5acb996433cf202bb2c3b41e3
9ab0fc733e2ce5b965261ddc08364ca4d0dc96d47334a0db89e5763931193f9c
ac7ed07c661e21ddc39095da7b74bab6254031020bc42c30cd1dbca24242139d
"